From 0ecb13952da74e8ba4a019b61299cec548218efe 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: Mon, 9 Nov 2026 11:40:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=86=E5=88=86=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../haianAutoWarehouse/haianPalletPacking.vue | 21 ++----------------- .../haianAutoWarehouse/haianPalletSorting.vue | 16 +++++++------- 2 files changed, 9 insertions(+), 28 deletions(-) diff --git a/src/views/modules/haianAutoWarehouse/haianPalletPacking.vue b/src/views/modules/haianAutoWarehouse/haianPalletPacking.vue index 71bceda..a385802 100644 --- a/src/views/modules/haianAutoWarehouse/haianPalletPacking.vue +++ b/src/views/modules/haianAutoWarehouse/haianPalletPacking.vue @@ -74,14 +74,6 @@ - -
- - - - -
-
{ if (data && data.code === 0) { diff --git a/src/views/modules/haianAutoWarehouse/haianPalletSorting.vue b/src/views/modules/haianAutoWarehouse/haianPalletSorting.vue index 7c1dbc7..9ce0b81 100644 --- a/src/views/modules/haianAutoWarehouse/haianPalletSorting.vue +++ b/src/views/modules/haianAutoWarehouse/haianPalletSorting.vue @@ -69,8 +69,8 @@
- -
+ +
@@ -1273,7 +1273,8 @@ export default { this.$alert('请先扫描栈板', '提示', { confirmButtonText: '确定' }) return } - if (!this.currentHeight) { + // 通知回库必须带页面选择的高度;工作盘提交分拣不选高度,传空 - rqrq + if (this.sortedSourceFlag && !this.currentHeight) { this.$alert('请选择托盘高度', '提示', { confirmButtonText: '确定' }) return } @@ -1281,7 +1282,7 @@ export default { completePalletAssemblyForFenJian({ site: this.site, palletId: this.palletCode, - height: this.currentHeight + height: this.sortedSourceFlag ? this.currentHeight : '' }).then(({ data }) => { if (data && data.code === 0) { const sortedSource = this.sortedSourceFlag @@ -1315,15 +1316,12 @@ export default { this.$alert('请先扫描栈板', '提示', { confirmButtonText: '确定' }) return } - if (!this.currentHeight) { - this.$alert('请选择托盘高度', '提示', { confirmButtonText: '确定' }) - return - } this.finishSortingLoading = true + // 结束分拣不选高度,固定传空 - rqrq finishSorting({ site: this.site, palletId: this.palletCode, - height: this.currentHeight + height: '' }).then(({ data }) => { if (data && data.code === 0) { this.$message.success('结束分拣成功')