From 8ae1a147aefadbb255edde088e7c12535c5f02d4 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 08 十月 2025 20:35:51 +0800
Subject: [PATCH] 完善输送线和堆垛机任务处理逻辑在CommonConveyorLine_NewCW.cs`中添加版本注释和设备属性定义,增强设备连接状态检查与命令发送逻辑。 修改 CommonConveyorLine_GWJob.cs`的任务查询逻辑,确保在特定条件下不下发新任务。在CommonConveyorLine_NewCWJob.cs中实现请求入库和出库的处理逻辑,确保任务状态更新。在 RequestInbound.cs中添加出库任务和新任务的处理逻辑,增强异常处理。 在CommonStackerCrane_NewCWJob.cs中实现堆垛机任务完成事件的处理,确保状态更新和前端通知。新增设备型号修改相关常量和 DTO 类,更新服务接口和实现逻辑,确保设备型号修改请求的正确处理。修改 Dt_TaskService.cs中的任务处理逻辑,确保出库任务的库存判断和状态更新。
---
Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js | 108 ++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 77 insertions(+), 31 deletions(-)
diff --git a/Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js b/Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js
index b3cef84..6481b4b 100644
--- a/Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js
+++ b/Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js
@@ -5,8 +5,8 @@
icon: 'el-icon-search',
class: '',
type: 'primary',
- onClick: function() {
- this.search();
+ onClick: function () {
+ this.search()
}
},
{
@@ -14,36 +14,36 @@
icon: 'el-icon-plus',
value: 'Add',
class: '',
- plain:true,
- // type: 'success',
- color:"#67C23A",
+ plain: true,
+ type: 'success',
+ // color: '#67C23A',
// plain:true,
- onClick: function() {
- this.add();
+ onClick: function () {
+ this.add()
}
},
{
name: '缂栬緫',
icon: 'el-icon-edit',
value: 'Update',
- plain:true,
+ plain: true,
class: '',
- color:"#79bbff",
+ color: '#79bbff',
type: 'primary',
- onClick: function() {
- this.edit();
+ onClick: function () {
+ this.edit()
}
},
{
name: '鍒犻櫎',
icon: 'el-icon-delete',
class: '',
- plain:true,
+ plain: true,
value: 'Delete',
type: 'danger',
- color:"#F56C6C",
- onClick: function() {
- this.del();
+ color: '#F56C6C',
+ onClick: function () {
+ this.del()
}
},
{
@@ -53,8 +53,8 @@
value: 'Audit',
plain: true,
type: 'primary',
- onClick: function() {
- this.audit();
+ onClick: function () {
+ this.audit()
}
},
{
@@ -65,11 +65,11 @@
// plain: true,
// type: 'danger',
// color:"rgb(254, 240, 240)",
- plain:true,
+ plain: true,
// type: 'success',
- color:"#67C23A",
- onClick: function() {
- this.antiAudit();
+ color: '#67C23A',
+ onClick: function () {
+ this.antiAudit()
}
},
{
@@ -79,8 +79,8 @@
type: 'success',
plain: true,
value: 'Import',
- onClick: function() {
- this.import();
+ onClick: function () {
+ this.import()
}
},
{
@@ -89,8 +89,8 @@
type: 'primary',
plain: true,
value: 'Export',
- onClick: function() {
- this.export();
+ onClick: function () {
+ this.export()
}
},
{
@@ -98,12 +98,58 @@
icon: 'el-icon-printer',
type: 'primary',
plain: true,
- color:"#529b2e",
+ color: '#529b2e',
value: 'Print',
- onClick: function() {
- this.printClick();
+ onClick: function () {
+ this.printClick()
}
- }
-];
+ },{
+ name: '浠诲姟瀹屾垚',
+ // icon: 'el-icon-printer',
+ type: 'primary',
+ // plain: true,
+ // color: '#529b2e',
+ value: 'TaskHandComplete',
+ onClick: function () {
+
+ }
+ },{
+ name: '鐩存帴鍑哄簱',
+ // icon: 'el-icon-printer',
+ type: 'primary',
+ // plain: true,
+ // color: '#529b2e',
+ value: 'OutBound',
+ onClick: function () {
+
+ }
+ },{
+ name: '鍒濆鍖栧簱浣�',
+ type: 'primary',
+ // color: '#529b2e',
+ value: 'initializeLocation',
+ onClick: function () {
+
+ }
+
+ },{
+ name: '琛ュ綍鏁版嵁',
+ type: 'primary',
+ // color: '#529b2e',
+ value: 'SupplementationData',
+ onClick: function () {
+
+ }
+ },{
+ name: '鎵嬪姩鍑哄簱',
+ type: 'primary',
+ // color: '#529b2e',
+ value: 'HandOutTask',
+ onClick: function () {
+
+ }
+
+ },
+]
-export default buttons;
+export default buttons
--
Gitblit v1.9.3