From a8be8f9371b6fc03b66d212b2902d08f93b087dd Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期三, 02 七月 2025 13:55:55 +0800 Subject: [PATCH] 新增任务查询方法并优化逻辑在 `ITaskService.cs` 中添加了新的 `QueryExecutingConveyorLineTask` 方法,支持根据托盘号和下一地址查询任务,同时调整了原有方法的参数以保留旧功能。在 `TaskService.cs` 中新增重载方法,允许根据下一地址和条形码查询任务。在 `CommonConveyorLine_GWJob.cs` 中更新了 `ConveyorLineOutFinish` 方法,简化了任务查询逻辑并删除了多余的注释代码。同时,增加了对 `taskNext` 的处理逻辑,确保在任务未找到时的相应处理,并更新在途数据的逻辑,提升数据一致性和准确性。 --- Code Management/WMS/WIDESEA_WMSClient/src/router/tables.js | 124 ++++++++++++++++++++++++++++++---------- 1 files changed, 92 insertions(+), 32 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSClient/src/router/tables.js b/Code Management/WMS/WIDESEA_WMSClient/src/router/tables.js index d361047..8167dd3 100644 --- a/Code Management/WMS/WIDESEA_WMSClient/src/router/tables.js +++ b/Code Management/WMS/WIDESEA_WMSClient/src/router/tables.js @@ -4,28 +4,28 @@ name: 'Dt_AreaInfo', component: () => import('@/views/widesea_wms/basicinfo/Dt_AreaInfo.vue'), meta: { - keepAlive: false + } }, { path: '/Dt_BillGroupStock', name: 'Dt_BillGroupStock', component: () => import('@/views/widesea_wms/stock/Dt_BillGroupStock.vue'), - meta: { - keepAlive: false - } }, // { // path: '/Dt_BillGroupStockDetail', // name: 'Dt_BillGroupStockDetail', - // component: () => import('@/views/widesea_wms/stock/Dt_BillGroupStockDetail.vue') + // component: () => import('@/views/widesea_wms/stock/Dt_BillGroupStockDetail.vue'), + // meta: { + // + // } // }, { path: '/Dt_InboundOrder', name: 'Dt_InboundOrder', component: () => import('@/views/widesea_wms/invoices/Dt_InboundOrder.vue'), meta: { - keepAlive: false + } }, { @@ -33,7 +33,7 @@ name: 'Dt_InboundOrderDetail', component: () => import('@/views/widesea_wms/invoices/Dt_InboundOrderDetail.vue'), meta: { - keepAlive: false + } }, { @@ -41,7 +41,7 @@ name: 'Dt_LocationInfo', component: () => import('@/views/widesea_wms/basicinfo/Dt_LocationInfo.vue'), meta: { - keepAlive: false + } }, { @@ -49,7 +49,7 @@ name: 'Dt_MaterielAttribute', component: () => import('@/views/widesea_wms/material/Dt_MaterielAttribute.vue'), meta: { - keepAlive: false + } }, { @@ -57,7 +57,7 @@ name: 'Dt_MaterielInfo', component: () => import('@/views/widesea_wms/material/Dt_MaterielInfo.vue'), meta: { - keepAlive: false + } }, { @@ -65,7 +65,7 @@ name: 'Dt_OutOrder', component: () => import('@/views/widesea_wms/invoices/Dt_OutOrder.vue'), meta: { - keepAlive: false + } }, { @@ -73,7 +73,7 @@ name: 'Dt_OutOrderAndStock', component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderAndStock.vue'), meta: { - keepAlive: false + } }, { @@ -81,7 +81,7 @@ name: 'Dt_OutOrderDetail', component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderDetail.vue'), meta: { - keepAlive: false + } }, { @@ -89,7 +89,7 @@ name: 'Dt_OutOrderProduction', component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderProduction.vue'), meta: { - keepAlive: false + } }, { @@ -97,7 +97,7 @@ name: 'Dt_OutOrderProductionDetail', component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderProductionDetail.vue'), meta: { - keepAlive: false + } }, { @@ -105,7 +105,7 @@ name: 'Dt_OutOrderTransfer', component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderTransfer.vue'), meta: { - keepAlive: false + } }, { @@ -113,7 +113,7 @@ name: 'Dt_OutOrderTransferDetail', component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderTransferDetail.vue'), meta: { - keepAlive: false + } }, { @@ -121,7 +121,7 @@ name: 'Dt_RoadWayInfo', component: () => import('@/views/widesea_wms/basicinfo/Dt_RoadWayInfo.vue'), meta: { - keepAlive: false + } }, { @@ -129,7 +129,7 @@ name: 'Dt_Strategy', component: () => import('@/views/widesea_wms/basicinfo/Dt_Strategy.vue'), meta: { - keepAlive: false + } }, { @@ -137,23 +137,30 @@ name: 'Dt_Task', component: () => import('@/views/widesea_wms/taskinfo/Dt_Task.vue'), meta: { - keepAlive: false + } - }, - { - path: '/Dt_TaskOut', - name: 'Dt_TaskOut', - component: () => import('@/views/widesea_wms/taskinfo/Dt_TaskOut.vue'), + },{ + path: '/Dt_Task_Hty', + name: 'Dt_Task_Hty', + component: () => import('@/views/widesea_wms/taskinfo/Dt_Task_Hty.vue'), meta: { - keepAlive: false + } }, + // { + // path: '/Dt_TaskOut', + // name: 'Dt_TaskOut', + // component: () => import('@/views/widesea_wms/taskinfo/Dt_TaskOut.vue'), + // meta: { + // + // } + // }, // { // path: '/Dt_TaskExecuteDetail', // name: 'Dt_TaskExecuteDetail', // component: () => import('@/views/widesea_wms/taskinfo/Dt_TaskExecuteDetail.vue'), // meta: { - // keepAlive: false + // // } // }, { @@ -161,7 +168,7 @@ name: 'Dt_UnitInfo', component: () => import('@/views/widesea_wms/basicinfo/Dt_UnitInfo.vue'), meta: { - keepAlive: false + } }, { @@ -169,7 +176,7 @@ name: 'Dt_WareAreaInfo', component: () => import('@/views/widesea_wms/basicinfo/Dt_WareAreaInfo.vue'), meta: { - keepAlive: false + } }, { @@ -177,7 +184,7 @@ name: 'Dt_OutOrderSorting', component: () => import('@/views/widesea_wms/invoices/Dt_OutOrderSorting.vue'), meta: { - keepAlive: false + } }, // { @@ -190,7 +197,7 @@ name: 'PointStackerRelation', component: () => import('@/views/widesea_wms/basicinfo/PointStackerRelation.vue'), meta: { - keepAlive: false + } }, { @@ -198,8 +205,61 @@ name: 'LocationStatusChange', component: () => import('@/views/widesea_wms/basicinfo/LocationStatusChange.vue'), meta: { + + } + }, + { + path: '/DtBoxing', + name: 'DtBoxing', + component: () => import('@/views/widesea_wms/stock/DtBoxingInfo.vue'), + meta: { + + } + }, + { + path: '/momTest', + name: 'momTest', + component: () => import('@/views/widesea_wms/MOM/momTest.vue'), + meta: { + + } + }, + { + path: '/ProductionModel', + name: 'ProductionModel', + component: () => import('@/views/widesea_wms/MOM/ProductionModel.vue'), + meta: { + + } + }, + { + path: '/Dt_StationManager', + name: 'Dt_StationManager', + component: () => import('@/views/widesea_wms/basicinfo/Dt_StationManager.vue'), + meta: { + + } + },{ + path: '/Dt_needBarcode', + name: 'Dt_needBarcode', + component: () => import('@/views/widesea_wms/basicinfo/Dt_needBarcode.vue'), + meta: { + + } + },{ + path: '/MOMErrorMessage', + name: 'MOMErrorMessage', + component: () => import('@/views/widesea_wms/MOM/MOMErrorMessage.vue'), + meta: { keepAlive: false } - } + },{ + path: '/Dt_Changeovers', + name: 'Dt_Changeovers', + component: () => import('@/views/widesea_wms/basicinfo/Dt_Changeovers.vue'), + meta: { + keepAlive: false + } + }, ] export default tables -- Gitblit v1.9.3