Quellcode durchsuchen

fix(融资申请):融资选择货物

sufan vor 5 Monaten
Ursprung
Commit
63fc9e91d5
1 geänderte Dateien mit 3 neuen und 8 gelöschten Zeilen
  1. 3 8
      src/views/myFinancing/applyFinancing/index.vue

+ 3 - 8
src/views/myFinancing/applyFinancing/index.vue

@@ -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
       })