From c1dabdd0e0a41e7b2b6c5f1b2b9d095debe15c49 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期三, 15 一月 2025 14:32:38 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue |   57 +++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 47 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..ccadec6 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,14 +26,46 @@
       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",
+          type: "select",
+          required: true,
+          // dataKey: "MaterielCodes",
+          data: [],
+        },
+      ],
+      [
+        {
+          title: "閲囪喘鍗曞彿",
+          field: "purchaseOrderNo",
+          type: "select",
+          // dataKey: "purchaseOrderNos",
+          data: [],
           required: true,
         },
+      ],
+      [
         {
           title: "鎵规鍙�",
           field: "lotNo",
@@ -41,11 +73,6 @@
         },
       ],
       [
-        {
-          title: "閲囪喘鍗曞彿",
-          field: "purchaseOrderNo",
-          required: true,
-        },
         {
           title: "鏁伴噺",
           field: "quantity",
@@ -56,13 +83,15 @@
         {
           title: "鐢熶骇鏃ユ湡",
           field: "productionDate",
-          type:"date",
+          // type: "date",
           required: true,
         },
+      ],
+      [
         {
           title: "鏈夋晥鏈�",
           field: "effectiveDate",
-          type:"date",
+          // type: "date",
           required: true,
         },
       ],
@@ -90,6 +119,14 @@
         type: "string",
         width: 100,
         align: "left",
+      },
+      {
+        field: "warehouseId",
+        title: "浠撳簱",
+        type: "string",
+        width: 90,
+        align: "left",
+        bind: { key: "areainfo", data: [] },
       },
       {
         field: "purchaseOrderNo",
@@ -148,7 +185,7 @@
         title: "淇敼浜�",
         type: "string",
         width: 100,
-        hidden:true,
+        hidden: true,
         align: "left",
       },
       {
@@ -157,7 +194,7 @@
         type: "datetime",
         width: 160,
         align: "left",
-        hidden:true,
+        hidden: true,
         sort: true,
       },
     ]);

--
Gitblit v1.9.3