From f3cec0341563c2c0dd4f5df609d0689c6c450bfc Mon Sep 17 00:00:00 2001
From: ZN <zhang_12370@163.com>
Date: 星期六, 21 三月 2026 17:11:12 +0800
Subject: [PATCH] feat(采购退货): 增加退货详情查看功能并完善退货流程

---
 src/views/personnelManagement/classsSheduling/index.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/personnelManagement/classsSheduling/index.vue b/src/views/personnelManagement/classsSheduling/index.vue
index e932f50..5c0169b 100644
--- a/src/views/personnelManagement/classsSheduling/index.vue
+++ b/src/views/personnelManagement/classsSheduling/index.vue
@@ -674,10 +674,12 @@
     })
       .then(res => {
         proxy.$modal.msgSuccess("涓嬭浇鎴愬姛");
-        downLoading.value = false;
-        const blob = new Blob([res], {
-          type: "application/force-download",
-        });
+        const blob =
+          res instanceof Blob
+            ? res
+            : new Blob([res], {
+                type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
+              });
         let fileName = "";
         if (query.month) {
           fileName = year + "-" + query.month + " 鐝淇℃伅";
@@ -687,6 +689,8 @@
         proxy.$download.saveAs(blob, fileName + ".xlsx");
       })
       .catch(err => {
+      })
+      .finally(() => {
         downLoading.value = false;
       });
   };
@@ -974,7 +978,7 @@
   .user-stats {
     /* display: flex; */
     /* flex-wrap: wrap;
-                                                                                                                                                                                                                                                                                    gap: 10px; */
+                                                                                                                                                                                                                                                                                        gap: 10px; */
     margin-bottom: 4px;
   }
 
@@ -1224,6 +1228,7 @@
     display: flex;
     flex-direction: column;
     align-items: center;
+    height: 65px;
   }
 
   /* 鏈堝害鍑哄嫟 */

--
Gitblit v1.9.3