From 41e944c48bc66113140ff0ffbd61ccbdf04245fc Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期四, 18 九月 2025 14:40:42 +0800
Subject: [PATCH] 订单详情支持显示退款状态和退货信息

---
 manager/src/views/order/order/orderDetail.vue |   41 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 40 insertions(+), 1 deletions(-)

diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue
index 161680c..3c580c8 100644
--- a/manager/src/views/order/order/orderDetail.vue
+++ b/manager/src/views/order/order/orderDetail.vue
@@ -677,6 +677,45 @@
           minWidth: 80,
         },
         {
+          title: "閫�娆剧姸鎬�",
+          key: "isRefund",
+          minWidth: 100,
+          render:(h, params) => {
+            if(params.row.isRefund==='NO_REFUND'){
+              return h(
+                "div",
+                "鏈��娆�"
+              );
+            }else if(params.row.isRefund==='ALL_REFUND'){
+              return h(
+                "div",
+                { style: {color:"red"} },
+                "鍏ㄩ儴閫�娆�"
+              );
+            }else if(params.row.isRefund==='PART_REFUND'){
+              return h(
+                "div",
+                { style: {color:"red"} },
+                "閮ㄥ垎閫�娆�"
+              );
+            }else if(params.row.isRefund==='REFUNDING'){
+              return h(
+                "div",
+                { style: {color:"red"} },
+                "閫�娆句腑"
+              );
+            }
+            else {
+              return h(
+                "div",
+                { style: {color:"red"} },
+                "鏈煡鐘舵��"
+              );
+            }
+
+          }
+        },
+        {
           title: "灏忚",
           key: "subTotal",
           minWidth: 100,
@@ -716,7 +755,7 @@
       console.log("to:",to.fullPath)
       console.log("form:",from.fullPath)
       // 姝g‘鎵撳嵃璺敱瀵硅薄鐨勬柟娉�
-      if((from.fullPath === "/orderList"|| from.fullPath === "/fictitiousOrderList" ||from.fullPath === "/orderStatistics") && to.fullPath.includes("/order-detail")){
+      if((from.fullPath === "/orderList"|| from.fullPath === "/fictitiousOrderList" ||from.fullPath === "/orderStatistics"||from.fullPath.includes( "/member-detail")) && to.fullPath.includes("/order-detail")){
         this.sn = this.$route.query.sn;
         this.getDataList();
         this.getOrderPackage();

--
Gitblit v1.8.0