From f59f3b24814387573b5bca9a9b6c832a3720ee7e Mon Sep 17 00:00:00 2001
From: zhangchengsong <zhangchengsong@hnkhzn.com>
Date: 星期三, 22 四月 2026 17:46:35 +0800
Subject: [PATCH] 最新
---
项目代码/WIDESEAWCS_Client/src/views/taskinfo/task_hty.vue | 130 ++++++++++++++++++++++++++++++++-----------
1 files changed, 97 insertions(+), 33 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Client/src/views/taskinfo/task_hty.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Client/src/views/taskinfo/task_hty.vue"
index be30fda..964f693 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Client/src/views/taskinfo/task_hty.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Client/src/views/taskinfo/task_hty.vue"
@@ -21,13 +21,15 @@
const table = ref({
key: "taskId",
footer: "Foots",
- cnName: "浠诲姟淇℃伅",
+ cnName: "浠诲姟鍘嗗彶淇℃伅",
name: "task_hty",
- url: "/Task_hty/",
+ url: "/task_hty/",
sortName: "CreateDate",
});
- const editFormFields = ref({});
- const editFormOptions = ref([]);
+ const editFormFields = ref({
+ });
+ const editFormOptions = ref([
+ ]);
const searchFormFields = ref({
taskNum: "",
palletCode: "",
@@ -47,15 +49,37 @@
title: "浠诲姟绫诲瀷",
field: "taskType",
type: "selectList",
- dataKey: "taskType",
- data: [],
+ dataKey: "",
+ data:[
+ { value: "鍑哄簱", key: 100 },
+ { value: "鍏ュ簱", key: 200 },
+ { value: "鐩樼偣", key: 300 },
+ ]
},
{
title: "浠诲姟鐘舵��",
field: "taskState",
type: "selectList",
- dataKey: "taskState",
- data: [],
+ dataKey: "",
+ data: [
+ { value: "鏂板缓鍑哄簱浠诲姟", key: 100 },
+ { value: "鍫嗗灈鏈哄嚭搴撴墽琛屼腑", key: 110 },
+ { value: "鍑哄簱浠诲姟瀹屾垚", key: 190 },
+ { value: "鍑哄簱浠诲姟鎸傝捣", key: 198 },
+ { value: "鍑哄簱浠诲姟鍙栨秷", key: 199 },
+
+ { value: "鏂板缓鍏ュ簱浠诲姟", key: 200 },
+ { value: "鍫嗗灈鏈哄叆搴撴墽琛屼腑", key: 210 },
+ { value: "鍏ュ簱浠诲姟瀹屾垚", key: 290 },
+ { value: "鍏ュ簱浠诲姟鎸傝捣", key: 298 },
+ { value: "鍏ュ簱浠诲姟鍙栨秷", key: 299 },
+
+ { value: "鏂板缓鐩樼偣浠诲姟", key: 300 },
+ { value: "鍫嗗灈鏈虹洏鐐规墽琛屼腑", key: 310 },
+ { value: "鐩樼偣浠诲姟瀹屾垚", key: 390 },
+ { value: "鐩樼偣浠诲姟鎸傝捣", key: 398 },
+ { value: "鐩樼偣浠诲姟鍙栨秷", key: 399 }
+ ],
},
],
[
@@ -66,8 +90,9 @@
],
[
{ title: "宸烽亾鍙�", field: "roadway", type: "like" },
- { title: "鍒涘缓浜�", field: "creater", type: "like" },
+ { title: "鍒涘缓浜�", field: "creater", type: "select",dataKey: "",data:[{value:"WCS",key:"WCS"},{value:"WMS",key:"WMS"}] },
{ title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
+ {title: "澶囨敞",field: "remark",type:"select",dataKey: "",data: [{value:"浜哄伐鎵嬪姩鍒犻櫎",key:"浜哄伐鎵嬪姩鍒犻櫎"},{value:"浜哄伐鎵嬪姩鍙栨秷",key:"浜哄伐鎵嬪姩鍙栨秷"},{value:"浜哄伐鎵嬪姩瀹屾垚",key:"浜哄伐鎵嬪姩瀹屾垚"}]}
],
]);
const columns = ref([
@@ -75,20 +100,25 @@
field: "taskId",
title: "TaskId",
type: "int",
- width: 90,
+ width: 80,
hidden: true,
readonly: true,
require: true,
align: "left",
- sort:true,
},
{
field: "taskNum",
- title: "浠诲姟鍙�",
+ title: "WCS浠诲姟鍙�",
type: "int",
- width: 90,
+ width: 100,
align: "left",
- sort:true,
+ },
+ {
+ field: "wmStaskid",
+ title: "WMS浠诲姟鍙�",
+ type: "string",
+ width: 180,
+ align: "left",
},
{
field: "palletCode",
@@ -96,7 +126,6 @@
type: "string",
width: 200,
align: "left",
- sort:true,
},
{
field: "roadway",
@@ -104,7 +133,6 @@
type: "string",
width: 90,
align: "left",
- sort:true,
},
{
field: "taskType",
@@ -112,8 +140,14 @@
type: "int",
width: 90,
align: "left",
- bind: { key: "taskType", data: [] },
- sort:true,
+ bind: {
+ key: "",
+ data:[
+ { value: "鍑哄簱", key: 100 },
+ { value: "鍏ュ簱", key: 200 },
+ { value: "鐩樼偣", key: 300 },
+ ]
+ }
},
{
field: "taskState",
@@ -121,8 +155,27 @@
type: "int",
width: 150,
align: "left",
- bind: { key: "taskState", data: [] },
- sort:true,
+ bind: {
+ key: "",
+ data: [
+ { value: "鏂板缓鍑哄簱浠诲姟", key: 100 },
+ { value: "鍫嗗灈鏈哄嚭搴撴墽琛屼腑", key: 110 },
+ { value: "鍑哄簱浠诲姟瀹屾垚", key: 190 },
+ { value: "鍑哄簱浠诲姟鎸傝捣", key: 198 },
+ { value: "鍑哄簱浠诲姟鍙栨秷", key: 199 },
+
+ { value: "鏂板缓鍏ュ簱浠诲姟", key: 200 },
+ { value: "鍫嗗灈鏈哄叆搴撴墽琛屼腑", key: 210 },
+ { value: "鍏ュ簱浠诲姟瀹屾垚", key: 290 },
+ { value: "鍏ュ簱浠诲姟鎸傝捣", key: 298 },
+ { value: "鍏ュ簱浠诲姟鍙栨秷", key: 299 },
+
+ { value: "鏂板缓鐩樼偣浠诲姟", key: 300 },
+ { value: "鍫嗗灈鏈虹洏鐐规墽琛屼腑", key: 310 },
+ { value: "鐩樼偣浠诲姟瀹屾垚", key: 390 },
+ { value: "鐩樼偣浠诲姟鎸傝捣", key: 398 },
+ { value: "鐩樼偣浠诲姟鍙栨秷", key: 399 }
+ ]},
},
{
field: "sourceAddress",
@@ -158,15 +211,14 @@
type: "string",
width: 90,
align: "left",
- hidden: true,
},
- {
- field: "grade",
- title: "浼樺厛绾�",
- type: "int",
- width: 80,
- align: "left",
- },
+ // {
+ // field: "grade",
+ // title: "浼樺厛绾�",
+ // type: "int",
+ // width: 80,
+ // align: "left",
+ // },
{
field: "dispatchertime",
title: "浠诲姟涓嬪彂鏃堕棿",
@@ -175,13 +227,26 @@
align: "left",
},
{
+ field: "wMSId",
+ title: "WMS浠诲姟涓婚敭",
+ type: "int",
+ width: 120,
+ align: "left",
+ hidden: true,
+ },{
+ field: "deviceuuid",
+ title: "璁惧UID",
+ type: "string",
+ width: 150,
+ align: "left",
+ },
+ {
field: "remark",
title: "澶囨敞",
type: "string",
- width: 200,
+ width: 130,
align: "left",
- bind: {key: "",data:[{key:"浜哄伐鎵嬪姩瀹屾垚",value:"浜哄伐鎵嬪姩瀹屾垚"},{key:"浜哄伐鎵嬪姩鍙栨秷",value: "浜哄伐鎵嬪姩鍙栨秷"}]},
- sort:true,
+ bind: {key:"",data:[{value:"浜哄伐鎵嬪姩鍒犻櫎",key:"浜哄伐鎵嬪姩鍒犻櫎"},{value:"浜哄伐鎵嬪姩鍙栨秷",key:"浜哄伐鎵嬪姩鍙栨秷"},{value:"浜哄伐鎵嬪姩瀹屾垚",key:"浜哄伐鎵嬪姩瀹屾垚"}] }
},
{
field: "creater",
@@ -189,6 +254,7 @@
type: "string",
width: 90,
align: "left",
+ bind: { key: "", data: [{value:"WCS",key:"WCS"},{value:"WMS",key:"WMS"}] },
},
{
field: "createDate",
@@ -196,7 +262,6 @@
type: "datetime",
width: 150,
align: "left",
- sort:true,
},
{
field: "modifier",
@@ -211,7 +276,6 @@
type: "datetime",
width: 160,
align: "left",
- sort:true,
},
]);
--
Gitblit v1.9.3