bug修改
This commit is contained in:
@@ -80,7 +80,7 @@ export default {
|
|||||||
this.model = Object.assign({}, record)
|
this.model = Object.assign({}, record)
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form.setFieldsValue(pick(this.model, 'name', 'remark'))
|
this.form.setFieldsValue(pick(this.model, 'name', 'remarks'))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
|
|||||||
@@ -275,7 +275,7 @@ export default {
|
|||||||
e.target.value = (e.target.value.replace(/[^0-9.]/g, '')).trim()
|
e.target.value = (e.target.value.replace(/[^0-9.]/g, '')).trim()
|
||||||
this.inputInvoicingAmount = Number(e.target.value)
|
this.inputInvoicingAmount = Number(e.target.value)
|
||||||
if (this.inputInvoicingAmount > this.sumAmountOwed) {
|
if (this.inputInvoicingAmount > this.sumAmountOwed) {
|
||||||
this.$message.warn('开票金额大于当前欠未开票金额,输入有误!')
|
this.$message.warn('开票金额大于当前未开票金额,输入有误!')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.clearThisTimeAmount()
|
this.clearThisTimeAmount()
|
||||||
@@ -337,7 +337,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleOk() {
|
handleOk() {
|
||||||
if (this.inputInvoicingAmount > this.sumAmountOwed) {
|
if (this.inputInvoicingAmount > this.sumAmountOwed) {
|
||||||
this.$message.warn('开票金额大于当前欠未开票金额,输入有误!')
|
this.$message.warn('开票金额大于当前未开票金额,输入有误!')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.confirmLoading) {
|
if (this.confirmLoading) {
|
||||||
|
|||||||
Reference in New Issue
Block a user