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 currentEle.defaultDutyAmt = currentEle.minDutyAmt
console.log() console.log()
Dialog.alert({ Dialog.alert({
message: `输入不能超过${Number(currentEle.limit) * 10000}的倍数` message: localStorage.hint
}).then(() => { }).then(() => {
// on close // 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] // let currentEle = this.chooseProducts[this.productIndex].calFactorLst[this.calFactorIndex]
// currentEle.defaultValue = value // currentEle.defaultValue = value
console.log('进来几次') console.log('进来几次')
this.mult = value this.mult = value
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex] let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex]
if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) { if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
currentEle.defaultValue = currentEle.rules[productIndex].defaultValue
Dialog.alert({ Dialog.alert({
message: `输入不能超过${Number(currentEle.limit) * 10000}的倍数` message: localStorage.hint
}).then(() => { }).then(() => {
// on close currentEle.defaultValue = currentEle.rules[productIndex].defaultValue
// this.nextStepFlag = true
}) })
} else { } else {
this.mainRiskInfluenceAddRisk() this.mainRiskInfluenceAddRisk()