修复付款的付款方式
This commit is contained in:
@@ -657,7 +657,7 @@ const emptyForm = () => ({
|
|||||||
billType: '',
|
billType: '',
|
||||||
paymentRatio: null,
|
paymentRatio: null,
|
||||||
appliedAmount: 0,
|
appliedAmount: 0,
|
||||||
paymentMethod: 'bank_transfer',
|
paymentMethod: '',
|
||||||
billLedgerId: null,
|
billLedgerId: null,
|
||||||
billNo: '',
|
billNo: '',
|
||||||
receiptAccountId: null,
|
receiptAccountId: null,
|
||||||
@@ -1053,6 +1053,7 @@ export default {
|
|||||||
if (this.billPayment) await this.loadBillOptions('', data.billLedgerId);
|
if (this.billPayment) await this.loadBillOptions('', data.billLedgerId);
|
||||||
} else {
|
} else {
|
||||||
this.form = emptyForm();
|
this.form = emptyForm();
|
||||||
|
this.form.paymentMethod = this.paymentMethodOptions[0]?.value || '';
|
||||||
this.form.paymentType = this.initialAddPaymentType();
|
this.form.paymentType = this.initialAddPaymentType();
|
||||||
this.referenceRows = [];
|
this.referenceRows = [];
|
||||||
this.form.applyDate = this.$dayjs().format('YYYY-MM-DD');
|
this.form.applyDate = this.$dayjs().format('YYYY-MM-DD');
|
||||||
|
|||||||
Reference in New Issue
Block a user