Browse Source

feat(automatedWarehouse): 栈板操作功能增强与逻辑优化

- 新增根据 soreType 自动勾选强制整托出库功能- 实现栈板类型 A0103 选择时自动勾选强制整托出库
- 扫描接口增加 sortFlag 参数区分是否为分拣操作
- 优化 palletAssembly、palletPacking 和 palletSorting 页面逻辑一致性
master
常熟吴彦祖 3 months ago
parent
commit
f78cfcab95
  1. 18
      src/views/modules/automatedWarehouse/palletAssembly.vue
  2. 18
      src/views/modules/automatedWarehouse/palletPacking.vue
  3. 18
      src/views/modules/automatedWarehouse/palletSorting.vue

18
src/views/modules/automatedWarehouse/palletAssembly.vue

@ -718,6 +718,15 @@ export default {
this.currentPalletType = palletInfo.palletType || ''; this.currentPalletType = palletInfo.palletType || '';
this.currentAutoSort = palletInfo.autoSort || 'N'; this.currentAutoSort = palletInfo.autoSort || 'N';
// sore_Type=3 - rqrq
const soreType = palletInfo.soreType;
if (soreType === 3) {
this.forceFullPalletOut = true;
console.log('soreType=3,自动勾选强制整托出库 - rqrq');
} else {
this.forceFullPalletOut = false;
}
// palletFamily // palletFamily
this.loadPalletTypeList(); this.loadPalletTypeList();
} else { } else {
@ -789,6 +798,12 @@ export default {
// //
this.currentAutoSort = this.currentWcsAutoSort; this.currentAutoSort = this.currentWcsAutoSort;
// A0103 - rqrq
if (this.currentPalletType === 'A0103') {
this.forceFullPalletOut = true;
console.log('栈板类型选择了A0103,自动勾选强制整托出库 - rqrq');
}
// //
this.updateAutoSortControl(); this.updateAutoSortControl();
@ -1178,7 +1193,8 @@ export default {
palletId: this.palletCode, palletId: this.palletCode,
position: this.scanPosition, position: this.scanPosition,
layer: this.scanLayer, layer: this.scanLayer,
serialNo: this.scanCode
serialNo: this.scanCode,
sortFlag:0,//
}).then(({ data }) => { }).then(({ data }) => {
if (data.code === 0) { if (data.code === 0) {
this.$message.success('扫进成功'); this.$message.success('扫进成功');

18
src/views/modules/automatedWarehouse/palletPacking.vue

@ -794,6 +794,15 @@ export default {
this.currentPalletType = palletInfo.palletType || ''; this.currentPalletType = palletInfo.palletType || '';
this.currentAutoSort = palletInfo.autoSort || 'N'; this.currentAutoSort = palletInfo.autoSort || 'N';
// sore_Type=3 - rqrq
const soreType = palletInfo.soreType;
if (soreType === 3) {
this.forceFullPalletOut = true;
console.log('soreType=3,自动勾选强制整托出库 - rqrq');
} else {
this.forceFullPalletOut = false;
}
// palletFamily // palletFamily
this.loadPalletTypeList(); this.loadPalletTypeList();
} else { } else {
@ -865,6 +874,12 @@ export default {
// //
this.currentAutoSort = this.currentWcsAutoSort; this.currentAutoSort = this.currentWcsAutoSort;
// A0103 - rqrq
if (this.currentPalletType === 'A0103') {
this.forceFullPalletOut = true;
console.log('栈板类型选择了A0103,自动勾选强制整托出库 - rqrq');
}
// //
this.updateAutoSortControl(); this.updateAutoSortControl();
@ -1254,7 +1269,8 @@ export default {
palletId: this.palletCode, palletId: this.palletCode,
position: this.scanPosition, position: this.scanPosition,
layer: this.scanLayer, layer: this.scanLayer,
serialNo: this.scanCode
serialNo: this.scanCode,
sortFlag:0,//
}).then(({ data }) => { }).then(({ data }) => {
if (data.code === 0) { if (data.code === 0) {
this.$message.success('扫进成功'); this.$message.success('扫进成功');

18
src/views/modules/automatedWarehouse/palletSorting.vue

@ -651,6 +651,15 @@ export default {
this.currentPalletType = palletInfo.palletType || ''; this.currentPalletType = palletInfo.palletType || '';
this.currentAutoSort = palletInfo.autoSort || 'N'; this.currentAutoSort = palletInfo.autoSort || 'N';
// sore_Type=3 - rqrq
const soreType = palletInfo.soreType;
if (soreType === 3) {
this.forceFullPalletOut = true;
console.log('soreType=3,自动勾选强制整托出库 - rqrq');
} else {
this.forceFullPalletOut = false;
}
// palletFamily // palletFamily
this.loadPalletTypeList(); this.loadPalletTypeList();
} else { } else {
@ -722,6 +731,12 @@ export default {
// //
this.currentAutoSort = this.currentWcsAutoSort; this.currentAutoSort = this.currentWcsAutoSort;
// A0103 - rqrq
if (this.currentPalletType === 'A0103') {
this.forceFullPalletOut = true;
console.log('栈板类型选择了A0103,自动勾选强制整托出库 - rqrq');
}
// //
this.updateAutoSortControl(); this.updateAutoSortControl();
@ -1090,7 +1105,8 @@ export default {
palletId: this.palletCode, palletId: this.palletCode,
position: this.scanPosition, position: this.scanPosition,
layer: this.scanLayer, layer: this.scanLayer,
serialNo: this.scanCode
serialNo: this.scanCode,
sortFlag:1,//
}).then(({ data }) => { }).then(({ data }) => {
if (data.code === 0) { if (data.code === 0) {
// - rqrq // - rqrq

Loading…
Cancel
Save