提交更新提示语言

This commit is contained in:
皮伟
2019-12-06 19:48:58 +08:00
parent 44c30b061b
commit 3394e5822f
3 changed files with 11 additions and 10 deletions

View File

@@ -710,18 +710,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) {
// Dialog.alert({
// message: `输入必须为${Number(currentEle.limit) * currentEle.moneyUnit}的整数倍`
// }).then(() => {
// currentEle.defaultValue = currentEle.rules[productIndex].defaultValue
// this.nextStepFlag = true
// })
// } else {
if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
Dialog.alert({
message: localStorage.hint
}).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() {