From ec0fa3966ae8923297bafcca6cf1dad6a03b5630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Fri, 10 Apr 2026 11:43:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(wms):=20=E7=A7=BB=E9=99=A4=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E6=8F=90=E4=BA=A4=E6=8C=89=E9=92=AE=E5=B9=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BA=8C=E6=AC=A1=E8=B0=83=E6=95=B4=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除批次调拨页面中的重新提交按钮,改为使用updateTransferOrder API更新调拨单状态 --- klp-ui/src/views/wms/move/batch.vue | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/klp-ui/src/views/wms/move/batch.vue b/klp-ui/src/views/wms/move/batch.vue index 55ea936e..cfd674db 100644 --- a/klp-ui/src/views/wms/move/batch.vue +++ b/klp-ui/src/views/wms/move/batch.vue @@ -149,14 +149,14 @@ v-if="scope.row.approveStatus == '1'" icon="el-icon-refresh" >撤回 - 重新提交 + >二次调整 --> { - // this.$modal.msgSuccess('重新提交成功'); - // this.getList(); - // }).finally(() => { - // this.loading = false; - // }); - // 模拟API调用 - setTimeout(() => { - this.loading = false; + updateTransferOrder({ + ...row, + approveStatus: '0', + }).then(response => { this.$modal.msgSuccess('重新提交成功'); this.getList(); - }, 1000); + }).finally(() => { + this.loading = false; + }); }); }, /** 刷新调拨单明细列表 */