From 9c815458a5477fe6dd6646427991b1750f167e17 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Fri, 28 Jun 2024 15:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=94=AF=E4=BB=98=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/invoicing/operation_in.vue | 2 +- .../supplier_manage/purchase_detail.vue | 36 +++++++++---------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/src/views/invoicing/operation_in.vue b/src/views/invoicing/operation_in.vue index 9bb2f8d..95b252a 100644 --- a/src/views/invoicing/operation_in.vue +++ b/src/views/invoicing/operation_in.vue @@ -83,7 +83,7 @@ diff --git a/src/views/invoicing/supplier_manage/purchase_detail.vue b/src/views/invoicing/supplier_manage/purchase_detail.vue index 33fc877..555d5be 100644 --- a/src/views/invoicing/supplier_manage/purchase_detail.vue +++ b/src/views/invoicing/supplier_manage/purchase_detail.vue @@ -92,7 +92,7 @@ @@ -104,7 +104,7 @@ @@ -138,13 +138,13 @@ - + @@ -210,7 +210,7 @@ export default { } ], montey: null, - payType:null, + payType: null, selectCount: 0, query: { type: '', @@ -226,7 +226,7 @@ export default { loading: false, list: [] }, - info: '' + info: '', } }, mounted() { @@ -238,24 +238,22 @@ export default { this.idinfo = id }, async sumbit() { - try { - const res = await paidAmount({ - id: this.idinfo, - paidAmount: this.montey, - payType:this.payType - }) + this.dialogTableVisible = false + try { + const res = await paidAmount({ + id: this.idinfo, + paidAmount: this.montey, + payType: this.payType + }) - this.$message({ type: 'success', message: '付款成功!' }); - setTimeout(() => { - this.dialogTableVisible = false + this.$message({ type: 'success', message: '付款成功!' }); this.montey = '' this.payType = '' this.getTableData() - }, 1500); - } catch (error) { - console.log(error); - } + } catch (error) { + console.log(error); + } }, async getTableData() { this.tableData.loading = true