diff --git a/src/views/modules/automatedWarehouse/callOutToStation.vue b/src/views/modules/automatedWarehouse/callOutToStation.vue index 3a1b5e4..2bde563 100644 --- a/src/views/modules/automatedWarehouse/callOutToStation.vue +++ b/src/views/modules/automatedWarehouse/callOutToStation.vue @@ -355,7 +355,9 @@ export default { site: this.site }).then(({ data }) => { if (data.code === 0) { - this.areaOptions = data.rows || []; + // 过滤掉Z199区域,Call料到指定位置不允许选择Z199 - rqrq + const allOptions = data.rows || []; + this.areaOptions = allOptions.filter(area => area.areaId !== 'Z199'); } else { this.areaOptions = []; this.$alert('获取区域选项失败', '错误', { diff --git a/src/views/modules/automatedWarehouse/palletChangeStation.vue b/src/views/modules/automatedWarehouse/palletChangeStation.vue index 90a2a6d..5c3c626 100644 --- a/src/views/modules/automatedWarehouse/palletChangeStation.vue +++ b/src/views/modules/automatedWarehouse/palletChangeStation.vue @@ -210,7 +210,7 @@ export default { if (data.code === 0) { // 后端返回正确的6位栈板码,赋值给输入框 - rqrq this.palletCode = data.row.palletId; - + // 如果栈板被调用,提示并清空 - rqrq if (data.row.callingFlag === 'Y') { this.$alert('栈板被调用,请选择其他栈板', '提示', { @@ -296,7 +296,10 @@ export default { site: this.site }).then(({ data }) => { if (data.code === 0) { - this.areaOptions = data.rows || []; + // this.areaOptions = data.rows || []; + // 过滤掉Z199区域,位置不允许选择Z199 - rqrq + const allOptions = data.rows || []; + this.areaOptions = allOptions.filter(area => area.areaId !== 'Z199'); } else { this.areaOptions = []; this.$alert('获取区域选项失败', '错误', { diff --git a/src/views/modules/automatedWarehouse/palletManualMove.vue b/src/views/modules/automatedWarehouse/palletManualMove.vue index 9a05f85..b6bf91f 100644 --- a/src/views/modules/automatedWarehouse/palletManualMove.vue +++ b/src/views/modules/automatedWarehouse/palletManualMove.vue @@ -258,7 +258,7 @@ export default { if (data.code === 0) { // 后端返回正确的6位栈板码,赋值给输入框 - rqrq this.palletCode = data.row.palletId; - + // 如果托盘被调用,提示用户 - rqrq if (data.row.callingFlag === 'Y') { this.$alert('托盘被调用,无法进行移动操作', '提示', {