|
@@ -51,11 +51,6 @@
|
|
|
</div>
|
|
|
<el-table :data="[numElecMeterHData]" border style="width: 100%">
|
|
|
<!-- 第一行:用电量 -->
|
|
|
- <el-table-column label="总计(kW·h)" align="center">
|
|
|
- <template slot-scope="scope">
|
|
|
- <span>{{ scope.row.total.quantity ? scope.row.total.quantity.toFixed(2) : '0.00' }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
<el-table-column label="低谷电(kW·h)" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.lowElec.quantity ? scope.row.lowElec.quantity.toFixed(2) : '0.00' }}</span>
|
|
@@ -76,14 +71,14 @@
|
|
|
<span>{{ scope.row.peakElec.quantity ? scope.row.peakElec.quantity.toFixed(2) : '0.00' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- </el-table>
|
|
|
- <!-- 第二行:总金额 -->
|
|
|
- <el-table :data="[numElecMeterHData]" border style="width: 100%; margin-top: 10px">
|
|
|
- <el-table-column label="总计(元)" align="center">
|
|
|
+ <el-table-column label="总计(kW·h)" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{ scope.row.total.useCost ? scope.row.total.useCost.toFixed(2) : '0.00' }}</span>
|
|
|
+ <span>{{ scope.row.total.quantity ? scope.row.total.quantity.toFixed(2) : '0.00' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <!-- 第二行:总金额 -->
|
|
|
+ <el-table :data="[numElecMeterHData]" border style="width: 100%; margin-top: 10px">
|
|
|
<el-table-column label="低谷电(元)" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.lowElec.useCost ? scope.row.lowElec.useCost.toFixed(2) : '0.00' }}</span>
|
|
@@ -104,6 +99,11 @@
|
|
|
<span>{{ scope.row.peakElec.useCost ? scope.row.peakElec.useCost.toFixed(2) : '0.00' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="总计(元)" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.total.useCost ? scope.row.total.useCost.toFixed(2) : '0.00' }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</el-card>
|
|
|
|