|
|
|
@ -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 { |
|
|
|
|