From 2c8182be2a3b6e2e4bcd8dd63a1a0d437b5c6606 Mon Sep 17 00:00:00 2001 From: JiilingLee <462362@qq.com> Date: Thu, 2 Nov 2023 13:26:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=AD=E8=AF=81=E9=99=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/accounting/attachment/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/accounting/attachment/index.vue b/src/views/accounting/attachment/index.vue index 60c82c64..f293ab56 100644 --- a/src/views/accounting/attachment/index.vue +++ b/src/views/accounting/attachment/index.vue @@ -253,7 +253,6 @@ export default { title: "", // 是否显示弹出层 open: false, - fileList: [], // 查询参数 queryParams: { pageNo: 1, @@ -408,6 +407,7 @@ export default { }, //凭证选择 handleSelectVoucher(val) { + this.$refs.VoucherSelect.showFlag = true; this.form.voucherId = val.id; this.form.voucherNum = val.voucherNum; }, @@ -466,13 +466,11 @@ export default { }) .catch(() => {}); }, - handleSelectVoucher() { - this.$refs.VoucherSelect.showFlag = true; - }, onVoucherSelected(obj) { console.log(obj); if (obj != undefined && obj != null) { this.form.voucherNum = obj.voucherNum; + this.form.voucherId = obj.id; } }, },