diff --git a/src/views/modules/print/rePrintPoPart.vue b/src/views/modules/print/rePrintPoPart.vue index 2f25ad5..575acec 100644 --- a/src/views/modules/print/rePrintPoPart.vue +++ b/src/views/modules/print/rePrintPoPart.vue @@ -38,6 +38,7 @@ + diff --git a/src/views/modules/qc/inboundNotification.vue b/src/views/modules/qc/inboundNotification.vue index 5f5cacb..5be9376 100644 --- a/src/views/modules/qc/inboundNotification.vue +++ b/src/views/modules/qc/inboundNotification.vue @@ -1439,8 +1439,8 @@ // 可选物料 partClickRow1 (row) { - const tableRef = this.detailSearchData.orderType === '其他入库' - ? this.$refs.partTable1Other + const tableRef = this.detailSearchData.orderType === '其他入库' + ? this.$refs.partTable1Other : this.$refs.partTable1Production if (tableRef) { tableRef.toggleRowSelection(row) @@ -1449,8 +1449,8 @@ // 已有物料 partClickRow2 (row) { - const tableRef = this.detailSearchData.orderType === '其他入库' - ? this.$refs.partTable2Other + const tableRef = this.detailSearchData.orderType === '其他入库' + ? this.$refs.partTable2Other : this.$refs.partTable2Production if (tableRef) { tableRef.toggleRowSelection(row) @@ -1584,7 +1584,11 @@ // 入库明细 inboundDetailModal (row) { - getInboundDetail2(row).then(({data}) => { + let tempData = { + ...row, + orderType: this.currentRow.orderType + } + getInboundDetail2(tempData).then(({data}) => { if (data && data.code === 0) { this.detailList2 = data.rows } else { diff --git a/src/views/modules/qc/outboundNotification.vue b/src/views/modules/qc/outboundNotification.vue index 3b9c779..87d4e62 100644 --- a/src/views/modules/qc/outboundNotification.vue +++ b/src/views/modules/qc/outboundNotification.vue @@ -1595,7 +1595,11 @@ // 出库明细 outboundDetailModal (row) { - getOutboundDetail2(row).then(({data}) => { + let tempData = { + ...row, + orderType: this.currentRow.orderType + } + getOutboundDetail2(tempData).then(({data}) => { if (data && data.code === 0) { this.detailList2 = data.rows } else {