From d20a0bf191b78b59d18af198b7816a273e1cc283 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期二, 10 三月 2026 09:38:57 +0800
Subject: [PATCH] 前端表格与查询条件优化,修正后端排序逻辑

---
 项目代码/WCS/WCSClient/src/views/taskinfo/task.vue |   58 +++++++++++++++++++++++++---------------------------------
 1 files changed, 25 insertions(+), 33 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSClient/src/views/taskinfo/task.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSClient/src/views/taskinfo/task.vue"
index 8f4c81b..4a5b91b 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSClient/src/views/taskinfo/task.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSClient/src/views/taskinfo/task.vue"
@@ -1,19 +1,11 @@
 
 <template>
-  <view-grid
-    ref="grid"
-    :columns="columns"
-    :detail="detail"
-    :editFormFields="editFormFields"
-    :editFormOptions="editFormOptions"
-    :searchFormFields="searchFormFields"
-    :searchFormOptions="searchFormOptions"
-    :table="table"
-    :extend="extend"
-  >
+  <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
+    :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions"
+    :table="table" :extend="extend">
   </view-grid>
 </template>
-  <script>
+<script>
 import extend from "@/extension/taskinfo/task.js";
 import { ref, defineComponent } from "vue";
 export default defineComponent({
@@ -24,15 +16,15 @@
       cnName: "浠诲姟淇℃伅",
       name: "task",
       url: "/Task/",
-      sortName: "CreateDate",
+      sortName: "createDate",
     });
     const editFormFields = ref({
-      taskNum:"",
+      taskNum: "",
       palletCode: "",
       roadway: "",
-      taskType:"",
-      taskState:"",
-      wMSId:"",
+      taskType: "",
+      taskState: "",
+      wMSId: "",
       sourceAddress: "",
       targetAddress: "",
       currentAddress: "",
@@ -40,7 +32,7 @@
       creater: "",
       createDate: "",
       grade: "",
-      productionLine:""
+      productionLine: ""
     });
     const editFormOptions = ref([[{ title: "浼樺厛绾�", field: "grade", type: "int" },]]);
     const searchFormFields = ref({
@@ -106,9 +98,9 @@
       },
       {
         field: "palletCode",
-        title: "鎵樼洏缂栧彿",
+        title: "婊戞﹪鍙�",
         type: "string",
-        width: 160,
+        width: 100,
         align: "left",
       },
       {
@@ -162,27 +154,27 @@
         width: 110,
         align: "left",
       },
-      {
-        field: "productionLine",
-        title: "浜х嚎",
-        type: "string",
-        width: 70,
-        align: "left", 
-        bind: { key: "ProductionLine", data: [] } 
-      },
+      // {
+      //   field: "productionLine",
+      //   title: "浜х嚎",
+      //   type: "string",
+      //   width: 70,
+      //   align: "left",
+      //   bind: { key: "ProductionLine", data: [] }
+      // },
       {
         field: "exceptionMessage",
         title: "寮傚父淇℃伅",
         type: "string",
-        width: 90,
+        width: 150,
         align: "left",
-       
+
       },
       {
         field: "grade",
         title: "浼樺厛绾�",
         type: "int",
-        width: 60,
+        width: 90,
         align: "left",
       },
       {
@@ -200,7 +192,7 @@
         align: "left",
         hidden: true,
       },
-      
+
       {
         field: "createDate",
         title: "鍒涘缓鏃堕棿",
@@ -208,7 +200,7 @@
         width: 150,
         align: "left",
       },
-      
+
       {
         field: "modifyDate",
         title: "淇敼鏃堕棿",

--
Gitblit v1.9.3