From 056326f91432db1b2ede9d821d0a463682ffd2aa Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期六, 01 三月 2025 10:30:11 +0800
Subject: [PATCH] MES成品入库单,优化

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue |   75 ++++++++++++++++++++++++++++++++-----
 1 files changed, 65 insertions(+), 10 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..c6d641c 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,41 @@
       url: "/MaterielCodeInfo/",
       sortName: "id",
     });
-    const editFormFields = ref({});
+    const editFormFields = ref({
+      lotNo: "",
+      warehouseId: "",
+      purchaseOrderNo: "",
+      materielCode: "",
+      materielQuery:"",
+      productionDate: "",
+      effectiveDate: "",
+    });
     const editFormOptions = ref([
       [
         {
-          title: "鐗╂枡缂栫爜",
-          field: "materielCode",
+          title: "浠撳簱",
+          field: "warehouseId",
+          type: "select",
+          dataKey: "areainfo",
+          data: [],
           required: true,
         },
+      ],
+      [
         {
-          title: "鎵规鍙�",
-          field: "lotNo",
+          title: "鎼滅储鐗╂枡",
+          field: "materielQuery",
+          type: "string",
+          required: true,
+        },
+      ],
+      [
+        
+        {
+          title: "鐗╂枡缂栫爜",
+          field: "materielCode",
+          type: "select",
+          data: [],
           required: true,
         },
       ],
@@ -44,8 +68,19 @@
         {
           title: "閲囪喘鍗曞彿",
           field: "purchaseOrderNo",
+          type: "select",
+          data: [],
           required: true,
         },
+      ],
+      [
+        {
+          title: "鎵规鍙�",
+          field: "lotNo",
+          required: true,
+        },
+      ],
+      [
         {
           title: "鏁伴噺",
           field: "quantity",
@@ -56,13 +91,15 @@
         {
           title: "鐢熶骇鏃ユ湡",
           field: "productionDate",
-          type:"date",
+          // type: "date",
           required: true,
         },
+      ],
+      [
         {
           title: "鏈夋晥鏈�",
           field: "effectiveDate",
-          type:"date",
+          // type: "date",
           required: true,
         },
       ],
@@ -71,7 +108,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 +130,21 @@
         type: "string",
         width: 100,
         align: "left",
+      },
+      {
+        field: "materielName",
+        title: "鐗╂枡鍚嶇О",
+        type: "string",
+        width: 100,
+        align: "left",
+      },
+      {
+        field: "warehouseId",
+        title: "浠撳簱",
+        type: "string",
+        width: 90,
+        align: "left",
+        bind: { key: "areainfo", data: [] },
       },
       {
         field: "purchaseOrderNo",
@@ -148,7 +203,7 @@
         title: "淇敼浜�",
         type: "string",
         width: 100,
-        hidden:true,
+        hidden: true,
         align: "left",
       },
       {
@@ -157,7 +212,7 @@
         type: "datetime",
         width: 160,
         align: "left",
-        hidden:true,
+        hidden: true,
         sort: true,
       },
     ]);

--
Gitblit v1.9.3