|
@@ -41,7 +41,10 @@
|
|
<el-table-column label="基线成本" align="center">
|
|
<el-table-column label="基线成本" align="center">
|
|
<el-table-column v-for="item in costFields" :prop="contractAmount" :label="item.baseName" :key="item.id" align="right">
|
|
<el-table-column v-for="item in costFields" :prop="contractAmount" :label="item.baseName" :key="item.id" align="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- ¥{{scope.row.costList.filter(c=>c.baseId == item.baseId)[0].baseAmount | numberToCurrency}}
|
|
|
|
|
|
+ <span v-if="scope.row.costList.filter(c=>c.baseId == item.baseId)[0]">
|
|
|
|
+ ¥{{scope.row.costList.filter(c=>c.baseId == item.baseId)[0].baseAmount | numberToCurrency}}
|
|
|
|
+ </span>
|
|
|
|
+ <!-- ¥{{scope.row.costList.filter(c=>c.baseId == item.baseId)[0].baseAmount | numberToCurrency}} -->
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<!--
|
|
<!--
|