فهرست منبع

项目成本报表跳转

Lijy 2 سال پیش
والد
کامیت
5d0f5ccfdd
1فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 7 2
      fhKeeper/formulahousekeeper/timesheet/src/views/corpreport/list.vue

+ 7 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/corpreport/list.vue

@@ -263,7 +263,7 @@
                         {{scope.row.feeMan==null?0:scope.row.feeMan.toFixed(2)}}
                     </template>
                 </el-table-column>
-                <el-table-column prop="feeNormal" :label="$t('generalcost')"  width="100" align="right">
+                <!-- <el-table-column prop="feeNormal" :label="$t('generalcost')"  width="100" align="right">
                   <template slot-scope="scope">
                         {{scope.row.feeNormal==null?0:scope.row.feeNormal.toFixed(2)}}
                     </template>
@@ -277,7 +277,9 @@
                   <template slot-scope="scope">
                         {{scope.row.feeOutsourcing==null?0:scope.row.feeOutsourcing.toFixed(2)}}
                     </template>
-                </el-table-column>
+                </el-table-column> -->
+                <el-table-column :prop="item" :label="item"  width="100" align="right" v-for="item,index in baobiaoList" :key="index"></el-table-column>
+                
                 <el-table-column  :label="$t('totalcostos')"  width="100" align="right">
                   <template slot-scope="scope">
                         {{(scope.row.feeMan+scope.row.feeNormal+scope.row.feeTravel+scope.row.feeOutsourcing).toFixed(2)}}
@@ -1210,6 +1212,8 @@ export default {
 
       taskRestartArr: [], // 任务重启表数据
       fTEDataList: [], // FTE数据
+
+      baobiaoList: []
     };
   },
   computed: {},
@@ -2167,6 +2171,7 @@ export default {
             if (res.code == "ok") {
                 this.list2 = res.data.records;
                 this.total = res.data.total;
+                this.baobiaoList = res.data.expenseMainTypeList
                 this.$forceUpdate()
                 this.listLoading = false; 
             } else {