把单据中文本框的keyup事件改为change事件

This commit is contained in:
季圣华
2023-01-27 17:31:31 +08:00
parent bfee389629
commit 3d0efac242
12 changed files with 35 additions and 35 deletions

View File

@@ -594,7 +594,7 @@ export const BillModalMixin = {
});
},
//改变优惠率
onKeyUpDiscount(e) {
onChangeDiscount(e) {
const value = e.target.value-0
let otherMoney = this.form.getFieldValue('otherMoney')?this.form.getFieldValue('otherMoney')-0:0
let deposit = this.form.getFieldValue('deposit')
@@ -612,7 +612,7 @@ export const BillModalMixin = {
});
},
//改变付款优惠
onKeyUpDiscountMoney(e) {
onChangeDiscountMoney(e) {
const value = e.target.value-0
let otherMoney = this.form.getFieldValue('otherMoney')?this.form.getFieldValue('otherMoney')-0:0
let deposit = this.form.getFieldValue('deposit')
@@ -630,7 +630,7 @@ export const BillModalMixin = {
});
},
//其它费用
onKeyUpOtherMoney(e) {
onChangeOtherMoney(e) {
const value = e.target.value-0
let discountLastMoney = this.form.getFieldValue('discountLastMoney')-0
let deposit = this.form.getFieldValue('deposit')
@@ -643,7 +643,7 @@ export const BillModalMixin = {
});
},
//改变扣除订金
onKeyUpDeposit(e){
onChangeDeposit(e){
const value = e.target.value-0
let discountLastMoney = this.form.getFieldValue('discountLastMoney')-0
let otherMoney = this.form.getFieldValue('otherMoney')?this.form.getFieldValue('otherMoney')-0:0
@@ -656,7 +656,7 @@ export const BillModalMixin = {
});
},
//改变本次付款
onKeyUpChangeAmount(e) {
onChangeChangeAmount(e) {
const value = e.target.value-0
let discountLastMoney = this.form.getFieldValue('discountLastMoney')-0
let otherMoney = this.form.getFieldValue('otherMoney')?this.form.getFieldValue('otherMoney')-0:0