From 997b2c7bfe7900b7689dbbbb79d52801a94ddb64 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Thu, 19 Dec 2024 16:46:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=85=A5=E5=BA=93=E4=BB=BB=E5=8A=A1):=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=8B=E5=8A=A8=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/wm/wmsInTask/index.vue | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/views/mes/wm/wmsInTask/index.vue b/src/views/mes/wm/wmsInTask/index.vue index a6dcf48..676b874 100644 --- a/src/views/mes/wm/wmsInTask/index.vue +++ b/src/views/mes/wm/wmsInTask/index.vue @@ -105,6 +105,13 @@ @click="handleIssue(scope.row)" >下发 + 手动入库 + @@ -287,10 +294,10 @@ export default { // 库房类型编码 warehouseTypeCode:"DDJ", // 物料信息 - materialId: task.materialId, - materialCode: task.materialCode, - materialName: task.materialName, - materialCount: task.actualInQuantity, + // materialId: task.materialId, + // materialCode: task.materialCode, + // materialName: task.materialName, + // materialCount: task.actualInQuantity, rfid: "", // 出库OR入库 type: "RK", @@ -305,6 +312,15 @@ export default { // this.getList(); // }); }, + /** + * 手动执行入库任务 + */ + manualIssue(task) { + issueBatchWmsInTask([task.id.toString()]).then(response => { + this.$modal.msgSuccess("执行成功"); + this.getList(); + }); + }, // 取消按钮 cancel() { this.open = false;