From 8fcd7a67e4391a5f1fbdb590c2a3f913aeb2a0a0 Mon Sep 17 00:00:00 2001
From: helongyang <647556386@qq.com>
Date: 星期二, 31 三月 2026 14:11:23 +0800
Subject: [PATCH] PP平库功能上线,PDA优化,部分问题点优化

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue |  102 +++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 87 insertions(+), 15 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..532b4e3 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,48 @@
       url: "/MaterielCodeInfo/",
       sortName: "id",
     });
-    const editFormFields = ref({});
+    const editFormFields = ref({
+      lotNo: "",
+      warehouseId: "",
+      purchaseOrderNo: "",
+      materielCode: "",
+      productionDate: "",
+      effectiveDate: "",
+    });
     const editFormOptions = ref([
       [
         {
-          title: "鐗╂枡缂栫爜",
-          field: "materielCode",
+          title: "浠撳簱",
+          field: "warehouseId",
+          type: "select",
+          dataKey: "areainfo",
+          data: [],
           required: true,
         },
+      ],
+      [
+        
+        {
+          title: "鐗╂枡缂栫爜",
+          field: "materielCode",
+          type: "string",
+        },
+      ],
+      [
+        {
+          title: "閲囪喘鍗曞彿",
+          field: "purchaseOrderNo",
+          type: "string",
+        },
+      ],
+      [
+        {
+          title: "鐗╂枡瑙勬牸",
+          field: "materielSpec",
+          type: "string",
+        },
+      ],
+      [
         {
           title: "鎵规鍙�",
           field: "lotNo",
@@ -42,27 +76,24 @@
       ],
       [
         {
-          title: "閲囪喘鍗曞彿",
-          field: "purchaseOrderNo",
-          required: true,
-        },
-        {
-          title: "鏁伴噺",
+          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,
         },
       ],
@@ -71,7 +102,12 @@
       palletCode: "",
     });
     const searchFormOptions = ref([
-      [{ title: "鎵规鍙�", field: "lotNo", type: "like" }],
+      [
+        { title: "閲囪喘鍗曞彿", field: "purchaseOrderNo", type: "like" },
+        { title: "鐗╂枡缂栧彿", field: "materielCode", type: "like" },
+        {title: "鎵�灞炰粨搴�", field:"warehouseId",type:"select",dataKey:"warehouses",data:[]},
+        { title: "鎵规鍙�", field: "lotNo", type: "like" },
+      ],
     ]);
     const columns = ref([
       {
@@ -92,8 +128,37 @@
         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",
+        width: 160,
+        align: "left",
+      },
+      {
+        field: "supplierCode",
+        title: "渚涘簲鍟嗙紪鍙�",
         type: "string",
         width: 160,
         align: "left",
@@ -108,6 +173,13 @@
       {
         field: "quantity",
         title: "鏁伴噺",
+        type: "int",
+        width: 80,
+        align: "left",
+      },
+      {
+        field: "materielLength",
+        title: "鐗╂枡闀垮害",
         type: "int",
         width: 80,
         align: "left",
@@ -148,7 +220,7 @@
         title: "淇敼浜�",
         type: "string",
         width: 100,
-        hidden:true,
+        hidden: true,
         align: "left",
       },
       {
@@ -157,7 +229,7 @@
         type: "datetime",
         width: 160,
         align: "left",
-        hidden:true,
+        hidden: true,
         sort: true,
       },
     ]);

--
Gitblit v1.9.3