From 2bfb79f445e3d84a0a17fcc1a2850010ec39b82a Mon Sep 17 00:00:00 2001 From: mengxiaolong Date: Fri, 25 Sep 2020 16:58:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0=E7=BB=AD?= =?UTF-8?q?=E6=9C=9F=E6=A0=87=E8=AF=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 6a2f7a442..e59c07608 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -1518,6 +1518,7 @@ export default { let [mainRiskCode, riskDTOLst] = ['', []] let rollInResult = '' //校验预计转入保费结果 this.chooseProducts.forEach((item, index) => { + console.log(item) if (localStorage.trialList != '') { if (item.isMainRisk == 0) { mainRiskCode = item.productCode @@ -1592,7 +1593,11 @@ export default { } if (!this.renewalShow(this.mainRiskCode)) { - this.trialInfos[index].isRenewal = this.renewal + for (let prop of item.calFactorLst) { + if (prop.type === '4') { + this.trialInfos[index].isRenewal = this.renewal + } + } } // console.log(riskItem) @@ -1639,12 +1644,6 @@ export default { product.amt = trialProduct.amt } } - params.orderDTO.insuredDTOs[0].riskDTOLst.map(item => { - if (!this.renewalShow(this.mainRiskCode)) { - item.isRenewal = this.renewal - return item - } - }) console.dir(params) resultData = await saveProposal(params) } else {