mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 21:36:43 +08:00
修改添加续期标识逻辑
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user