From 4f39dcc195f28fa275fc2d065fbf1bf6a46c21b7 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 17 六月 2025 00:41:18 +0800
Subject: [PATCH] 优化出入库逻辑

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue |   76 +++++++++++++++++++++-----------------
 1 files changed, 42 insertions(+), 34 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue"
index fdb2428..7311019 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue"
@@ -1,7 +1,15 @@
 <template>
-  <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
-    :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions"
-    :table="table" :extend="extend">
+  <view-grid
+    ref="grid"
+    :columns="columns"
+    :detail="detail"
+    :editFormFields="editFormFields"
+    :editFormOptions="editFormOptions"
+    :searchFormFields="searchFormFields"
+    :searchFormOptions="searchFormOptions"
+    :table="table"
+    :extend="extend"
+  >
   </view-grid>
 </template>
 <script>
@@ -54,7 +62,6 @@
           type: "string",
         },
       ],
-      
     ]);
     const searchFormFields = ref({
       materielCode: "",
@@ -81,10 +88,11 @@
       },
       {
         field: "stockId",
-        title: "搴撳瓨淇℃伅涓婚敭",
+        title: "鎵樼洏鍙�",
         type: "string",
         width: 90,
         align: "left",
+        bind: { key: "palletCodes", data: [] },
       },
       {
         field: "materielCode",
@@ -114,35 +122,35 @@
         width: 90,
         align: "left",
       },
-      {
-        field: "serialNumber",
-        title: "搴忓垪鍙�",
-        type: "int",
-        width: 120,
-        align: "left",
-      },
-      {
-        field: "stockQuantity",
-        title: "搴撳瓨鏁伴噺",
-        type: "string",
-        width: 200,
-        align: "left",
-      },
-      {
-        field: "outboundQuantity",
-        title: "鍑哄簱鏁伴噺",
-        type: "string",
-        width: 180,
-        align: "left",
-      },
-      {
-        field: "status",
-        title: "搴撳瓨鏄庣粏鐘舵��",
-        type: "string",
-        width: 120,
-        align: "left",
-        bind: { key: "outStockStatus", data: [] },
-      },
+      // {
+      //   field: "serialNumber",
+      //   title: "搴忓垪鍙�",
+      //   type: "int",
+      //   width: 120,
+      //   align: "left",
+      // },
+      // {
+      //   field: "stockQuantity",
+      //   title: "搴撳瓨鏁伴噺",
+      //   type: "string",
+      //   width: 120,
+      //   align: "left",
+      // },
+      // {
+      //   field: "outboundQuantity",
+      //   title: "鍑哄簱鏁伴噺",
+      //   type: "string",
+      //   width: 180,
+      //   align: "left",
+      // },
+      // {
+      //   field: "status",
+      //   title: "搴撳瓨鏄庣粏鐘舵��",
+      //   type: "string",
+      //   width: 120,
+      //   align: "left",
+      //   bind: { key: "stockStatusEmun", data: [] },
+      // },
       {
         field: "creater",
         title: "鍒涘缓浜�",

--
Gitblit v1.9.3