From 70caa4fa4f547443440866cc7df9b31dc9a4920f Mon Sep 17 00:00:00 2001 From: "yang.huaxiang" Date: Tue, 22 Dec 2020 15:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E5=AF=8C=E4=BA=BA=E5=AF=BF=E9=99=84?= =?UTF-8?q?=E5=8A=A0=E4=BD=8F=E9=99=A2=E5=8C=BB=E7=96=97=E4=BF=9D=E9=99=A9?= =?UTF-8?q?(B=E6=AC=BE):=20=E4=BA=A7=E5=93=81=E4=B8=8A=E7=BA=BF=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=B0=83=E6=95=B4=20--=E6=8F=90=E4=BA=A4=E4=BA=BA?= =?UTF-8?q?=EF=BC=9A=E9=98=B3=E5=8D=8E=E7=A5=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 608a4ee95..5317bead9 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -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')) {