From 57f334ce8c79887612fd9aafbd9618e6e43f62e4 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 19 三月 2026 14:09:24 +0800
Subject: [PATCH] 库存详情中,序号改为对应的产品类型(仓库是原材料、成品,耗材对应的是耗材),下面添加备注展示

---
 src/pages/equipmentManagement/upkeep/maintain.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/pages/equipmentManagement/upkeep/maintain.vue b/src/pages/equipmentManagement/upkeep/maintain.vue
index 772881a..d3b8549 100644
--- a/src/pages/equipmentManagement/upkeep/maintain.vue
+++ b/src/pages/equipmentManagement/upkeep/maintain.vue
@@ -926,12 +926,12 @@
     if (url.startsWith("http://") || url.startsWith("https://")) {
       return url;
     }
-    const uploadsIndex = url.indexOf("uploads");
-    if (uploadsIndex !== -1) {
-      const relativePath = url.substring(uploadsIndex);
-      return `${config.baseUrl}/${relativePath}`;
-    }
-    return `${config.baseUrl}/${url}`;
+    // const uploadsIndex = url.indexOf("uploads");
+    // if (uploadsIndex !== -1) {
+    //   const relativePath = url.substring(uploadsIndex);
+    //   return `${config.fileUrl}/${relativePath}`;
+    // }
+    return `${config.fileUrl}/${url}`;
   };
 
   // 涓婁紶鎴愬姛澶勭悊

--
Gitblit v1.9.3