From 1da11a2fe6a94ebb7313005d60c7c009af3d2a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=AE=E4=BC=9F?= Date: Fri, 20 Dec 2019 09:12:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90IMP=E3=80=91=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BF=9D=E8=B4=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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({