diff --git a/src/views/modules/other-inout/otherInboundDetail.vue b/src/views/modules/other-inout/otherInboundDetail.vue index 0a96874..f53a809 100644 --- a/src/views/modules/other-inout/otherInboundDetail.vue +++ b/src/views/modules/other-inout/otherInboundDetail.vue @@ -349,7 +349,8 @@ export default { // 物料名称提示框相关 showPartNameTooltip: false, currentPartName: '', - tooltipStyle: { top: '0px', left: '0px' } + tooltipStyle: { top: '0px', left: '0px' }, + relatedOrderNo: '' }; }, methods: { @@ -489,8 +490,9 @@ export default { buNo: this.inboundInfo.buNo, inboundNo: this.inboundNo, documentType: '其他入库', // 单据类型 - warehouseId: getCurrentWarehouse() // 当前仓库 - }; + warehouseId: getCurrentWarehouse(), // 当前仓库 + relatedOrderNo: this.relatedOrderNo + } getMaterialList(params).then(({ data }) => { if (data && data.code === 0) { @@ -861,6 +863,7 @@ export default { buNo: this.buNo, warehouseId: getCurrentWarehouse(), site: localStorage.getItem('site'), + relatedOrderNo: this.relatedOrderNo }; getOtherInboundDetails(params).then(({ data }) => { @@ -920,6 +923,7 @@ export default { // 获取路由参数 this.inboundNo = this.$route.params.inboundNo; this.buNo = this.$route.params.buNo; + this.relatedOrderNo = this.$route.params.relatedOrderNo; if (!this.inboundNo || !this.buNo) { this.$message.error('参数错误'); this.$router.back(); diff --git a/src/views/modules/other-inout/otherInboundList.vue b/src/views/modules/other-inout/otherInboundList.vue index 4d8b1dd..4a9bc0a 100644 --- a/src/views/modules/other-inout/otherInboundList.vue +++ b/src/views/modules/other-inout/otherInboundList.vue @@ -46,10 +46,6 @@