Browse Source

2025-08-25 pda采购、生产入库优化

master
fengyuan_yang 5 months ago
parent
commit
563c5bb046
  1. 3
      src/views/modules/production/productionInboundStorage.vue
  2. 13
      src/views/modules/purchase-inbound/inboundStorage.vue

3
src/views/modules/production/productionInboundStorage.vue

@ -338,9 +338,8 @@ export default {
confirmInboundStorage(params).then(({ data }) => {
if (data && data.code === 0) {
this.$message.success('操作成功');
this.validateAndAddLabel(this.materialInfo.inboundNo);
this.showLocationDialog = false;
//this.$router.back();
this.$router.back();
} else {
this.$message.error(data.msg || '操作失败');
}

13
src/views/modules/purchase-inbound/inboundStorage.vue

@ -337,16 +337,15 @@ export default {
};
confirmInboundStorage(params).then(({ data }) => {
if (data && data.code === 0) {
this.$message.success('操作成功');
this.validateAndAddLabel(this.materialInfo.inboundNo);
this.showLocationDialog = false;
//this.$router.back();
this.$message.success('操作成功')
this.showLocationDialog = false
this.$router.back()
} else {
this.$message.error(data.msg || '操作失败');
this.$message.error(data.msg || '操作失败')
}
}).catch(error => {
console.error('上架失败:', error);
this.$message.error('操作失败');
console.error('上架失败:', error)
this.$message.error('操作失败')
});
},

Loading…
Cancel
Save