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 方法,支持动态更新货位信息。
---
项目代码/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_BillGroupStock.vue | 34 ++++++++++++++++++++++------------
1 files changed, 22 insertions(+), 12 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_BillGroupStock.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_BillGroupStock.vue"
index 61b7749..ce86558 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_BillGroupStock.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_BillGroupStock.vue"
@@ -25,9 +25,10 @@
sortName: "createDate"
});
const editFormFields = ref({
- palletCode:"",
- locationCode:"",
- stockStatus:"",
+ palletCode: "",
+ locationCode: "",
+ stockStatus: "",
+ remark: ""
});
const editFormOptions = ref([
@@ -41,10 +42,11 @@
], [
{ "title": "搴撲綅鍙�", "field": "locationCode", type: "text" },
{ "title": "璐т綅鐘舵��", "field": "locationStatus", type: "select", dataKey: "LocationState", data: [] },
- { "title": "鍖哄煙", "field": "areaId", type: "select", dataKey: "AreaType", data: []},
+ { "title": "鍖哄煙", "field": "areaId", type: "select", dataKey: "AreaType", data: [] },
]
, [
{ "title": "鐗╂枡缂栫爜", "field": "materielCode", type: "text" },
+ { "title": "鐗╂枡鍚嶇О", "field": "materielName", type: "text" },
]
]);
const columns = ref(
@@ -55,10 +57,10 @@
{ field: 'floor', title: '妤煎眰', type: 'int', width: 60, align: 'left', bind: { key: "Floor", data: [] } },
{ field: 'areaId', title: '鍖哄煙', type: 'int', width: 120, align: 'left', bind: { key: "AreaType", data: [] } },
{ field: 'stockStatus', title: '搴撳瓨鐘舵��', type: 'int', width: 90, align: 'left', bind: { key: "StockStateEmun", data: [] } },
- { field: 'remark', title: '澶囨敞', type: 'string', width: 60, align: 'left', },
+ { field: 'remark', title: '澶囨敞', type: 'string', width: 60, align: 'left', hidden: true },
{ field: 'creater', title: '鍒涘缓浜�', type: 'string', sort: true, width: 110, align: 'left', hidden: true },
{ field: 'createDate', title: '鍒涘缓鏃堕棿', type: 'datetime', sort: true, width: 150, align: 'left', },
- { field: 'modifier', title: '鏈�鍚庝慨鏀逛汉', type: 'string', sort: true, width: 100, align: 'left' },
+ { field: 'modifier', title: '鏈�鍚庝慨鏀逛汉', type: 'string', sort: true, width: 100, align: 'left' },
]
);
const detail = ref({
@@ -128,14 +130,21 @@
required: true,
},
{
- field: "remark",
+ field: "allocateWarehouse",
title: "璋冩嫧浠撳簱",
type: "string",
- width: 100,
+ width: 150,
align: "left",
edit: { type: "select" },
required: true,
- bind: { key: "AreaType", data: [] }
+ bind: { key: "WareAreaType", data: [] }
+ },
+ {
+ field: "remark",
+ title: "澶囨敞",
+ type: "string",
+ width: 100,
+ align: "left",
},
{
field: "unit",
@@ -171,6 +180,7 @@
type: "string",
width: 120,
align: "left",
+ hidden: true
},
{
field: "status",
@@ -178,7 +188,7 @@
type: "string",
width: 120,
align: "left",
- hidden:true,
+ hidden: true,
},
{
field: "creater",
@@ -200,7 +210,7 @@
type: "string",
width: 100,
align: "left",
- hidden:true,
+ hidden: true,
},
{
field: "modifyDate",
@@ -208,7 +218,7 @@
type: "datetime",
width: 160,
align: "left",
- hidden:true,
+ hidden: true,
}
],
sortName: "id",
--
Gitblit v1.9.3