From fba665e8a67fcec20a6bbb2722efbee0e33dc6ad Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 21 四月 2026 00:34:57 +0800
Subject: [PATCH] fix(StockInfoController): MES凭证改为动态获取

---
 Code/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue b/Code/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue
index 96fae1f..e2a0e52 100644
--- a/Code/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue
+++ b/Code/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue
@@ -15,7 +15,7 @@
 </template>
 
 <script>
-import extend from "@/extension/stock/stockInfo.js";
+import extend from "@/extension/stock/stockInfo.jsx";
 import {
   defineComponent,
   getCurrentInstance,
@@ -28,6 +28,7 @@
 const TEXT = {
   pageName: "搴撳瓨淇℃伅",
   palletCode: "鎵樼洏缂栧彿",
+  stockStatus: "搴撳瓨鐘舵��",
   locationCode: "璐т綅缂栧彿",
   warehouse: "浠撳簱",
   creator: "鍒涘缓浜�",
@@ -104,6 +105,22 @@
         type: "string",
         width: 120,
         align: "left",
+      },
+      {
+        field: "stockStatus",
+        title: TEXT.stockStatus,
+        type: "int",
+        width: 120,
+        align: "left",
+        bind: { key: "stockStatusEmun", data: [] },
+      },
+      {
+        field: "mesUploadStatus",
+        title: "MES鐘舵��",
+        type: "int",
+        width: 120,
+        align: "left",
+        bind: { key: "mesUploadStatusEnum", data: [] },
       },
       {
         field: "locationCode",
@@ -223,7 +240,7 @@
 
     const loadStockStatusOptions = async () => {
       try {
-        const result = await proxy.http.post("/api/Sys_Dictionary/GetVueDictionary", ["stockStatusEmun"]);
+        const result = await proxy.http.post("/api/Sys_Dictionary/GetVueDictionary", ["stockStatusEmun", "mesUploadStatusEnum"]);
         const matched = (result || []).find((item) => item.dicNo === "stockStatusEmun");
         stockStatusOptions.value = matched ? matched.data || [] : [];
       } catch (error) {

--
Gitblit v1.9.3