结算优化修改
This commit is contained in:
parent
7b93aaa441
commit
e5de388814
|
|
@ -35,7 +35,7 @@
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in dict.type.cost_status"
|
v-for="dict in dict.type.cost_status"
|
||||||
v-if="dict.value !== '2'"
|
v-if="dict.value !== '2' && dict.value!== '1'"
|
||||||
:key="dict.value"
|
:key="dict.value"
|
||||||
:label="dict.label"
|
:label="dict.label"
|
||||||
:value="dict.value"
|
:value="dict.value"
|
||||||
|
|
|
||||||
|
|
@ -69,12 +69,9 @@
|
||||||
<el-table-column label="结算单位" align="center" prop="unitName" />
|
<el-table-column label="结算单位" align="center" prop="unitName" />
|
||||||
<el-table-column label="结算工程" align="center" prop="projectName" />
|
<el-table-column label="结算工程" align="center" prop="projectName" />
|
||||||
<el-table-column label="合计费用(元)" align="center" prop="costs" :show-overflow-tooltip="true">
|
<el-table-column label="合计费用(元)" align="center" prop="costs" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope" v-if="scope.row.costs != null && scope.row.costs != ''">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.costs.toFixed(2) }}
|
{{ parseFloat(scope.row.costs || 0).toFixed(2) }}
|
||||||
</template>
|
</template>
|
||||||
<template slot-scope="scope" v-if="scope.row.costs == null || scope.row.costs === '' || scope.row.costs === 0">
|
|
||||||
{{ 0.00 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="结算类型" align="center" prop="sltStatus" :show-overflow-tooltip="true">
|
<el-table-column label="结算类型" align="center" prop="sltStatus" :show-overflow-tooltip="true">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue