From f5b8c1ae89286dada20ea433ffac84f4c9e72a29 Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期五, 06 六月 2025 14:31:25 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue |  161 ++++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 108 insertions(+), 53 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue"
index 399c522..f3952cd 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue"
@@ -38,50 +38,35 @@
       });
       const editFormOptions = ref([
         [
+        { title: "鎵樼洏缂栧彿", field: "palletCode" },
+        {
+          title: "鐗╂枡绫诲瀷",
+          field: "materialType",
+          type: "select",
+          dataKey: "InventoryMaterialType",
+          data: [],
+        },
+          { title: "璐т綅缂栧彿", field: "locationCode" },
           {
-            title: "璁惧缂栧彿",
-            required: true,
-            field: "deviceCode",
-            type: "string",
-          },
-          {
-            title: "璁惧鍚嶇О",
-            required: true,
-            field: "deviceName",
-            type: "string",
-          },
-          {
-            title: "璁惧绫诲瀷",
-            required: true,
-            field: "deviceType",
-            type: "string",
-          },
-          {
-            title: "璁惧鐘舵��",
-            required: true,
-            field: "deviceStatus",
-            type: "string",
-          },
+          title: "搴撳瓨鐘舵��",
+          field: "stockStatus",
+          type: "select",
+          dataKey: "stockStatusEmun",
+          data: [],
+        },
         ],
         [
-          { title: "璁惧IP", required: true, field: "deviceIp", type: "string" },
-          {
-            title: "璁惧绔彛",
-            required: true,
-            field: "devicePort",
-            type: "string",
-          },
-          {
-            title: "PLC绫诲瀷",
-            required: true,
-            field: "devicePlcType",
-            type: "string",
-          },
-          {
-            title: "澶囨敞",
-            field: "deviceRemark",
-            type: "string",
-          },
+        { title: "閲嶉噺", field: "materialweight" },
+        {
+          title: "鐗╂枡鐘舵��",
+          field: "wlstatus",
+          type: "select",
+          dataKey: "InventoryMaterialStatus",
+          data: []
+        },
+        {
+          title: "澶囨敞", field: "Remark"
+        }
         ],
       ]);
       const searchFormFields = ref({
@@ -91,10 +76,44 @@
       });
       const searchFormOptions = ref([
         [
-          { title: "璁惧缂栧彿", field: "deviceCode" },
-          { title: "璁惧绫诲瀷", field: "deviceType" },
-          { title: "璁惧鐘舵��", field: "deviceStatus" },
+          { title: "鎵樼洏缂栧彿",
+            field: "palletCode",
+            type: "like",
+        },
+          {
+          title: "鐗╂枡绫诲瀷",
+          field: "materialType",
+          type: "select",
+          dataKey: "InventoryMaterialType",
+          data: [],
+        },
+          { title: "璐т綅缂栧彿", field: "locationCode",type: "like", },
+          
         ],
+        [
+        {
+          title: "搴撳瓨鐘舵��",
+          field: "stockStatus",
+          type: "selectList",
+          dataKey: "stockStatusEmun",
+          data: [],
+        },
+        {
+          title: "鐗╂枡鐘舵��",
+          field: "wlstatus",
+          type: "selectList",
+          dataKey: "InventoryMaterialStatus",
+          data: [],
+        },
+        { title: "搴撳瓨缂栧彿",
+            field: "id",
+            type: "like",
+        },
+        ],
+        [
+        { title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
+        { title: "鐢熶骇鏃堕棿", field: "mgeneratetime", type: "datetime" },
+        ]
       ]);
       const columns = ref([
         {
@@ -108,11 +127,21 @@
           align: "left",
         },
         {
+          field: "id",
+          title: "搴撳瓨缂栧彿",
+          type: "string",
+          width: 90,
+          align: "left",
+          DisplayType:"link",
+          sort:true
+        },
+        {
           field: "palletCode",
           title: "鎵樼洏缂栧彿",
           type: "string",
           width: 90,
           align: "left",
+          sort:true,
         },
         {
           field: "materialType",
@@ -120,7 +149,8 @@
           type: "string",
           width: 150,
           align: "left",
-          bind: { key: "inventoryMaterialType", data: [] },
+          sort:true,
+          bind: { key: "InventoryMaterialType", data: [] },
         },
         {
           field: "locationCode",
@@ -128,7 +158,23 @@
           type: "string",
           width: 150,
           align: "left",
-          
+          sort:true,
+        },
+        {
+          field: "wlstatus",
+          title: "鐗╂枡鐘舵��",
+          type: "string",
+          width: 150,
+          align: "left",
+          sort:true,
+          bind: { key: "InventoryMaterialStatus", data: [] },
+        },{
+          field: "mgeneratetime",
+          title: "鐢熶骇鏃堕棿",
+          type: "datetime",
+          width: 160,
+          align: "left",
+          sort:true,
         },
         {
           field: "isFull",
@@ -136,6 +182,7 @@
           type: "string",
           width: 150,
           align: "left",
+          sort:true,
           bind: { key: "yesno", data: [] },
         },
         {
@@ -144,6 +191,7 @@
           type: "string",
           width: 150,
           align: "left",
+          sort:true,
           bind: { key: "stockStatusEmun", data: [] },
         },
         {
@@ -152,6 +200,14 @@
           type: "string",
           width: 150,
           align: "left",
+          sort:true,
+        },{
+          field: "remark",
+          title: "澶囨敞",
+          type: "string",
+          width: 100,
+          align: "left",
+          sort:true,
         },
         {
           field: "creater",
@@ -159,6 +215,7 @@
           type: "string",
           width: 90,
           align: "left",
+          sort:true,
         },
         {
           field: "createDate",
@@ -166,13 +223,16 @@
           type: "datetime",
           width: 160,
           align: "left",
+          sort:true,
         },
+        
         {
           field: "modifier",
           title: "淇敼浜�",
           type: "string",
           width: 100,
           align: "left",
+          sort:true,
         },
         {
           field: "modifyDate",
@@ -180,14 +240,9 @@
           type: "datetime",
           width: 160,
           align: "left",
+          sort:true,
         },
-        {
-          field: "remark",
-          title: "澶囨敞",
-          type: "string",
-          width: 100,
-          align: "left",
-        },
+        
       ]);
       const detail = ref({
         cnName: "#detailCnName",

--
Gitblit v1.9.3