From 937bc9e260293abcfca3e1b7ecab16c7bd23c4ee 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: Fri, 18 Sep 2026 18:05:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=88=E6=9D=BF=E5=88=86?= =?UTF-8?q?=E7=B1=BBbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../haianAutoWarehouse/haianPalletSorting.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/views/modules/haianAutoWarehouse/haianPalletSorting.vue b/src/views/modules/haianAutoWarehouse/haianPalletSorting.vue index bc29ff5..2ae4966 100644 --- a/src/views/modules/haianAutoWarehouse/haianPalletSorting.vue +++ b/src/views/modules/haianAutoWarehouse/haianPalletSorting.vue @@ -1038,6 +1038,8 @@ export default { partNo: original.partNo, createDate: original.createDate, createBy: original.createBy, + // 标记为人工分拣扫回,使后端跳过区域pack_able校验,其他标签状态校验仍保留 - rqrq + sortFlag: 1, // 分拣扫回固定回写0:语义是“恢复到已推送基线”,不把扫回数据再次当增量 - rqrq wcsFlag: 0 }).then(({ data }) => { @@ -1078,9 +1080,16 @@ export default { palletId: this.palletCode }).then(({ data }) => { if (data && data.code === 0) { - this.sortingList = [] + const sortedSource = this.sortedSourceFlag const resultRow = data.row || {} - this.$message.success(resultRow.message || (this.sortedSourceFlag ? '已通知托盘回库' : '分拣提交成功')) + this.$message.success(resultRow.message || (sortedSource ? '已通知托盘回库' : '分拣提交成功')) + if (sortedSource) { + // 被分拣栈板通知回库成功后清空整页状态,避免继续操作已提交的托盘和明细 - rqrq + this.resetPage(true) + } else { + // 普通分拣工作盘保持原行为,仅清空本次已查询的分拣清单 - rqrq + this.sortingList = [] + } } else { this.$alert((data && data.msg) || '分拣提交失败', '错误', { confirmButtonText: '确定' }) }