From 87a50fa476da830d478052901413f5cb4528dce7 Mon Sep 17 00:00:00 2001 From: TianYu <332368756@qq.com> Date: Fri, 19 May 2023 19:03:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/api/shop/rechargeOrder.js | 8 +++ .../src/views/shop/rechargeOrder/index.vue | 57 ++++++++++++++----- 2 files changed, 52 insertions(+), 13 deletions(-) diff --git a/yudao-ui-admin/src/api/shop/rechargeOrder.js b/yudao-ui-admin/src/api/shop/rechargeOrder.js index 6f9dbf5a1..7015f2f8e 100644 --- a/yudao-ui-admin/src/api/shop/rechargeOrder.js +++ b/yudao-ui-admin/src/api/shop/rechargeOrder.js @@ -34,6 +34,14 @@ export function getRechargeOrder(id) { }) } +// 发起退款 +export function refundRechargeOrder(data) { + return request({ + url: '/shop/recharge-order/memberRefund', + method: 'post' + }) +} + // 获得订单分页 export function getRechargeOrderPage(query) { return request({ diff --git a/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue b/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue index d8b780abb..d862c45a2 100644 --- a/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue +++ b/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue @@ -62,13 +62,30 @@ - + + + + + + + 发起退款 - 同意退款 @@ -81,7 +98,15 @@