|
@@ -64,7 +64,7 @@
|
64
|
64
|
<el-form>
|
65
|
65
|
<el-table :data="tableData" border style="100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row ref="tab">
|
66
|
66
|
<el-table-column align="center" prop="name" label="分类" width="120">
|
67
|
|
- <template slot-scope="scope">{{getId(scope.row.cost_classify)}}</template>
|
|
67
|
+ <template slot-scope="scope">{{getId(scope.row.statistical_classification)}}</template>
|
68
|
68
|
</el-table-column>
|
69
|
69
|
<el-table-column align="center" prop="name" label="组套明细" width="120">
|
70
|
70
|
<template slot-scope="scope">{{scope.row.project_name}}</template>
|
|
@@ -190,7 +190,7 @@ export default {
|
190
|
190
|
}
|
191
|
191
|
}
|
192
|
192
|
}
|
193
|
|
- console.log("数据222222",list)
|
|
193
|
+
|
194
|
194
|
var strArr = []
|
195
|
195
|
for(let i=0;i<arr.length;i++){
|
196
|
196
|
for(let j=0;j<list.length;j++){
|
|
@@ -199,6 +199,7 @@ export default {
|
199
|
199
|
}
|
200
|
200
|
}
|
201
|
201
|
}
|
|
202
|
+ console.log("数据222222",strArr)
|
202
|
203
|
this.tableData = strArr
|
203
|
204
|
|
204
|
205
|
|
|
@@ -260,8 +261,10 @@ export default {
|
260
|
261
|
})
|
261
|
262
|
},
|
262
|
263
|
getId(id){
|
|
264
|
+ console.log("id",id)
|
263
|
265
|
var name = ""
|
264
|
266
|
var statistics_category = getDictionaryDataConfig('system','statistics_category')
|
|
267
|
+ console.log("statics",statistics_category)
|
265
|
268
|
for(let i=0;i<statistics_category.length;i++){
|
266
|
269
|
if(id == statistics_category[i].id){
|
267
|
270
|
name = statistics_category[i].name
|