【IMP】修改保费问题

This commit is contained in:
皮伟
2019-12-20 09:12:26 +08:00
parent 7e1ca89fa3
commit 1da11a2fe6

View File

@@ -209,10 +209,8 @@ export default {
}
if(item.mainRiskCode != 'GFRS_M0008') {
item.calFactorLst.map(i => {
if (i.defaultValue) {
this.defalutAmt = i.defaultValue
this.mult = Number(i.defaultValue)/Number(i.defaultValue)
}
this.defalutAmt = i.defaultValue
this.mult = Number(i.defaultValue) / Number(i.defaultValue)
})
}
})
@@ -727,11 +725,11 @@ export default {
})
},
//保额份数变化
stepperChange(value,defalutValue, productIndex, calFactorIndex) {
stepperChange( value, defalutValue, productIndex, calFactorIndex ) {
// let currentEle = this.chooseProducts[this.productIndex].calFactorLst[this.calFactorIndex]
// currentEle.defaultValue = value
console.log('进来几次')
this.mult = Number(value)/Number(defalutValue)
this.mult = Number(value) / Number(defalutValue)
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex]
if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
Dialog.alert({