From c6265b1f32a6c6c4e4dd478efe27d23e7d825859 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 12 十一月 2025 16:40:25 +0800
Subject: [PATCH] 优化任务逻辑,新增API支持动态货位更新重构任务处理逻辑,支持基于区域的任务分配,优化货位状态更新,减少重复代码 更新项目路径和文档路径,反映文件结构调整。 新增 UpdateStartLocationInfo和RequestLocationAPI 方法,支持动态更新货位信息。
---
项目代码/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue | 34 +++++++++++++---------------------
1 files changed, 13 insertions(+), 21 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue"
index 6493485..855e46f 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/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({
@@ -27,12 +19,12 @@
sortName: "CreateDate",
});
const editFormFields = ref({
- taskNum:"",
+ taskNum: "",
palletCode: "",
roadway: "",
- taskType:"",
- taskState:"",
- wMSId:"",
+ taskType: "",
+ taskState: "",
+ wMSId: "",
sourceAddress: "",
targetAddress: "",
currentAddress: "",
@@ -40,7 +32,7 @@
creater: "",
createDate: "",
grade: "",
- productionLine:""
+ productionLine: ""
});
const editFormOptions = ref([[{ title: "浼樺厛绾�", field: "grade", type: "int" },]]);
const searchFormFields = ref({
@@ -144,7 +136,7 @@
field: "targetAddress",
title: "鐩爣鍦板潃",
type: "string",
- width: 120,
+ width: 150,
align: "left",
},
{
@@ -167,7 +159,7 @@
type: "string",
width: 90,
align: "left",
-
+
},
{
field: "grade",
@@ -191,7 +183,7 @@
align: "left",
hidden: true,
},
-
+
{
field: "createDate",
title: "鍒涘缓鏃堕棿",
@@ -199,7 +191,7 @@
width: 150,
align: "left",
},
-
+
{
field: "modifyDate",
title: "淇敼鏃堕棿",
--
Gitblit v1.9.3