diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 9f9602cc7..c6323e924 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -253,7 +253,7 @@ export default { currentEle.defaultDutyAmt = currentEle.minDutyAmt console.log() Dialog.alert({ - message: `输入不能超过${Number(currentEle.limit) * 10000}的倍数` + message: localStorage.hint }).then(() => { // on close }) @@ -719,18 +719,18 @@ export default { }) }, //保额份数变化 - stepperChange(value, productIndex, calFactorIndex) { + stepperChange(value, productIndex, calFactorIndex) { // let currentEle = this.chooseProducts[this.productIndex].calFactorLst[this.calFactorIndex] // currentEle.defaultValue = value - console.log(value) + console.log('进来几次') this.mult = value let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex] if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) { - currentEle.defaultValue = currentEle.rules[productIndex].defaultValue Dialog.alert({ - message: `输入不能超过${Number(currentEle.limit) * 10000}的倍数` + message: localStorage.hint }).then(() => { - // on close + currentEle.defaultValue = currentEle.rules[productIndex].defaultValue + // this.nextStepFlag = true }) } else { this.mainRiskInfluenceAddRisk() diff --git a/src/views/ebiz/common/MainRiskList.vue b/src/views/ebiz/common/MainRiskList.vue index d19bebe3f..ff228dcf7 100644 --- a/src/views/ebiz/common/MainRiskList.vue +++ b/src/views/ebiz/common/MainRiskList.vue @@ -97,6 +97,7 @@ export default { let resultData = await calculatePremium({ productCodes: [riskProductCode], platform: 'app', type: '1' }) if (resultData.result == 0) { resultData = resultData.trialDTOS[0] + localStorage.hint = resultData.hint if (resultData.productTrialInfoDTO.dutyGroup != null) { resultData.productTrialInfoDTO.dutyGroup.map(item => { if (item.dutyName == '意外身故/伤残保险金') {