From 4d5e804b055e765cd5fb64c7d89356ca74d05d20 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GMUNQ1B\\k" <1154079537@qq.com> Date: Wed, 20 Mar 2024 10:48:25 +0800 Subject: [PATCH] 1 --- src/views/order/list/index.vue | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/views/order/list/index.vue b/src/views/order/list/index.vue index 221704d..db60d75 100644 --- a/src/views/order/list/index.vue +++ b/src/views/order/list/index.vue @@ -171,10 +171,10 @@ - + + + + + @@ -379,13 +390,12 @@ export default { // 上传凭证 uploadVoucher(data) { - this.voucherInfo.id = data.order_id; + this.voucherInfo.id = data.group_order_id; this.voucherInfo.order_sn = data.order_sn; this.dialogVoucher = true; }, async uploadVoucherImage(options) { - console.log('上传', options); const file = options.file; const formData = new FormData(); formData.append('file', file); @@ -396,6 +406,7 @@ export default { this.$message.error(e); }) }, + // 上传 addVoucher() { if (!this.voucherInfo.image) return this.$message.error('请先上传凭证!');