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