Преглед на файлове

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

sufan преди 6 месеца
родител
ревизия
63fc9e91d5
променени са 1 файла, в които са добавени 3 реда и са изтрити 8 реда
  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
       })