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