diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 52b397d7f..1082da518 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -29,8 +29,7 @@ v-model="item.calFactorLst[riskFactorIndex].defaultValue" :min="riskFactor.minAmt || riskFactor.minPrem" :max="riskFactor.maxAmt || riskFactor.maxPrem" - :show-plus="false" - :show-minus="false" + class="ml10" @change="stepperChange(item.calFactorLst[riskFactorIndex].defaultValue, index, riskFactorIndex)" input-width="100" @@ -62,8 +61,7 @@ v-model="dutyItem.defaultDutyAmt" :min="dutyItem.minDutyAmt" :max="dutyItem.maxDutyAmt" - :show-plus="false" - :show-minus="false" + class="ml10 mr10" @focus="focusStep" @blur="blurStep" @@ -379,7 +377,6 @@ export default { this.chooseProducts.forEach((item, index) => { if (this.influenceAddRiskCodes.includes(item.productCode)) { let influences = this.getInfluencesItem(item.productCode) - let mainAddRelation = influences.amtInfluence[0].mainAddRelation let amtTimes = influences.amtInfluence[0].amtTimes let mainRiskAmt = this.getMainRiskAmt() @@ -711,19 +708,18 @@ export default { console.log(value) 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}的倍数` - }).then(() => { - // on close - }) - } else { + // if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) { + // Dialog.alert({ + // message: `输入必须为${Number(currentEle.limit) * currentEle.moneyUnit}的整数倍` + // }).then(() => { + // currentEle.defaultValue = currentEle.rules[productIndex].defaultValue + // this.nextStepFlag = true + // }) + // } else { this.mainRiskInfluenceAddRisk() currentEle['amt'] = Number(currentEle.defaultValue) * Number(currentEle.moneyUnit) this.getTrial() - } - + // } }, //下一步 async nextStep() {