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 {