From d33046db437657cf179fed27659f316e84dd547d Mon Sep 17 00:00:00 2001 From: mengxiaolong Date: Fri, 18 Dec 2020 16:57:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=84=E5=8A=A0=E8=B1=81=E5=85=8D=E5=AE=9A?= =?UTF-8?q?=E5=AF=BFB+=E6=B0=91=E9=91=AB=E5=B9=B4=E9=87=91=E3=80=81?= =?UTF-8?q?=E7=91=9E=E5=88=A9=E5=B9=B4=E9=87=91=E3=80=81=E9=91=AB=E4=BA=AB?= =?UTF-8?q?=E5=B9=B4=E9=87=91=E3=80=81=E7=A8=B3=E8=B5=A2=E4=B8=A4=E5=85=A8?= =?UTF-8?q?=E4=BF=9D=E9=99=A9:=20=E9=99=84=E5=8A=A0=E9=99=A9=E4=BF=9D?= =?UTF-8?q?=E9=A2=9D=E5=8F=96=E4=B8=BB=E9=99=A9=E4=BF=9D=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index d9779c1b8..30a445eae 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -606,7 +606,9 @@ export default { const orderNo = localStorage.getItem('orderNo') let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo }) this.chooseProducts.map(item => { - if (!(item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0005')) { + if ( + !(item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0008' || item.productCode === 'GFRS_A0005') + ) { //其他产品删掉两个字段 let calFactorLst = item.calFactorLst for (let i = calFactorLst.length - 1; i >= 0; i--) { @@ -1631,6 +1633,21 @@ export default { return } + // 附加豁免定寿B+民鑫年金、瑞利年金、鑫享年金、稳赢两全保险: 附加险保额取主险保费 + let mainPrd = riskDTOLst[0] + let prdCodes = ['GFRS_M0002', 'GFRS_M0004', 'GFRS_M0011', 'GFRS_M0033'] + const exist = prdCodes.find(code => { + return code === mainPrd.productCode + }) + if (exist) { + const addPrd = riskDTOLst.find(item => { + return item.productCode === 'GFRS_A0007' + }) + if (addPrd) { + addPrd.amt = mainPrd.prem + } + } + //国富人寿桂企保重大疾病保险产品专写 this.trialInfos.map((v, i) => { if (v.productCode == 'GFRS_M0024') {