diff --git a/src/views/modules/other-inout/otherOutboundDetail.vue b/src/views/modules/other-inout/otherOutboundDetail.vue index 6e6fa5b..c700102 100644 --- a/src/views/modules/other-inout/otherOutboundDetail.vue +++ b/src/views/modules/other-inout/otherOutboundDetail.vue @@ -231,7 +231,8 @@ export default { // 物料名称提示框相关 showPartNameTooltip: false, currentPartName: '', - tooltipStyle: { top: '0px', left: '0px' } + tooltipStyle: { top: '0px', left: '0px' }, + relatedNo: '' }; }, methods: { @@ -456,6 +457,7 @@ export default { buNo: this.buNo, warehouseId: getCurrentWarehouse(), site: localStorage.getItem('site'), + relatedNo: this.relatedNo, }; getOtherOutboundDetails(params).then(({ data }) => { @@ -475,6 +477,7 @@ export default { // 获取路由参数 this.outboundNo = this.$route.params.outboundNo; this.buNo = this.$route.params.buNo; + this.relatedNo = this.$route.params.relatedNo; if (!this.outboundNo || !this.buNo) { this.$message.error('参数错误'); this.$router.back(); diff --git a/src/views/modules/other-inout/otherOutboundList.vue b/src/views/modules/other-inout/otherOutboundList.vue index 03952d9..363b668 100644 --- a/src/views/modules/other-inout/otherOutboundList.vue +++ b/src/views/modules/other-inout/otherOutboundList.vue @@ -161,7 +161,8 @@ export default { name: 'otherOutboundDetail', params: { buNo: item.buNo, - outboundNo: item.outboundNo + outboundNo: item.outboundNo, + relatedNo: item.relatedNo } }); }