From b52018589bf6c7ec1d51ce8ad000a7aa993b0ab5 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期一, 13 四月 2026 16:06:15 +0800
Subject: [PATCH] 优化组盘表获取成品编号、流水号、供方代码

---
 代码管理/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue |   45 ++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 42 insertions(+), 3 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue"
index e648e50..65c40ba 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue"
@@ -28,11 +28,13 @@
       sortName: "createDate",
     });
 
+    // 缂栬緫琛ㄥ崟瀛楁 - 鏂板boxingNo
     const editFormFields = ref({
       id: "",
       palletCode: "",
       productCode: "",
       productName: "",
+      boxingNo: "", // 娴佹按鍙峰瓧娈�
     });
     const editFormOptions = ref([
       [
@@ -41,7 +43,6 @@
           field: "palletCode",
           type: "input",
           width: 200,
-          link: true,
           require: true,
         },
         {
@@ -58,8 +59,22 @@
           width: 200,
           require: true,
         },
+        // 鏂板锛氭祦姘村彿缂栬緫椤癸紙鍜屽疄浣撲竴鑷撮潪绌猴紝鏁呰require: true锛�
+        {
+          title: "娴佹按鍙�",
+          field: "boxingNo",
+          type: "input",
+          width: 200,
+          require: true,
+        },
       ],
-      [
+      [{
+          title: "渚涙柟浠g爜",
+          field: "supplierCode",
+          type: "input",
+          width: 200,
+          require: true,
+        },
         {
           title: "涓婚敭ID",
           field: "id",
@@ -71,12 +86,15 @@
       ],
     ]);
 
+    // 鏌ヨ琛ㄥ崟瀛楁 - 鏂板boxingNo
     const searchFormFields = ref({
       palletCode: "",
       productCode: "",
       productName: "",
+      boxingNo: "", // 娴佹按鍙锋煡璇㈠瓧娈�
       creater: "",
       createDate: "",
+      supplierCode: "",
     });
 
     const searchFormOptions = ref([
@@ -84,13 +102,17 @@
         { title: "宸ヨ鏉跨紪鍙�", field: "palletCode", type: "like" },
         { title: "鎴愬搧缂栧彿", field: "productCode", type: "like" },
         { title: "鎴愬搧鍚嶇О", field: "productName", type: "like" },
+        // 鏂板锛氭祦姘村彿鏌ヨ椤癸紙妯$硦鏌ヨlike锛屽拰鍏朵粬缂栧彿淇濇寔涓�鑷达級
+        { title: "娴佹按鍙�", field: "boxingNo", type: "like" },
       ],
       [
+        { title: "渚涙柟浠g爜", field: "supplierCode", type: "like" },
         { title: "鍒涘缓浜�", field: "creater", type: "like" },
         { title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
       ],
     ]);
 
+    // 琛ㄦ牸鍒楅厤缃� - 鏂板boxingNo鍒�
     const columns = ref([
       {
         field: "id",
@@ -120,6 +142,21 @@
       {
         field: "productName",
         title: "鎴愬搧鍚嶇О",
+        type: "string",
+        width: 200,
+        align: "left",
+      },
+      {
+        field: "supplierCode",
+        title: "渚涙柟浠g爜",
+        type: "string",
+        width: 200,
+        align: "left",
+      },
+      // 鏂板锛氭祦姘村彿琛ㄦ牸鍒楋紙瀹藉害鍜屽叾浠栫紪鍙蜂繚鎸�200锛屽彲鏍规嵁闇�姹傝皟鏁达級
+      {
+        field: "boxingNo",
+        title: "娴佹按鍙�",
         type: "string",
         width: 200,
         align: "left",
@@ -164,7 +201,7 @@
 
     const detail = ref({
       cnName: "缁勭洏璇︾粏淇℃伅",
-      table: "boxingDetail",
+      table: "DoxingDetail",
       columns: [
         {
           field: "boxingId",
@@ -180,6 +217,7 @@
           field: "componentCode",
           title: "闆朵欢缂栧彿",
           type: "string",
+          edit: { type: "" },
           width: 200,
           align: "left",
         },
@@ -187,6 +225,7 @@
           field: "componentName",
           title: "闆朵欢鍚嶇О",
           type: "string",
+          edit: { type: "" },
           width: 200,
           align: "left",
         },

--
Gitblit v1.9.3