|
@@ -219,7 +219,7 @@ export default {
|
|
columnsDeep.unshift({
|
|
columnsDeep.unshift({
|
|
label: '序号',
|
|
label: '序号',
|
|
prop: 'tOrder',
|
|
prop: 'tOrder',
|
|
- width: '60',
|
|
|
|
|
|
+ width: '60'
|
|
})
|
|
})
|
|
return <cy-comm-table
|
|
return <cy-comm-table
|
|
columns={ columnsDeep }
|
|
columns={ columnsDeep }
|
|
@@ -232,7 +232,7 @@ export default {
|
|
{
|
|
{
|
|
label: '序号',
|
|
label: '序号',
|
|
prop: 'fOrder',
|
|
prop: 'fOrder',
|
|
- width: '60',
|
|
|
|
|
|
+ width: '60'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: '验收单货物编号',
|
|
label: '验收单货物编号',
|
|
@@ -327,7 +327,7 @@ export default {
|
|
columnsDeep.unshift({
|
|
columnsDeep.unshift({
|
|
label: '序号',
|
|
label: '序号',
|
|
prop: 'tOrder',
|
|
prop: 'tOrder',
|
|
- width: '60',
|
|
|
|
|
|
+ width: '60'
|
|
})
|
|
})
|
|
return <cy-comm-table
|
|
return <cy-comm-table
|
|
columns={ columnsDeep }
|
|
columns={ columnsDeep }
|
|
@@ -542,14 +542,9 @@ export default {
|
|
chooseToAcceptTheGoods(params).then(({ data }) => {
|
|
chooseToAcceptTheGoods(params).then(({ data }) => {
|
|
this.goodsTableData = data.rows
|
|
this.goodsTableData = data.rows
|
|
var selectRow = []
|
|
var selectRow = []
|
|
- const tableList = []
|
|
|
|
this.tableData.forEach(item => {
|
|
this.tableData.forEach(item => {
|
|
- tableList.push(...item.children)
|
|
|
|
- })
|
|
|
|
- tableList.forEach(item => {
|
|
|
|
selectRow.push(this.goodsTableData.find(row => row.acceptanceNumber === item.acceptanceGoodsNumber))
|
|
selectRow.push(this.goodsTableData.find(row => row.acceptanceNumber === item.acceptanceGoodsNumber))
|
|
})
|
|
})
|
|
-
|
|
|
|
this.$refs.goodsTable.toggleRowSelection(selectRow)
|
|
this.$refs.goodsTable.toggleRowSelection(selectRow)
|
|
this.goodsLoading = false
|
|
this.goodsLoading = false
|
|
})
|
|
})
|