From feaeb3e3ac6d9e7606fce5e3ae80de3cca9c846f Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 20 五月 2026 09:30:54 +0800
Subject: [PATCH] feat:1.库存成品展示电压,工序类别 2.销售页面调整

---
 src/views/procurementManagement/procurementLedger/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 99a1790..d1a0097 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -1716,9 +1716,12 @@
   }
 };
 const getProductOptions = () => {
-  return productTreeList().then((res) => {
-    const tree = convertIdToValue(res);
-    productOptions.value = filterOutSemiFinished(tree);
+  return productTreeList({ productName: "鎴愬搧" }).then((res) => {
+    const tree = filterOutSemiFinished(convertIdToValue(res));
+    const finishedNode = tree.find(
+      (item) => item?.label === "鎴愬搧" || item?.productName === "鎴愬搧"
+    );
+    productOptions.value = finishedNode?.children || tree;
     return res;
   });
 };

--
Gitblit v1.9.3