From e61eb3be4fc933c67cbe3a1a9d08d41ac2d26a1b Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期三, 18 三月 2026 11:48:13 +0800
Subject: [PATCH] Merge branch 'dev_衡阳_鹏创电子' of http://114.132.189.42:9002/r/product-inventory-management into dev_衡阳_鹏创电子

---
 src/views/procurementManagement/procurementLedger/index.vue |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index a1fcdfb..b333e8d 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -233,7 +233,7 @@
                 <el-option v-for="item in supplierList"
                            :key="item.id"
                            :label="item.supplierName"
-                           :value="item.id" />
+													 :value="item.id" >{{item.supplierName + '---' + item.supplierType}}</el-option>
               </el-select>
             </el-form-item>
           </el-col>
@@ -1532,10 +1532,26 @@
   };
   const getProductOptions = () => {
     return productTreeList().then(res => {
-      productOptions.value = convertIdToValue(res);
+      const tree = convertIdToValue(res);
+      productOptions.value = filterOutSemiFinished(tree);
       return res;
     });
   };
+
+  const filterOutSemiFinished = (nodes = []) => {
+    return (nodes || [])
+      .filter(node => {
+        const label = String(node?.label ?? "");
+        return !label.includes("鍗婃垚鍝�");
+      })
+      .map(node => {
+        const next = { ...node };
+        if (next.children && next.children.length > 0) {
+          next.children = filterOutSemiFinished(next.children);
+        }
+        return next;
+      });
+  };
   const getModels = value => {
     if (value) {
       productForm.value.productCategory =

--
Gitblit v1.9.3