bug修改
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user