From d78815179b7d49509e6637d547ca8bbd525f7fcf Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期一, 07 九月 2026 11:45:41 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_pro_河南鹤壁' into dev_pro_河南鹤壁

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

diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 6167e6c..f59ed95 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -90,7 +90,7 @@
         <el-table-column label="鍏ュ簱鐘舵��" prop="stockInStatus" width="100" show-overflow-tooltip>
           <template #default="scope">
             <el-tag :type="getStockInStatusType(scope.row.stockInStatus)" size="small">
-              {{ scope.row.stockInStatus || '--' }}
+              {{ formatStockInStatus(scope.row.stockInStatus) || '--' }}
             </el-tag>
           </template>
         </el-table-column>
@@ -137,7 +137,7 @@
           <el-col :span="12">
             <el-form-item label="渚涘簲鍟嗗悕绉帮細" prop="supplierId">
               <el-select v-model="form.supplierId" placeholder="璇烽�夋嫨" filterable clearable>
-                <el-option v-for="item in supplierList" :key="item.id" :label="item.supplierName" :value="item.id">{{ item.supplierType ? item.supplierName + '---' + item.supplierType : item.supplierName }}</el-option>
+<el-option v-for="item in supplierList" :key="item.id" :label="item.supplierName" :value="item.id">{{ item.supplierName }}</el-option>
               </el-select>
             </el-form-item>
           </el-col>
@@ -480,11 +480,17 @@
   return typeMap[status] || "";
 };
 
+// 鍏ュ簱鐘舵�佹樉绀猴細鍏ュ簱涓篃灞曠ず涓哄畬鍏ㄥ叆搴�
+const formatStockInStatus = status => {
+  if (status === "鍏ュ簱涓�") return "瀹屽叏鍏ュ簱";
+  return status;
+};
+
 // 鑾峰彇鍏ュ簱鐘舵�佹爣绛剧被鍨�
 const getStockInStatusType = status => {
   const typeMap = {
     "寰呭叆搴�": "info", // 寰呭叆搴� - 鐏拌壊
-    "鍏ュ簱涓�": "warning", // 鍏ュ簱涓� - 姗欒壊
+    "鍏ュ簱涓�": "success", // 鍏ュ簱涓� - 缁胯壊
     "瀹屽叏鍏ュ簱": "success", // 瀹屽叏鍏ュ簱 - 缁胯壊
   };
   return typeMap[status] || "";

--
Gitblit v1.9.3