From 1267da8787d9f011786712f1e175ea6b7f1adbad Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <1247017146@qq.com> Date: 星期一, 07 四月 2025 15:12:24 +0800 Subject: [PATCH] 11 --- Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue | 84 +++++++++++++++++++++++++++-------------- 1 files changed, 55 insertions(+), 29 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 1c1154f..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" }, ], ]); @@ -92,7 +108,7 @@ field: "palletCode", title: "鎵樼洏缂栧彿", type: "string", - width: 200, + width: 160, align: "left", }, { @@ -136,15 +152,23 @@ field: "currentAddress", title: "褰撳墠浣嶇疆", type: "string", - width: 120, + width: 110, align: "left", }, { field: "nextAddress", title: "涓嬩竴浣嶇疆", type: "string", - width: 120, + width: 110, align: "left", + }, + { + field: "productionLine", + title: "浜х嚎", + type: "string", + width: 70, + align: "left", + bind: { key: "ProductionLine", data: [] } }, { field: "exceptionMessage", @@ -158,14 +182,14 @@ field: "grade", title: "浼樺厛绾�", type: "int", - width: 80, + width: 60, align: "left", }, { field: "dispatchertime", title: "浠诲姟涓嬪彂鏃堕棿", type: "datetime", - width: 150, + width: 110, 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: 100, - align: "left", - }, - { - field: "modifyDate", - title: "淇敼鏃堕棿", - type: "datetime", - width: 160, + width: 90, align: "left", }, { -- Gitblit v1.9.3