|
@@ -39,7 +39,7 @@
|
|
|
<view class="details-row" v-if="detail.record&&detail.record.discountAmount" >
|
|
|
<p>实际减免 </p>
|
|
|
<span>
|
|
|
- -{{detail.record.discountAmount.toFixed(2)}}元
|
|
|
+ -{{detail.record.discountAmount?detail.record.discountAmount.toFixed(2):0}}元
|
|
|
</span>
|
|
|
</view>
|
|
|
<view class="details-row" v-if="detail.record&&detail.record.userCardId" >
|
|
@@ -66,7 +66,7 @@
|
|
|
|
|
|
<view class="details-row" v-if="detail.deviceType=='0'" >
|
|
|
<p>电费单价</p>
|
|
|
- <span>{{detail.unitPrice.toFixed(2)}}元/小时</span>
|
|
|
+ <span>{{detail.unitPrice?detail.unitPrice.toFixed(2):0}}元/小时</span>
|
|
|
</view>
|
|
|
|
|
|
|