From a7bd6e538027d876b3122f21c3b1d34663fb2f07 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期日, 25 一月 2026 14:18:51 +0800
Subject: [PATCH] 优化前端,修复库存托盘编号重复和WCS任务重发

---
 项目代码/WMS/WIDESEA_WMSClient/src/views/taskinfo/task_hty.vue |  123 +++++++++++++++++++++-------------------
 1 files changed, 65 insertions(+), 58 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/taskinfo/task_hty.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/taskinfo/task_hty.vue"
index fcc2545..c7ccdd7 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/taskinfo/task_hty.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/taskinfo/task_hty.vue"
@@ -61,12 +61,17 @@
     const columns = ref([
       {
         field: "taskId",
-        title: "taskId",
+        title: "涓婚敭",
         type: "int",
         width: 90,
+        align: "left",
         hidden: true,
-        readonly: true,
-        require: true,
+      },
+      {
+        field: "sourceId",
+        title: "浠诲姟鍙�",
+        type: "int",
+        width: 90,
         align: "left",
       },
       {
@@ -80,28 +85,37 @@
         field: "palletCode",
         title: "鎵樼洏缂栧彿",
         type: "string",
-        width: 160,
+        width: 120,
         align: "left",
-      },{
+      },
+      {
         field: "palletType",
         title: "鎵樼洏绫诲瀷",
         type: "string",
-        width: 120,
+        width: 80,
         align: "left",
         bind: { key: "taskhtypalltype", data: [] },
+      },
+      {
+        field: "warehouseId",
+        title: "浠撳簱缂栧彿",
+        type: "int",
+        width: 80,
+        align: "left",
+        bind: { key: "warehouseEnum", data: [] },
       },
       {
         field: "roadway",
         title: "宸烽亾鍙�",
         type: "string",
-        width: 120,
+        width: 70,
         align: "left",
       },
       {
         field: "taskType",
         title: "浠诲姟绫诲瀷",
         type: "int",
-        width: 120,
+        width: 90,
         align: "left",
         bind: { key: "taskTypeEnum", data: [] },
       },
@@ -109,7 +123,7 @@
         field: "taskStatus",
         title: "浠诲姟鐘舵��",
         type: "int",
-        width: 150,
+        width: 120,
         align: "left",
         bind: { key: "taskStatusEnum", data: [] },
       },
@@ -117,58 +131,58 @@
         field: "sourceAddress",
         title: "璧峰鍦板潃",
         type: "int",
-        width: 220,
+        width: 150,
         align: "left",
       },
       {
         field: "targetAddress",
         title: "鐩爣鍦板潃",
         type: "string",
-        width: 220,
+        width: 150,
         align: "left",
       },
       {
         field: "currentAddress",
         title: "褰撳墠浣嶇疆",
         type: "string",
-        width: 120,
+        width: 150,
         align: "left",
       },
       {
         field: "nextAddress",
         title: "涓嬩竴浣嶇疆",
         type: "string",
-        width: 120,
+        width: 150,
         align: "left",
       },
       {
-        field: "exceptionMessage",
-        title: "寮傚父淇℃伅",
+        field: "numberSsuances",
+        title: "寮傚父娆℃暟",
         type: "string",
-        width: 90,
-        align: "left",
-        hidden: true,
-      },
-      {
-        field: "grade",
-        title: "浼樺厛绾�",
-        type: "int",
-        width: 80,
+        width: 100,
         align: "left",
       },
       {
-        field: "depth",
-        title: "娣卞害",
-        type: "int",
-        width: 80,
+        field: "remark",
+        title: "澶囨敞",
+        type: "string",
+        width: 100,
         align: "left",
       },
+      // {
+      //   field: "grade",
+      //   title: "浼樺厛绾�",
+      //   type: "int",
+      //   width: 80,
+      //   align: "left",
+      // },
       {
         field: "dispatchertime",
         title: "浠诲姟涓嬪彂鏃堕棿",
         type: "datetime",
-        width: 150,
+        width: 160,
         align: "left",
+        hidden:true,
       },
       {
         field: "wMSId",
@@ -178,13 +192,13 @@
         align: "left",
         hidden: true,
       },
-      {
-        field: "creater",
-        title: "鍒涘缓浜�",
-        type: "string",
-        width: 90,
-        align: "left",
-      },
+      // {
+      //   field: "creater",
+      //   title: "鍒涘缓浜�",
+      //   type: "string",
+      //   width: 90,
+      //   align: "left",
+      // },
       {
         field: "createDate",
         title: "鍒涘缓鏃堕棿",
@@ -192,28 +206,21 @@
         width: 160,
         align: "left",
       },
-      {
-        field: "modifier",
-        title: "淇敼浜�",
-        type: "string",
-        width: 100,
-        align: "left",
-      },
-      {
-        field: "modifyDate",
-        title: "淇敼鏃堕棿",
-        type: "datetime",
-        width: 160,
-        align: "left",
-      },
-      {
-        field: "remark",
-        title: "澶囨敞",
-        type: "string",
-        width: 100,
-        align: "left",
-        hidden: true,
-      },
+      // {
+      //   field: "modifier",
+      //   title: "淇敼浜�",
+      //   type: "string",
+      //   width: 100,
+      //   align: "left",
+      // },
+      // {
+      //   field: "modifyDate",
+      //   title: "淇敼鏃堕棿",
+      //   type: "datetime",
+      //   width: 160,
+      //   align: "left",
+      // },
+      
     ]);
     const detail = ref({
       cnName: "#detailCnName",

--
Gitblit v1.9.3