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('请先上传凭证!');