Browse Source

2025-12-26

pda其他出库优化
master
fengyuan_yang 3 weeks ago
parent
commit
909653ce02
  1. 5
      src/views/modules/other-inout/otherOutboundDetail.vue
  2. 3
      src/views/modules/other-inout/otherOutboundList.vue

5
src/views/modules/other-inout/otherOutboundDetail.vue

@ -231,7 +231,8 @@ export default {
// //
showPartNameTooltip: false, showPartNameTooltip: false,
currentPartName: '', currentPartName: '',
tooltipStyle: { top: '0px', left: '0px' }
tooltipStyle: { top: '0px', left: '0px' },
relatedNo: ''
}; };
}, },
methods: { methods: {
@ -456,6 +457,7 @@ export default {
buNo: this.buNo, buNo: this.buNo,
warehouseId: getCurrentWarehouse(), warehouseId: getCurrentWarehouse(),
site: localStorage.getItem('site'), site: localStorage.getItem('site'),
relatedNo: this.relatedNo,
}; };
getOtherOutboundDetails(params).then(({ data }) => { getOtherOutboundDetails(params).then(({ data }) => {
@ -475,6 +477,7 @@ export default {
// //
this.outboundNo = this.$route.params.outboundNo; this.outboundNo = this.$route.params.outboundNo;
this.buNo = this.$route.params.buNo; this.buNo = this.$route.params.buNo;
this.relatedNo = this.$route.params.relatedNo;
if (!this.outboundNo || !this.buNo) { if (!this.outboundNo || !this.buNo) {
this.$message.error('参数错误'); this.$message.error('参数错误');
this.$router.back(); this.$router.back();

3
src/views/modules/other-inout/otherOutboundList.vue

@ -161,7 +161,8 @@ export default {
name: 'otherOutboundDetail', name: 'otherOutboundDetail',
params: { params: {
buNo: item.buNo, buNo: item.buNo,
outboundNo: item.outboundNo
outboundNo: item.outboundNo,
relatedNo: item.relatedNo
} }
}); });
} }

Loading…
Cancel
Save