常熟吴彦祖 3 months ago
parent
commit
e1480c07e5
  1. 14
      src/views/modules/automatedWarehouse/palletAssembly.vue
  2. 14
      src/views/modules/automatedWarehouse/palletPacking.vue

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

@ -486,12 +486,14 @@ export default {
}).then(({ data }) => {
if (data.code === 0) {
this.palletCode=data.palletId
this.palletScanned = true;
this.positionOptions = data.positions || [];
// palletTypeautoSort
this.loadPalletInfo();
this.refreshTable();
this.$nextTick(()=>{
this.palletScanned = true;
this.positionOptions = data.positions || [];
// palletTypeautoSort
this.loadPalletInfo();
this.refreshTable();
})
} else {
this.$message.error(data.msg || '栈板不存在');
}

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

@ -556,14 +556,16 @@ export default {
palletId: this.palletCode
}).then(({ data }) => {
if (data.code === 0) {
this.palletCode=data.palletId
this.palletScanned = true;
this.positionOptions = data.positions || [];
this.palletCode = data.palletId
this.$nextTick(()=> {
this.palletScanned = true;
this.positionOptions = data.positions || [];
// palletTypeautoSort
this.loadPalletInfo();
// palletTypeautoSort
this.loadPalletInfo();
this.refreshTable();
this.refreshTable();
}
} else {
this.$message.error(data.msg || '栈板不存在');
}

Loading…
Cancel
Save