[FIX]保费试算-保额份数mult字段传给后台数值错误bug修复

This commit is contained in:
yuweiqi
2020-02-15 16:28:49 +08:00
parent 2196c430da
commit 371b1e4534

View File

@@ -314,9 +314,7 @@ export default {
if (item.mainRiskCode != 'GFRS_M0008') {
item.calFactorLst.map(i => {
// this.defalutAmt = i.displayAmount || 1
// console.log('i.displayAmount ==', i.displayAmount)
// console.log('i.defaultValue ==', i.defaultValue)
this.mult = Number(i.displayAmount) / Number(i.defaultValue)
this.mult = Math.ceil(Number(i.displayAmount) / Number(i.defaultValue))
})
}
})
@@ -952,7 +950,7 @@ export default {
// let currentEle = this.chooseProducts[this.productIndex].calFactorLst[this.calFactorIndex]
// defalutValue = value
console.log('进来几次')
this.mult = Number(defalutValue) / Number(defalutValue)
this.mult = Math.ceil(Number(defalutValue) / Number(riskFactor.defaultValue))
},
//下一步
async nextStep() {