From 4def1b383885aecdf55623381a914ef5bcd43cd0 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期四, 31 十月 2024 14:33:11 +0800 Subject: [PATCH] 添加序列特性,可自动赋值 --- WIDESEAWCS_Client/src/views/taskinfo/task.vue | 30 +++++++++++++++++++++--------- 1 files changed, 21 insertions(+), 9 deletions(-) diff --git a/WIDESEAWCS_Client/src/views/taskinfo/task.vue b/WIDESEAWCS_Client/src/views/taskinfo/task.vue index da44e7f..1c1154f 100644 --- a/WIDESEAWCS_Client/src/views/taskinfo/task.vue +++ b/WIDESEAWCS_Client/src/views/taskinfo/task.vue @@ -32,8 +32,6 @@ taskNum: "", palletCode: "", roadway: "", - taskType: "", - taskState: "", sourceAddress: "", targetAddress: "", currentAddress: "", @@ -45,8 +43,20 @@ [ { title: "浠诲姟鍙�", field: "taskNum", type: "int" }, { title: "鎵樼洏缂栧彿", field: "palletCode", type: "like" }, - { title: "浠诲姟绫诲瀷", field: "taskType", type: "int" }, - { title: "浠诲姟鐘舵��", field: "taskState", type: "int" }, + { + title: "浠诲姟绫诲瀷", + field: "taskType", + type: "selectList", + dataKey: "taskType", + data: [], + }, + { + title: "浠诲姟鐘舵��", + field: "taskState", + type: "selectList", + dataKey: "taskState", + data: [], + }, ], [ { title: "璧峰鍦板潃", field: "sourceAddress", type: "like" }, @@ -75,14 +85,14 @@ field: "taskNum", title: "浠诲姟鍙�", type: "int", - width: 60, + width: 90, align: "left", }, { field: "palletCode", title: "鎵樼洏缂栧彿", type: "string", - width: 150, + width: 200, align: "left", }, { @@ -98,13 +108,15 @@ type: "int", width: 90, align: "left", + bind: { key: "taskType", data: [] }, }, { field: "taskState", title: "浠诲姟鐘舵��", type: "int", - width: 90, + width: 150, align: "left", + bind: { key: "taskState", data: [] }, }, { field: "sourceAddress", @@ -124,14 +136,14 @@ field: "currentAddress", title: "褰撳墠浣嶇疆", type: "string", - width: 90, + width: 120, align: "left", }, { field: "nextAddress", title: "涓嬩竴浣嶇疆", type: "string", - width: 90, + width: 120, align: "left", }, { -- Gitblit v1.9.3