|
@@ -366,10 +366,12 @@
|
|
{{scope.row.projectName}}
|
|
{{scope.row.projectName}}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column v-for="(item,indexs) in stages" :label="item" min-width="150" :key="indexs" align="right" show-overflow-tooltip="true" >
|
|
|
|
|
|
+ <el-table-column v-for="(item,indexs) in stages" :label="item + '(实际|预算)'" min-width="150" :key="indexs" align="right" show-overflow-tooltip="true" >
|
|
<template slot-scope="scope" >
|
|
<template slot-scope="scope" >
|
|
{{scope.row.stageCostList.filter(s=>s.stageName == item).length == 0?'0':scope.row.stageCostList.filter(s=>s.stageName == item)[0].workingTime.toFixed(1)}}h
|
|
{{scope.row.stageCostList.filter(s=>s.stageName == item).length == 0?'0':scope.row.stageCostList.filter(s=>s.stageName == item)[0].workingTime.toFixed(1)}}h
|
|
<span v-if="permissions.reportPhaseCost">/¥{{scope.row.stageCostList.filter(s=>s.stageName == item).length == 0?'0':scope.row.stageCostList.filter(s=>s.stageName == item)[0].cost.toFixed(1)}}</span>
|
|
<span v-if="permissions.reportPhaseCost">/¥{{scope.row.stageCostList.filter(s=>s.stageName == item).length == 0?'0':scope.row.stageCostList.filter(s=>s.stageName == item)[0].cost.toFixed(1)}}</span>
|
|
|
|
+ <span> | </span>
|
|
|
|
+ <span>{{scope.row.stageCostList.filter(s=>s.stageName == item).length == 0?'0':scope.row.stageCostList.filter(s=>s.stageName == item)[0].stagesTime.toFixed(1)}}h</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|