From 1ab9c0728ee125c03ca0565ffa8260b0ca394db8 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 25 六月 2025 17:10:56 +0800
Subject: [PATCH] 修正 HtmlElementType 枚举值的大小写匹配

---
 Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue |   74 +++++++++++++++++++++++++------------
 1 files changed, 50 insertions(+), 24 deletions(-)

diff --git a/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue b/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue
index a744063..f306f76 100644
--- a/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue
+++ b/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue
@@ -26,8 +26,23 @@
       url: "/Task/",
       sortName: "CreateDate",
     });
-    const editFormFields = ref({});
-    const editFormOptions = ref([]);
+    const editFormFields = ref({
+      taskNum:"",
+      palletCode: "",
+      roadway: "",
+      taskType:"",
+      taskState:"",
+      wMSId:"",
+      sourceAddress: "",
+      targetAddress: "",
+      currentAddress: "",
+      nextAddress: "",
+      creater: "",
+      createDate: "",
+      grade: "",
+      productionLine:""
+    });
+    const editFormOptions = ref([[{ title: "浼樺厛绾�", field: "grade", type: "int" },]]);
     const searchFormFields = ref({
       taskNum: "",
       palletCode: "",
@@ -42,7 +57,7 @@
     const searchFormOptions = ref([
       [
         { title: "浠诲姟鍙�", field: "taskNum", type: "int" },
-        { title: "鎵樼洏缂栧彿", field: "palletCode", type: "like" },
+        { title: "鎵樼洏缂栧彿", field: "palletCode", type: "text" },
         {
           title: "浠诲姟绫诲瀷",
           field: "taskType",
@@ -59,14 +74,15 @@
         },
       ],
       [
-        { title: "璧峰鍦板潃", field: "sourceAddress", type: "like" },
-        { title: "鐩爣鍦板潃", field: "targetAddress", type: "like" },
-        { title: "褰撳墠浣嶇疆", field: "currentAddress", type: "like" },
-        { title: "涓嬩竴浣嶇疆", field: "nextAddress", type: "like" },
+        { title: "璧峰鍦板潃", field: "sourceAddress", type: "text" },
+        { title: "鐩爣鍦板潃", field: "targetAddress", type: "text" },
+        { title: "褰撳墠浣嶇疆", field: "currentAddress", type: "text" },
+        { title: "涓嬩竴浣嶇疆", field: "nextAddress", type: "text" },
       ],
       [
-        { title: "宸烽亾鍙�", field: "roadway", type: "like" },
-        { title: "鍒涘缓浜�", field: "creater", type: "like" },
+        { title: "宸烽亾鍙�", field: "roadway", type: "text" },
+        { "title": "鐢熶骇浜х嚎", "field": "productionLine", type: "select", dataKey: "ProductionLine", data: [] },
+        { title: "鍒涘缓浜�", field: "creater", type: "text" },
         { title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
       ],
     ]);
@@ -147,6 +163,14 @@
         align: "left",
       },
       {
+        field: "productionLine",
+        title: "浜х嚎",
+        type: "string",
+        width: 70,
+        align: "left", 
+        bind: { key: "ProductionLine", data: [] } 
+      },
+      {
         field: "exceptionMessage",
         title: "寮傚父淇℃伅",
         type: "string",
@@ -158,7 +182,7 @@
         field: "grade",
         title: "浼樺厛绾�",
         type: "int",
-        width: 80,
+        width: 60,
         align: "left",
       },
       {
@@ -176,6 +200,22 @@
         align: "left",
         hidden: true,
       },
+      
+      {
+        field: "createDate",
+        title: "鍒涘缓鏃堕棿",
+        type: "datetime",
+        width: 150,
+        align: "left",
+      },
+      
+      {
+        field: "modifyDate",
+        title: "淇敼鏃堕棿",
+        type: "datetime",
+        width: 160,
+        align: "left",
+      },
       {
         field: "creater",
         title: "鍒涘缓浜�",
@@ -184,24 +224,10 @@
         align: "left",
       },
       {
-        field: "createDate",
-        title: "鍒涘缓鏃堕棿",
-        type: "datetime",
-        width: 150,
-        align: "left",
-      },
-      {
         field: "modifier",
         title: "淇敼浜�",
         type: "string",
         width: 90,
-        align: "left",
-      },
-      {
-        field: "modifyDate",
-        title: "淇敼鏃堕棿",
-        type: "datetime",
-        width: 160,
         align: "left",
       },
       {

--
Gitblit v1.9.3