mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 06:56:44 +08:00
建议书添加 附加投保人豁免保险费定期寿险 附加险保额展示为NaN
This commit is contained in:
@@ -1279,8 +1279,28 @@ export default {
|
||||
}
|
||||
if (this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0001' || this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0007') {
|
||||
try {
|
||||
item.amt = mainRiskInfo.inputPrem.displayAmount * mainRiskInfo.inputPrem.moneyUnit
|
||||
item.defaultValue = mainRiskInfo.inputPrem.displayAmount * mainRiskInfo.inputPrem.moneyUnit
|
||||
if (mainRiskInfo.inputPrem.displayAmount && mainRiskInfo.inputPrem.moneyUnit) {
|
||||
item.amt = mainRiskInfo.inputPrem.displayAmount * mainRiskInfo.inputPrem.moneyUnit
|
||||
item.defaultValue = mainRiskInfo.inputPrem.displayAmount * mainRiskInfo.inputPrem.moneyUnit
|
||||
} else {
|
||||
// 解决这个问题--建议书添加 附加豁免保险费重大疾病保险 不展示险种保费
|
||||
// inputPrem 这个里面的规则删除导致的
|
||||
let payEndYearVal01
|
||||
this.chooseProducts.map(item01 => {
|
||||
item01.calFactorLst.map(i => {
|
||||
if (i.code == 'payEndYear') {
|
||||
payEndYearVal01 = i.showContent
|
||||
}
|
||||
})
|
||||
})
|
||||
this.chooseProducts[0].productTrialYearDTOS.forEach((v, index) => {
|
||||
//因交费方式为一次性交清时,不会有豁免险,所以这里不判断一次性交清的情况
|
||||
if (payEndYearVal01 == v.yearWay + '年交') {
|
||||
item.amt = v.displayAmount * v.moneyUnit
|
||||
item.defaultValue = v.displayAmount * v.moneyUnit
|
||||
}
|
||||
})
|
||||
}
|
||||
} catch (e) {
|
||||
let trialList = JSON.parse(localStorage.trialList)
|
||||
item.defaultValue = trialList[0].prem
|
||||
|
||||
Reference in New Issue
Block a user