mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 15:36:43 +08:00
修改添加续期标识逻辑
This commit is contained in:
@@ -1518,6 +1518,7 @@ export default {
|
|||||||
let [mainRiskCode, riskDTOLst] = ['', []]
|
let [mainRiskCode, riskDTOLst] = ['', []]
|
||||||
let rollInResult = '' //校验预计转入保费结果
|
let rollInResult = '' //校验预计转入保费结果
|
||||||
this.chooseProducts.forEach((item, index) => {
|
this.chooseProducts.forEach((item, index) => {
|
||||||
|
console.log(item)
|
||||||
if (localStorage.trialList != '') {
|
if (localStorage.trialList != '') {
|
||||||
if (item.isMainRisk == 0) {
|
if (item.isMainRisk == 0) {
|
||||||
mainRiskCode = item.productCode
|
mainRiskCode = item.productCode
|
||||||
@@ -1592,7 +1593,11 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!this.renewalShow(this.mainRiskCode)) {
|
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)
|
// console.log(riskItem)
|
||||||
@@ -1639,12 +1644,6 @@ export default {
|
|||||||
product.amt = trialProduct.amt
|
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)
|
console.dir(params)
|
||||||
resultData = await saveProposal(params)
|
resultData = await saveProposal(params)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user