From daea1a90c2fa1b5cc2f52e62be15bd95cc4155f6 Mon Sep 17 00:00:00 2001
From: Tiandele <tiandele@hnkhzn.com>
Date: 星期五, 20 三月 2026 17:16:04 +0800
Subject: [PATCH] 优化手动锁车逻辑
---
项目代码/WCS/WCSClient/src/views/taskinfo/task.vue | 100 ++++++++++++++++++++++++++++----------------------
1 files changed, 56 insertions(+), 44 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSClient/src/views/taskinfo/task.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSClient/src/views/taskinfo/task.vue"
index 8f4c81b..a5456b6 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSClient/src/views/taskinfo/task.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSClient/src/views/taskinfo/task.vue"
@@ -1,19 +1,11 @@
<template>
- <view-grid
- ref="grid"
- :columns="columns"
- :detail="detail"
- :editFormFields="editFormFields"
- :editFormOptions="editFormOptions"
- :searchFormFields="searchFormFields"
- :searchFormOptions="searchFormOptions"
- :table="table"
- :extend="extend"
- >
+ <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
+ :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions"
+ :table="table" :extend="extend">
</view-grid>
</template>
- <script>
+<script>
import extend from "@/extension/taskinfo/task.js";
import { ref, defineComponent } from "vue";
export default defineComponent({
@@ -24,15 +16,15 @@
cnName: "浠诲姟淇℃伅",
name: "task",
url: "/Task/",
- sortName: "CreateDate",
+ sortName: "createDate",
});
const editFormFields = ref({
- taskNum:"",
+ taskNum: "",
palletCode: "",
roadway: "",
- taskType:"",
- taskState:"",
- wMSId:"",
+ taskType: "",
+ taskState: "",
+ wMSId: "",
sourceAddress: "",
targetAddress: "",
currentAddress: "",
@@ -40,7 +32,8 @@
creater: "",
createDate: "",
grade: "",
- productionLine:""
+ carType:"",
+ pvi:""
});
const editFormOptions = ref([[{ title: "浼樺厛绾�", field: "grade", type: "int" },]]);
const searchFormFields = ref({
@@ -57,21 +50,16 @@
const searchFormOptions = ref([
[
{ title: "浠诲姟鍙�", field: "taskNum", type: "int" },
- { title: "鎵樼洏缂栧彿", field: "palletCode", type: "text" },
- {
+ { title: "婊戞﹪鍙�", field: "palletCode", type: "text" },
+ { title: "PVI鐮�", field: "palletCode", type: "text" },
+ {
title: "浠诲姟绫诲瀷",
field: "taskType",
type: "selectList",
dataKey: "taskType",
data: [],
- },
- {
- title: "浠诲姟鐘舵��",
- field: "taskState",
- type: "selectList",
- dataKey: "taskState",
- data: [],
- },
+ }
+
],
[
{ title: "璧峰鍦板潃", field: "sourceAddress", type: "text" },
@@ -80,10 +68,19 @@
{ title: "涓嬩竴浣嶇疆", field: "nextAddress", type: "text" },
],
[
+
+ {
+ title: "浠诲姟鐘舵��",
+ field: "taskState",
+ type: "selectList",
+ dataKey: "taskState",
+ data: [],
+ },
{ title: "宸烽亾鍙�", field: "roadway", type: "text" },
- { "title": "鐢熶骇浜х嚎", "field": "productionLine", type: "select", dataKey: "ProductionLine", data: [] },
+ // { "title": "鐢熶骇浜х嚎", "field": "productionLine", type: "select", dataKey: "ProductionLine", data: [] },
{ title: "鍒涘缓浜�", field: "creater", type: "text" },
{ title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
+
],
]);
const columns = ref([
@@ -106,9 +103,16 @@
},
{
field: "palletCode",
- title: "鎵樼洏缂栧彿",
+ title: "婊戞﹪鍙�",
type: "string",
- width: 160,
+ width: 100,
+ align: "left",
+ },
+ {
+ field: "pvi",
+ title: "PVI鐮�",
+ type: "string",
+ width: 100,
align: "left",
},
{
@@ -133,6 +137,14 @@
width: 150,
align: "left",
bind: { key: "taskState", data: [] },
+ },
+ {
+ field: "carType",
+ title: "杞﹀瀷",
+ type: "int",
+ width: 90,
+ align: "left",
+
},
{
field: "sourceAddress",
@@ -162,27 +174,27 @@
width: 110,
align: "left",
},
- {
- field: "productionLine",
- title: "浜х嚎",
- type: "string",
- width: 70,
- align: "left",
- bind: { key: "ProductionLine", data: [] }
- },
+ // {
+ // field: "productionLine",
+ // title: "浜х嚎",
+ // type: "string",
+ // width: 70,
+ // align: "left",
+ // bind: { key: "ProductionLine", data: [] }
+ // },
{
field: "exceptionMessage",
title: "寮傚父淇℃伅",
type: "string",
- width: 90,
+ width: 150,
align: "left",
-
+
},
{
field: "grade",
title: "浼樺厛绾�",
type: "int",
- width: 60,
+ width: 90,
align: "left",
},
{
@@ -200,7 +212,7 @@
align: "left",
hidden: true,
},
-
+
{
field: "createDate",
title: "鍒涘缓鏃堕棿",
@@ -208,7 +220,7 @@
width: 150,
align: "left",
},
-
+
{
field: "modifyDate",
title: "淇敼鏃堕棿",
--
Gitblit v1.9.3