保费是算逻辑更改

This commit is contained in:
皮伟
2019-12-10 15:35:56 +08:00
parent fafa5cec74
commit acf5f817ea

View File

@@ -78,7 +78,7 @@
dutyItem.maxDutyAmt
)
"
input-width="100"
input-width="200"
:integer="false"
/>
<van-checkbox
@@ -248,6 +248,20 @@ export default {
item.amt = Number(item.minDutyAmt) * Number(item.moneyUnit)
})
}
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex].rules[dutyItemIndex]
if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
currentEle.defaultDutyAmt = currentEle.minDutyAmt
console.log()
Dialog.alert({
message: `输入不能超过${Number(currentEle.limit) * 10000}的倍数`
}).then(() => {
// on close
})
} else {
this.mainRiskInfluenceAddRisk()
// currentEle['amt'] = Number(currentEle.defaultValue) * Number(currentEle.moneyUnit)
this.getTrial()
}
},
//弹框选择
toSelect(index, index1, columns) {