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('结束分拣成功')