结算优化修改

This commit is contained in:
hongchao 2025-09-11 15:07:18 +08:00
parent 7b93aaa441
commit e5de388814
2 changed files with 4 additions and 7 deletions

View File

@ -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"

View File

@ -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">