From d2c19eb1f1d03dc494259f3df95bc63230c791a1 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期四, 03 七月 2025 16:20:39 +0800 Subject: [PATCH] 添加任务删除功能并简化代码逻辑在 `ITaskService.cs` 中新增 `Delete` 方法以支持任务删除,并在 `TaskService.cs` 中实现该方法,适配任务并调用基类删除逻辑。同时,优化了 `RequestInbound.cs` 中的 `CreateAndSendEmptyTrayTask` 和 `RequestWmsTask` 方法,移除冗余注释和不必要的查询,提升代码可读性和维护性。 --- Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 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 c22340f..f306f76 100644 --- a/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue +++ b/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue @@ -32,7 +32,7 @@ roadway: "", taskType:"", taskState:"", - wmsId:"", + wMSId:"", sourceAddress: "", targetAddress: "", currentAddress: "", @@ -57,7 +57,7 @@ const searchFormOptions = ref([ [ { title: "浠诲姟鍙�", field: "taskNum", type: "int" }, - { title: "鎵樼洏缂栧彿", field: "palletCode", type: "like" }, + { title: "鎵樼洏缂栧彿", field: "palletCode", type: "text" }, { title: "浠诲姟绫诲瀷", field: "taskType", @@ -74,15 +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: "roadway", type: "text" }, { "title": "鐢熶骇浜х嚎", "field": "productionLine", type: "select", dataKey: "ProductionLine", data: [] }, - { title: "鍒涘缓浜�", field: "creater", type: "like" }, + { title: "鍒涘缓浜�", field: "creater", type: "text" }, { title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" }, ], ]); @@ -193,7 +193,7 @@ align: "left", }, { - field: "wmsId", + field: "wMSId", title: "WMS浠诲姟涓婚敭", type: "int", width: 120, -- Gitblit v1.9.3