mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 01:36:43 +08:00
国富人寿附加住院医疗保险(B款): 产品上线代码调整 --提交人:阳华祥
This commit is contained in:
@@ -340,17 +340,17 @@ const dutyGFRS_A0004Rules = {
|
||||
}
|
||||
}
|
||||
const dutyGFRS_A0008Rules = {
|
||||
320205: {
|
||||
320404: {
|
||||
mainRisk: 'GFRS_M0005',
|
||||
otmainRisk: 'GFRS_M0031',
|
||||
msg: '住院医疗提示:金额只能是0.5、1、1.5、2',
|
||||
msg_1: '附加到国富人寿国富民惠医疗保险(2020版)最高基本保额不超过1万元。',
|
||||
msg_2: '住院医疗提示:金额只能是0.5、1'
|
||||
},
|
||||
320206: {
|
||||
320405: {
|
||||
msg: '住院津贴提示:投保可选责任时,可选责任最低投保 50 元,且应为 10 元的整数倍'
|
||||
},
|
||||
320207: {
|
||||
320406: {
|
||||
msg: '恶性肿瘤提示:投保可选责任时,可选责任最低投保 50 元,且应为 10 元的整数倍'
|
||||
}
|
||||
}
|
||||
@@ -471,7 +471,7 @@ export default {
|
||||
})
|
||||
if (this.mainRiskCode == 'GFRS_M0005') {
|
||||
this.chooseProducts.map(item => {
|
||||
if (item.productCode == 'GFRS_A0004' || item.productCode == 'GFRS_A0008') {
|
||||
if (item.productCode == 'GFRS_A0004') {
|
||||
item.calFactorLst.map(item2 => {
|
||||
if (item2.code == 'dutyGroup') {
|
||||
item2.rules.map(item3 => {
|
||||
@@ -484,13 +484,13 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
if (this.mainRiskCode == 'GFRS_M0031') {
|
||||
if (this.mainRiskCode == 'GFRS_M0031' || this.mainRiskCode == 'GFRS_M0005') {
|
||||
this.chooseProducts.map(item => {
|
||||
if ( item.productCode == 'GFRS_A0008') {
|
||||
item.calFactorLst.map(item2 => {
|
||||
if (item2.code == 'dutyGroup') {
|
||||
item2.rules.map(item3 => {
|
||||
if (item3.duty == '320205') {
|
||||
if (item3.duty == '320404') {
|
||||
item3.maxDutyAmt = '1'
|
||||
}
|
||||
})
|
||||
@@ -847,7 +847,7 @@ export default {
|
||||
//验证不通过 险种为GFRS_A0004 责任编码为320205
|
||||
return
|
||||
} else if (validateRiskCode === 'GFRS_A0008' && !this.valiA0008Duty(inputValue, showHint, dutyItem)) {
|
||||
//验证不通过 险种为GFRS_A0008 责任编码为320205
|
||||
//验证不通过 险种为GFRS_A0008 责任编码为320404
|
||||
return
|
||||
} else {
|
||||
this.mainRiskInfluenceAddRisk()
|
||||
@@ -933,7 +933,7 @@ export default {
|
||||
return true
|
||||
}*/
|
||||
// 验证其他 最小50 其他为50 10 倍数
|
||||
if (currentEle.duty == '320206' || currentEle.duty == '320207') {
|
||||
if (currentEle.duty == '320405' || currentEle.duty == '320406') {
|
||||
let numberValue = Number(value) * 10000
|
||||
if (numberValue % 10 != 0 || numberValue < 50) {
|
||||
this.$toast(dutyGFRS_A0008Rules[currentEle.duty].msg)
|
||||
@@ -943,7 +943,7 @@ export default {
|
||||
}
|
||||
|
||||
// 保额只能为5000 10000 15000 200000
|
||||
if (currentEle.duty == '320205') {
|
||||
if (currentEle.duty == '320404') {
|
||||
if (this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['mainRisk']
|
||||
|| this.mainRiskCode === dutyGFRS_A0008Rules[currentEle.duty]['otmainRisk']) {
|
||||
if (!(value == '0.5' || value == '1')) {
|
||||
|
||||
Reference in New Issue
Block a user