报表修改
This commit is contained in:
parent
352178ad69
commit
137cad2b0b
|
|
@ -78,8 +78,13 @@
|
|||
<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!=''">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.costs != null && scope.row.costs != ''">
|
||||
{{ scope.row.costs.toFixed(2) }}
|
||||
</span>
|
||||
<span v-else style="color: #909399;">
|
||||
无待结费用
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="结算状态" align="center" prop="sltStatus" :show-overflow-tooltip="true">
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="合计费用(元)" align="center" prop="costs" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.costs != null && scope.row.costs != ''">
|
||||
<el-button
|
||||
type="text"
|
||||
@click="showCostDetail(scope.row, 'total')"
|
||||
|
|
@ -113,18 +114,23 @@
|
|||
:disabled="!(calculateTotalCost(scope.row) > 0)">
|
||||
{{ calculateTotalCost(scope.row).toFixed(2) }}
|
||||
</el-button>
|
||||
</span>
|
||||
<span v-else style="color: #909399;">
|
||||
无待结算费用
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
</el-table>
|
||||
|
||||
<!-- <pagination-->
|
||||
<!-- v-show="total > 0"-->
|
||||
<!-- :total="total"-->
|
||||
<!-- :page.sync="queryParams.pageNum"-->
|
||||
<!-- :limit.sync="queryParams.pageSize"-->
|
||||
<!-- @pagination="getList"-->
|
||||
<!-- />-->
|
||||
<pagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
|
||||
|
||||
<!-- 费用详情弹窗 -->
|
||||
<el-dialog
|
||||
|
|
@ -374,7 +380,7 @@ export default {
|
|||
queryParams: {
|
||||
disabled: false,
|
||||
pageNum: 1,
|
||||
pageSize: 10000,
|
||||
pageSize: 10,
|
||||
keyWord: undefined,
|
||||
sltStatus: '',
|
||||
isCommit: '',
|
||||
|
|
@ -503,7 +509,7 @@ export default {
|
|||
resetQuery() {
|
||||
this.queryParams={
|
||||
pageNum: 1,
|
||||
pageSize: 10000,
|
||||
pageSize: 10,
|
||||
sltStatus: '',
|
||||
isCommit:'',
|
||||
unitId: null,
|
||||
|
|
|
|||
Loading…
Reference in New Issue