From d5430d9a9e73eae213c16baea9fbbcf54cc5d5da Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期三, 22 一月 2025 16:13:53 +0800
Subject: [PATCH] 库存导出,采购单接收,物料接收优化,前端显示优化,测试架AGV任务大小托盘更改

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue |   68 ++++++++++++++++++++++++++++-----
 1 files changed, 57 insertions(+), 11 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue"
index 868d5c8..bb374b8 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue"
@@ -26,17 +26,31 @@
       url: "/MaterielCodeInfo/",
       sortName: "id",
     });
-    const editFormFields = ref({});
+    const editFormFields = ref({
+      lotNo: "",
+      warehouseId: "",
+      purchaseOrderNo: "",
+      materielCode: "",
+      productionDate: "",
+      effectiveDate: "",
+    });
     const editFormOptions = ref([
+      [
+        {
+          title: "浠撳簱",
+          field: "warehouseId",
+          type: "select",
+          dataKey: "areainfo",
+          data: [],
+          required: true,
+        },
+      ],
       [
         {
           title: "鐗╂枡缂栫爜",
           field: "materielCode",
-          required: true,
-        },
-        {
-          title: "鎵规鍙�",
-          field: "lotNo",
+          type: "select",
+          data: [],
           required: true,
         },
       ],
@@ -44,8 +58,19 @@
         {
           title: "閲囪喘鍗曞彿",
           field: "purchaseOrderNo",
+          type: "select",
+          data: [],
           required: true,
         },
+      ],
+      [
+        {
+          title: "鎵规鍙�",
+          field: "lotNo",
+          required: true,
+        },
+      ],
+      [
         {
           title: "鏁伴噺",
           field: "quantity",
@@ -56,13 +81,15 @@
         {
           title: "鐢熶骇鏃ユ湡",
           field: "productionDate",
-          type:"date",
+          // type: "date",
           required: true,
         },
+      ],
+      [
         {
           title: "鏈夋晥鏈�",
           field: "effectiveDate",
-          type:"date",
+          // type: "date",
           required: true,
         },
       ],
@@ -71,7 +98,10 @@
       palletCode: "",
     });
     const searchFormOptions = ref([
-      [{ title: "鎵规鍙�", field: "lotNo", type: "like" }],
+      [
+        { title: "閲囪喘鍗曞彿", field: "purchaseOrderNo", type: "like" },
+        { title: "鐗╂枡缂栧彿", field: "materielCode", type: "like" },
+      ],
     ]);
     const columns = ref([
       {
@@ -90,6 +120,22 @@
         type: "string",
         width: 100,
         align: "left",
+      },
+      {
+        field: "materielCode",
+        title: "鐗╂枡鍚嶇О",
+        type: "string",
+        width: 100,
+        align: "left",
+        bind: { key: "MaterielNames", data: [] },
+      },
+      {
+        field: "warehouseId",
+        title: "浠撳簱",
+        type: "string",
+        width: 90,
+        align: "left",
+        bind: { key: "areainfo", data: [] },
       },
       {
         field: "purchaseOrderNo",
@@ -148,7 +194,7 @@
         title: "淇敼浜�",
         type: "string",
         width: 100,
-        hidden:true,
+        hidden: true,
         align: "left",
       },
       {
@@ -157,7 +203,7 @@
         type: "datetime",
         width: 160,
         align: "left",
-        hidden:true,
+        hidden: true,
         sort: true,
       },
     ]);

--
Gitblit v1.9.3