bug修改

This commit is contained in:
zhaoxiao
2021-10-15 14:18:36 +08:00
parent 0da1e04aff
commit 2fdcba6b72
12 changed files with 55 additions and 30 deletions
@@ -275,7 +275,7 @@ export default {
e.target.value = (e.target.value.replace(/[^0-9.]/g, '')).trim()
this.inputInvoicingAmount = Number(e.target.value)
if (this.inputInvoicingAmount > this.sumAmountOwed) {
this.$message.warn('开票金额大于未开票金额,请修改')
this.$message.warn('开票金额大于当前欠未开票金额,输入有误!')
return
}
this.clearThisTimeAmount()
@@ -336,6 +336,10 @@ export default {
})
},
handleOk() {
if (this.inputInvoicingAmount > this.sumAmountOwed) {
this.$message.warn('开票金额大于当前欠未开票金额,输入有误!')
return
}
if (this.confirmLoading) {
return
}