GFRS_A0009,GFRS_A0010 这两款时,责任保额不相加

This commit is contained in:
liyuetong
2021-10-18 14:01:59 +08:00
parent 4914657649
commit 4db546feb4
2 changed files with 36 additions and 24 deletions

View File

@@ -2243,11 +2243,15 @@ export default {
} else {
rollInResult = true
}
console.log(this.trialList,'this.trialList')
console.log(this.trialList[index],'this.trialList[index]')
console.log(this.trialList[index].amt,'this.trialList[index].amt')
//责任险保存参数构建
if (this.trialList[index].duty) {
riskItem['dutyLst'] = this.trialList[index].duty
//930折中方案责任险分档
riskItem['amt'] = this.trialList[index].amt
} else {
//国富人寿桂企保重大疾病保险产品专写
if (
@@ -2261,9 +2265,10 @@ export default {
}
}
//保费算保额
if (this.trialList[index].trialType == '1' || this.trialList[index].trialType == '2') {
riskItem['amt'] = this.trialList[index].amt
}
// if (this.trialList[index].trialType == '1' || this.trialList[index].trialType == '2') {
// riskItem['amt'] = this.trialList[index].amt
// }
//万能型产品保费赋值给保额
//增加判断是否是从建议书跳转过来了的
if (localStorage.isFrom != 'proposal') {
@@ -2284,9 +2289,15 @@ export default {
this.trialInfos[index].amt = this.trialList[0].standPrem
}
if (item.productCode == 'GFRS_A0003' || item.productCode == 'GFRS_A0009'|| item.productCode == 'GFRS_A0010'|| item.productCode == 'GFRS_A0007') {
if (item.productCode == 'GFRS_A0003' || item.productCode == 'GFRS_A0007') {
// bug--鑫享年年+附加豁免投保人定寿B+附加豁免投保人重疾B投保单号8186270000016187
// ①豁免重疾B的保额应该等于主险的保费该单的豁免重疾B的保额等于主险的保额不正确。
this.trialInfos[index].amt = this.trialList[index].amt
}
// GFRS_A0009,GFRS_A0010 这两款时,责任保额不相加
if(item.productCode == 'GFRS_A0009' || item.productCode == 'GFRS_A0010'){
this.trialInfos[index].amt = this.trialList[index].duty[0].amt
}
// GFRS_A0011-附加两全 属于非豁免险 但附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费
if (item.productCode == 'GFRS_A0011') {
this.trialInfos[index].amt = this.trialList[0].prem