From 0cc30edd2853e6ffce10ed6a0e91e0dcc75891eb Mon Sep 17 00:00:00 2001 From: liyuetong Date: Thu, 30 Sep 2021 17:50:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E6=8A=95=E4=BF=9D=E4=BA=BA=E8=B1=81?= =?UTF-8?q?=E5=85=8D=E9=99=A9=E5=8A=A0=E4=B8=A4=E5=85=A8=EF=BC=88=E6=9C=89?= =?UTF-8?q?=E9=95=BF=E9=99=A9=E9=99=84=E5=8A=A0=E9=99=A9=E6=97=B6=EF=BC=89?= =?UTF-8?q?=EF=BC=8C=E7=AC=AC=E4=BA=8C=E6=AC=BE=E8=B4=A3=E4=BB=BB=E4=B8=8D?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 96094346b..bb99e3fa9 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -1473,7 +1473,7 @@ export default { this.chooseProducts.forEach((item, index) => { if (item.productCode == 'GFRS_A0010' || item.productCode == 'GFRS_A0009') { //(投保人)国富人寿附加豁免保险费重大疾病保险(B款) - // 投被不同人:投保人豁免险单独搭配主险时,投保人豁免险,豁免主险保费,当投保人豁免险加两全时,豁免主险保费加两全保费 + // 投被不同人:投保人豁免险单独搭配主险时,投保人豁免险,豁免主险保费,当投保人豁免险加两全(有长险附加险时),豁免主险保费加两全保费 if (item.productCode == 'GFRS_A0009') { if (this.saleInsuredPersonInfo.relationToAppnt != 1) { //不同人 @@ -1484,16 +1484,22 @@ export default { showPrem = Number(that.trialList[0].showPrem) } } + item.calFactorLst.map((item2) => { + if (item2.code == 'dutyGroup') { + item2.rules.map((item3) => { + item3.defaultDutyAmt = (showPrem / 10000).toFixed(6) + }) + } + }) } else if (item.productCode == 'GFRS_A0010') { //(被保险人)国富人寿附加豁免保险费重大疾病保险(B款)GFRS_A0010 - //投被同人,不同人:被保人豁免险搭配两全时,可选责任为必选,豁免两全保费 + //投被同人,不同人:被保人豁免险搭配两全(有长险附加险时)时,可选责任为必选,豁免两全保费 if (showPrem001) { showPrem = Number(showPrem001) }else{ showPrem = Number(that.trialList[0].showPrem) } - } - item.calFactorLst.map((item2) => { + item.calFactorLst.map((item2) => { if (item2.code == 'dutyGroup') { item2.rules.map((item3) => { item3.defaultDutyAmt = (showPrem / 10000).toFixed(6) @@ -1502,6 +1508,7 @@ export default { }) } }) + } } }) }