From f1bf3ef09713182d434e22dfd8623ea73e02d6d3 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期三, 01 四月 2026 15:33:01 +0800
Subject: [PATCH] 1

---
 WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue |  154 ++++++++++++++++++++++++--------------------------
 1 files changed, 74 insertions(+), 80 deletions(-)

diff --git a/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue b/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue
index b35fb25..8e8389d 100644
--- a/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue
+++ b/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue
@@ -31,28 +31,55 @@
       locationCode: "",
       locationName: "",
     });
-    const editFormOptions = ref([
-      
-    ]);
+    const editFormOptions = ref([]);
     const searchFormFields = ref({
       palletCode: "",
       // locationCode: "",
-      materielCode:"",
-      batchNo:""
+      materielCode: "",
+      batchNo: "",
     });
     const searchFormOptions = ref([
       [
-        { title: "鎵樼洏缂栧彿", field: "palletCode",type: "like" },
-        { title: "璐т綅缂栧彿", field: "locationCode",type: "like" },
-        { title: "璐т綅鐘舵��", field: "locationStatus" ,type: "selectList",dataKey: "locationStatusEnum",data: [],},
-        { title: "搴撳瓨鐘舵��", field: "stockStatus",type: "select",dataKey: "stockStatusEmun",data: [],},
+        { title: "鎵樼洏缂栧彿", field: "palletCode", type: "like" },
+        { title: "璐т綅缂栧彿", field: "locationCode", type: "like" },
+        {
+          title: "璐т綅鐘舵��",
+          field: "locationStatus",
+          type: "selectList",
+          dataKey: "locationStatusEnum",
+          data: [],
+        },
+        {
+          title: "搴撳瓨鐘舵��",
+          field: "stockStatus",
+          type: "select",
+          dataKey: "stockStatusEmun",
+          data: [],
+        },
       ],
       [
-        { title: "鐗╂枡缂栧彿", field: "materielCode",type: "like"},
-        { title: "鎵规鍙�", field: "batchNo",type: "like"},
-        { title: "鎵�灞炰粨搴�", field: "warehouseId",type: "select",dataKey: "warehouses",data: [],},
-        { title: "搴撳瓨鍒涘缓鏃堕棿",field: "createDate",type: "datetime"},
+        { title: "鐗╂枡缂栧彿", field: "materielCode", type: "like" },
+        { title: "鎵规鍙�", field: "batchNo", type: "like" },
+        {
+          title: "鎵�灞炰粨搴�",
+          field: "warehouseId",
+          type: "select",
+          dataKey: "warehouses",
+          data: [],
+        },
+        { title: "搴撳瓨鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
       ],
+      [
+        {
+          title:"涓婃父绯荤粺",
+          field:"system",
+          type:"select",
+            data: [
+          { key: "SMOM", value: "SMOM" },
+          { key: "ERP", value: "ERP" },
+        ]
+        }
+      ]
     ]);
     const columns = ref([
       {
@@ -101,7 +128,7 @@
         type: "decimal",
         width: 100,
         align: "left",
-        hidden:true
+        hidden: true,
       },
       {
         field: "materielCode",
@@ -115,7 +142,7 @@
         title: "鎵�鍚墿鏂欐壒娆�",
         type: "string",
         width: 200,
-        align: "left"
+        align: "left",
       },
       {
         field: "sumStock",
@@ -156,6 +183,14 @@
         align: "left",
         hidden: true,
       },
+       {
+        field: "system",
+        title: "涓婃父绯荤粺",
+        type: "string",
+        width: 100,
+        align: "left",
+        // hidden: true,
+      },
       {
         field: "stockStatus",
         title: "搴撳瓨鐘舵��",
@@ -171,7 +206,7 @@
         type: "string",
         width: 100,
         align: "left",
-        bind:{key: "locationTypeEnum", data: []}
+        bind: { key: "locationTypeEnum", data: [] },
       },
       {
         field: "locationStatus",
@@ -223,7 +258,7 @@
         type: "string",
         width: 100,
         align: "left",
-        hidden:true
+        hidden: true,
       },
     ]);
     const detail = ref({
@@ -241,89 +276,48 @@
           align: "left",
         },
         {
-          field: "stockId",
-          title: "搴撳瓨淇℃伅涓婚敭",
-          type: "string",
-          width: 90,
-          align: "left",
-          hidden: true
-        },
-        {
           field: "materielCode",
           title: "鐗╂枡缂栧彿",
           type: "string",
-          width: 110,
+          width: 150,
           align: "left",
+          // sort:true,
         },
         {
           field: "materielName",
           title: "鐗╂枡鍚嶇О",
           type: "string",
-          width: 130,
+          width: 150,
           align: "left",
+          // sort:true,
+        },
+        {
+          field: "batchNo",
+          title: "鐗╂枡鎵规",
+          type: "string",
+          width: 120,
+          align: "left",
+          // sort:true,
         },
         {
           field: "orderNo",
           title: "鍗曟嵁缂栧彿",
-          type: "decimal",
-          width: 130,
-          align: "left",
-        },
-        {
-          field: "batchNo",
-          title: "鎵规鍙�",
           type: "string",
           width: 180,
           align: "left",
         },
         {
-          field: "materielSpec",
-          title: "瑙勬牸鍨嬪彿",
+          field: "supplierBatch",
+          title: "渚涘簲鍟嗘壒娆�",
           type: "string",
-          width: 180,
+          width: 150,
           align: "left",
-        },
-        {
-          field: "serialNumber",
-          title: "搴忓垪鍙�",
-          type: "int",
-          width: 120,
-          align: "left",
-          hidden: true,
         },
         {
           field: "stockQuantity",
-          title: "搴撳瓨鏁伴噺",
+          title: "鐗╂枡鏁伴噺",
           type: "string",
           width: 80,
-          align: "left",
-        },
-        {
-          field: "outboundQuantity",
-          title: "鍑哄簱鏁伴噺",
-          type: "string",
-          width: 80,
-          align: "left",
-        },
-        {
-          field: "unit",
-          title: "鍗曚綅",
-          type: "string",
-          width: 50,
-          align: "left",
-        },
-        {
-          field: "productionDate",
-          title: "鐢熶骇鏃ユ湡",
-          type: "string",
-          width: 120,
-          align: "left",
-        },
-        {
-          field: "effectiveDate",
-          title: "鏈夋晥鏃ユ湡",
-          type: "string",
-          width: 120,
           align: "left",
         },
         {
@@ -332,7 +326,7 @@
           type: "string",
           width: 120,
           align: "left",
-          bind: { key: "stockStatusEmun", data: [] }
+          bind: { key: "stockStatusEmun", data: [] },
         },
         {
           field: "creater",
@@ -340,7 +334,7 @@
           type: "string",
           width: 90,
           align: "left",
-          hidden: true
+          // sort:true,
         },
         {
           field: "createDate",
@@ -348,7 +342,7 @@
           type: "datetime",
           width: 160,
           align: "left",
-          hidden: true
+          sort: true,
         },
         {
           field: "modifier",
@@ -356,7 +350,7 @@
           type: "string",
           width: 100,
           align: "left",
-          hidden: true
+          hidden: true,
         },
         {
           field: "modifyDate",
@@ -364,7 +358,7 @@
           type: "datetime",
           width: 160,
           align: "left",
-          hidden: true
+          hidden: true,
         },
         {
           field: "remark",
@@ -372,7 +366,7 @@
           type: "string",
           width: 100,
           align: "left",
-          hidden: true
+          hidden: true,
         },
       ],
       sortName: "id",

--
Gitblit v1.9.3