From 6f8fe2fc191fb466e3141a6e915d6aa63802c269 Mon Sep 17 00:00:00 2001
From: helongyang <647556386@qq.com>
Date: 星期日, 22 六月 2025 11:43:35 +0800
Subject: [PATCH] 更新优化

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue |   88 ++++++++++++++++++++++++++++++++++++--------
 1 files changed, 72 insertions(+), 16 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 06bdac5..8a1f871 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"
@@ -27,17 +27,47 @@
       sortName: "id",
     });
     const editFormFields = ref({
-      purchaseOrderNo:""
+      lotNo: "",
+      warehouseId: "",
+      purchaseOrderNo: "",
+      materielCode: "",
+      productionDate: "",
+      effectiveDate: "",
     });
     const editFormOptions = ref([
       [
         {
+          title: "浠撳簱",
+          field: "warehouseId",
+          type: "select",
+          dataKey: "areainfo",
+          data: [],
+          required: true,
+        },
+      ],
+      [
+        
+        {
           title: "鐗╂枡缂栫爜",
           field: "materielCode",
-          type: "select",
-          dataKey: "MaterielCodes",
-          data: [],
+          type: "string",
         },
+      ],
+      [
+        {
+          title: "閲囪喘鍗曞彿",
+          field: "purchaseOrderNo",
+          type: "string",
+        },
+      ],
+      [
+        {
+          title: "鐗╂枡瑙勬牸",
+          field: "materielSpec",
+          type: "string",
+        },
+      ],
+      [
         {
           title: "鎵规鍙�",
           field: "lotNo",
@@ -46,30 +76,24 @@
       ],
       [
         {
-          title: "閲囪喘鍗曞彿",
-          field: "purchaseOrderNo",
-          type:"select",
-          // dataKey: "purchaseOrderNos",
-          data: [],
-          required: true,
-        },
-        {
           title: "鏁伴噺",
           field: "quantity",
-          required: true,
+          type:"int"
         },
       ],
       [
         {
           title: "鐢熶骇鏃ユ湡",
           field: "productionDate",
-          type: "date",
+          // type: "date",
           required: true,
         },
+      ],
+      [
         {
           title: "鏈夋晥鏈�",
           field: "effectiveDate",
-          type: "date",
+          // type: "date",
           required: true,
         },
       ],
@@ -78,7 +102,10 @@
       palletCode: "",
     });
     const searchFormOptions = ref([
-      [{ title: "鎵规鍙�", field: "lotNo", type: "like" }],
+      [
+        { title: "閲囪喘鍗曞彿", field: "purchaseOrderNo", type: "like" },
+        { title: "鐗╂枡缂栧彿", field: "materielCode", type: "like" },
+      ],
     ]);
     const columns = ref([
       {
@@ -99,6 +126,28 @@
         align: "left",
       },
       {
+        field: "materielName",
+        title: "鐗╂枡鍚嶇О",
+        type: "string",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "materielSpec",
+        title: "鐗╂枡瑙勬牸",
+        type: "string",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "warehouseId",
+        title: "浠撳簱",
+        type: "string",
+        width: 90,
+        align: "left",
+        bind: { key: "areainfo", data: [] },
+      },
+      {
         field: "purchaseOrderNo",
         title: "閲囪喘鍗曞彿",
         type: "string",
@@ -106,6 +155,13 @@
         align: "left",
       },
       {
+        field: "supplierCode",
+        title: "渚涘簲鍟嗙紪鍙�",
+        type: "string",
+        width: 160,
+        align: "left",
+      },
+      {
         field: "lotNo",
         title: "鎵规鍙�",
         type: "string",

--
Gitblit v1.9.3