From e425812229ba4f464475cac1fc6c30cd974f2c52 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期一, 15 九月 2025 11:12:09 +0800
Subject: [PATCH] 解决订单查看详情问题

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

diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue
index 28bf76a..161680c 100644
--- a/manager/src/views/order/order/orderDetail.vue
+++ b/manager/src/views/order/order/orderDetail.vue
@@ -716,7 +716,7 @@
       console.log("to:",to.fullPath)
       console.log("form:",from.fullPath)
       // 姝g‘鎵撳嵃璺敱瀵硅薄鐨勬柟娉�
-      if(from.fullPath === "/orderList" && to.fullPath.includes("/order-detail")){
+      if((from.fullPath === "/orderList"|| from.fullPath === "/fictitiousOrderList" ||from.fullPath === "/orderStatistics") && to.fullPath.includes("/order-detail")){
         this.sn = this.$route.query.sn;
         this.getDataList();
         this.getOrderPackage();
@@ -803,6 +803,7 @@
     // 鑾峰彇璁㈠崟璇︽儏
     getDataList () {
       this.loading = true;
+      console.log("鎵ц鑾峰彇璁㈠崟淇℃伅鎿嶄綔")
       API_Order.orderDetail(this.sn).then((res) => {
         this.loading = false;
         if (res.success) {

--
Gitblit v1.8.0