Browse Source

修改栈板分类bug

dev
常熟吴彦祖 1 week ago
parent
commit
85a46f507d
  1. 13
      src/views/modules/haianAutoWarehouse/haianPalletAssembly.vue
  2. 15
      src/views/modules/haianAutoWarehouse/haianPalletPacking.vue

13
src/views/modules/haianAutoWarehouse/haianPalletAssembly.vue

@ -677,6 +677,11 @@ export default {
this.openCallEmptyModal() this.openCallEmptyModal()
}, },
showScanModal() { showScanModal() {
// A0206 - rqrq
if (this.operationType === 'in' && this.currentPalletType === 'A0206') {
this.$alert('A0206类型栈板不允许主动扫入标签', '错误', { confirmButtonText: '确定' })
return
}
this.scanModalVisible = true this.scanModalVisible = true
this.scanCode = '' this.scanCode = ''
this.currentSelectedPosition = '' this.currentSelectedPosition = ''
@ -833,6 +838,14 @@ export default {
return return
} }
this.scanRequestLoading = true this.scanRequestLoading = true
// A0206 - rqrq
if (this.currentPalletType === 'A0206') {
this.scanRequestLoading = false
this.scanCode = ''
this.$alert('A0206类型栈板不允许主动扫入标签', '错误', { confirmButtonText: '确定' })
this.moveFocusToScanInput()
return
}
savePalletDetail({ savePalletDetail({
site: this.site, site: this.site,
palletId: this.palletCode, palletId: this.palletCode,

15
src/views/modules/haianAutoWarehouse/haianPalletPacking.vue

@ -721,8 +721,13 @@ export default {
} }
this.openCallEmptyModal() this.openCallEmptyModal()
}, },
// PDA - rqrq
// A0206 - rqrq
showScanModal() { showScanModal() {
// A0206 - rqrq
if (this.operationType === 'in' && this.currentPalletType === 'A0206') {
this.$alert('A0206类型栈板不允许主动扫入标签', '错误', { confirmButtonText: '确定' })
return
}
this.scanModalVisible = true this.scanModalVisible = true
this.scanCode = '' this.scanCode = ''
this.currentSelectedPosition = '' this.currentSelectedPosition = ''
@ -885,6 +890,14 @@ export default {
return return
} }
this.scanRequestLoading = true this.scanRequestLoading = true
// A0206 - rqrq
if (this.currentPalletType === 'A0206') {
this.scanRequestLoading = false
this.scanCode = ''
this.$alert('A0206类型栈板不允许主动扫入标签', '错误', { confirmButtonText: '确定' })
this.moveFocusToScanInput()
return
}
savePalletDetail({ savePalletDetail({
site: this.site, site: this.site,
palletId: this.palletCode, palletId: this.palletCode,

Loading…
Cancel
Save