From 6a9ccbb5e9f9789446ebbdc51deca0f17e11a99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Thu, 5 Mar 2026 14:38:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(automatedWarehouse):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E8=AF=A6=E6=83=85=E6=9F=A5=E8=AF=A2=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E5=BC=BA=E5=88=B6=E5=AE=8C=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 closeNotifyTask API 接口用于关闭申请单任务 - 在通知详情查询表格中添加操作列,显示强制完成按钮 - 只有推送WCS=是且立库取出=否的数据才显示关闭按钮 - 实现 closeTask 方法处理强制完成逻辑 - 添加确认对话框防止误操作 - 调用接口更新 transport_flag 为 'Y' 并解除栈板调用状态 - 完成后刷新列表并显示成功消息 - 使用 $nextTick 确保表格高度计算正确 --- .../automatedWarehouse/notifyDetailQuery.js | 7 +++ .../automatedWarehouse/notifyDetailQuery.vue | 63 ++++++++++++++++++- 2 files changed, 67 insertions(+), 3 deletions(-) diff --git a/src/api/automatedWarehouse/notifyDetailQuery.js b/src/api/automatedWarehouse/notifyDetailQuery.js index 3181390..a00bb30 100644 --- a/src/api/automatedWarehouse/notifyDetailQuery.js +++ b/src/api/automatedWarehouse/notifyDetailQuery.js @@ -15,3 +15,10 @@ export const searchNotifyOrderList = data => createAPI('/automatedWarehouse/noti */ export const searchMaterialListDetail = data => createAPI('/automatedWarehouse/notifyDetailQuery/searchMaterialListDetail', 'post', data) +// ========== 业务操作 ========== - rqrq + +/** + * 关闭申请单任务 - rqrq + * 功能:更新transport_flag为'Y',解除栈板调用状态 + */ +export const closeNotifyTask = data => createAPI('/automatedWarehouse/notifyDetailQuery/closeNotifyTask', 'post', data) diff --git a/src/views/modules/automatedWarehouse/notifyDetailQuery.vue b/src/views/modules/automatedWarehouse/notifyDetailQuery.vue index 1f8765e..265da29 100644 --- a/src/views/modules/automatedWarehouse/notifyDetailQuery.vue +++ b/src/views/modules/automatedWarehouse/notifyDetailQuery.vue @@ -78,6 +78,21 @@ {{ scope.row[item.columnProp] }} + + + + + @@ -137,7 +152,8 @@