diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 872bf17d3..b166c2ade 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -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({