From 76255788aa2fb0f4b7f0aa9430bf4da03e72acf8 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: Wed, 24 Dec 2025 16:50:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/check/currentPhysicalInventory.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/views/modules/check/currentPhysicalInventory.vue b/src/views/modules/check/currentPhysicalInventory.vue index ae92ff1..0e0963f 100644 --- a/src/views/modules/check/currentPhysicalInventory.vue +++ b/src/views/modules/check/currentPhysicalInventory.vue @@ -6,8 +6,7 @@ 刷 新 下 达 推 送 - - + 审 批 完 成 @@ -24,6 +23,9 @@ {{ autoAdjustLoading ? '处理中...' : '自动处理盈亏' }} + + {{ continuePushLoading ? '推送中...' : '手工继续推送' }} + @@ -485,6 +487,9 @@ export default { taskDetailListLoading: false, currentTask: null, + // 继续推送相关 - rqrq + continuePushLoading: false, + // 复核弹框相关 - rqrq reviewDialogVisible: false, reviewLoading: false, @@ -783,14 +788,15 @@ export default { }).catch(() => {}) }, - // 继续推送 - rqrq + // 继续推送(手工触发继续下达任务,防止自动推送异常中断)- rqrq handleContinuePush() { if (!this.headerData) return - this.$confirm('确认继续推送盘点单 ' + this.headerData.countNo + ' 的后续栈板到WCS?', '提示', { + this.$confirm('确认继续推送盘点单 ' + this.headerData.countNo + ' 的后续栈板到WCS?\n\n注:如果存在未完成的任务单,将无法继续推送。', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => { + this.continuePushLoading = true // 开始loading - rqrq const params = { site: this.$store.state.user.site, countNo: this.headerData.countNo, @@ -805,6 +811,8 @@ export default { } }).catch(() => { this.$alert('网络错误', '错误', { confirmButtonText: '确定' }) + }).finally(() => { + this.continuePushLoading = false // 结束loading - rqrq }) }).catch(() => {}) },