From ddef423fdf3c372bec303319f2deb4b4c7592f4d Mon Sep 17 00:00:00 2001 From: Seven Date: Tue, 20 Jan 2026 04:10:22 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=8F=90=E7=8E=B0?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E4=B8=AD=E4=BD=BF=E7=94=A8=E7=9A=84=E8=AE=A2?= =?UTF-8?q?=E5=8D=95ID=EF=BC=8C=E7=A1=AE=E4=BF=9D=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E5=A4=84=E7=90=86=E5=AE=A1=E6=89=B9=E5=92=8C=E6=8B=92=E7=BB=9D?= =?UTF-8?q?=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/withdraw/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/withdraw/index.vue b/src/views/withdraw/index.vue index e6c676c..f8026db 100644 --- a/src/views/withdraw/index.vue +++ b/src/views/withdraw/index.vue @@ -83,7 +83,7 @@ const columns: TableBaseColumns = [ negativeText: '取消', onPositiveClick: async () => { await safeClient(() => - client.api.admin.withdraw({ orderId: row.orderNo }).approve.post({ + client.api.admin.withdraw({ orderId: row.id }).approve.post({ reviewNote: `管理员通过于 ${dayjs().format('YYYY-MM-DD HH:mm:ss')}` }) ); @@ -108,7 +108,7 @@ const columns: TableBaseColumns = [ negativeText: '取消', onPositiveClick: async () => { await safeClient(() => - client.api.admin.withdraw({ orderId: row.orderNo }).reject.post({ + client.api.admin.withdraw({ orderId: row.id }).reject.post({ rejectReason: `管理员拒绝于 ${dayjs().format('YYYY-MM-DD HH:mm:ss')}` }) ); @@ -132,7 +132,7 @@ const columns: TableBaseColumns = [ positiveText: '确认已打款', negativeText: '取消', onPositiveClick: async () => { - await safeClient(() => client.api.admin.withdraw({ orderId: row.orderNo }).paid.post()); + await safeClient(() => client.api.admin.withdraw({ orderId: row.id }).paid.post()); window.$message?.success('操作成功'); tableInst.value?.reload(); }