Merge branch 'dev_1220' into dev

This commit is contained in:
皮伟
2019-12-17 17:27:38 +08:00

View File

@@ -256,7 +256,7 @@ export default {
currentEle.defaultDutyAmt = currentEle.minDutyAmt
console.log()
Dialog.alert({
message: `输入不能超过${Number(currentEle.limit) * 10000}的倍数`
message: localStorage.hint
}).then(() => {
// on close
})
@@ -722,18 +722,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('进来几次')
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()