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