【fix】 修复 在选择附加险后,份数传递为NaN

This commit is contained in:
tian.guangyuan
2020-04-26 14:41:30 +08:00
parent cbdfa7000f
commit 591a1d86d9

View File

@@ -416,7 +416,9 @@ export default {
if (item.mainRiskCode != 'GFRS_M0008') { if (item.mainRiskCode != 'GFRS_M0008') {
item.calFactorLst.map(i => { item.calFactorLst.map(i => {
// this.defalutAmt = i.displayAmount || 1 // this.defalutAmt = i.displayAmount || 1
if(i.code == 'inputPrem'){
this.mult = Math.ceil(Number(i.displayAmount) / Number(i.defaultValue)) this.mult = Math.ceil(Number(i.displayAmount) / Number(i.defaultValue))
}
}) })
} }
// if (item.productCode == 'GFRS_A0003') { // if (item.productCode == 'GFRS_A0003') {