Browse Source

运输栈板

dev
常熟吴彦祖 1 hour ago
parent
commit
84a30449d8
  1. 23
      src/views/modules/haianAutoWarehouse/haianEmptyPalletAssembly.vue

23
src/views/modules/haianAutoWarehouse/haianEmptyPalletAssembly.vue

@ -49,7 +49,7 @@
<div class="input-group"> <div class="input-group">
<label class="input-label">空托数量</label> <label class="input-label">空托数量</label>
<el-select v-model="count">
<el-select v-model="count" disabled>
<el-option value=1 label=1></el-option> <el-option value=1 label=1></el-option>
<el-option value=2 label=2></el-option> <el-option value=2 label=2></el-option>
<el-option value=3 label=3></el-option> <el-option value=3 label=3></el-option>
@ -272,6 +272,21 @@ export default {
}); });
}, },
// arealocation_code - rqrq
validateNotifyInboundPalletStatus() {
const areaCode = this.palletInfo && this.palletInfo.area ? String(this.palletInfo.area).trim() : ''
const locationCode = this.palletInfo && this.palletInfo.locationCode
? String(this.palletInfo.locationCode).trim()
: (this.palletInfo && this.palletInfo.currentStationCode ? String(this.palletInfo.currentStationCode).trim() : '')
if (areaCode || locationCode) {
this.$alert('通知入库仅允许未绑定站点的空托盘', '提示', {
confirmButtonText: '确定'
})
return false
}
return true
},
// - rqrq // - rqrq
handleNotifyInbound() { handleNotifyInbound() {
if (!this.currentPalletType) { if (!this.currentPalletType) {
@ -280,6 +295,9 @@ export default {
}); });
return; return;
} }
if (!this.validateNotifyInboundPalletStatus()) {
return;
}
// - rqrq // - rqrq
this.selectedInboundPort = ''; this.selectedInboundPort = '';
this.inboundPortDialogVisible = true; this.inboundPortDialogVisible = true;
@ -299,6 +317,9 @@ export default {
}); });
return; return;
} }
if (!this.validateNotifyInboundPalletStatus()) {
return;
}
this.inboundPortDialogVisible = false; this.inboundPortDialogVisible = false;
this.$confirm('确定要执行通知入库操作吗?', '确认操作', { this.$confirm('确定要执行通知入库操作吗?', '确认操作', {
confirmButtonText: '确定', confirmButtonText: '确定',

Loading…
Cancel
Save