完善功能
This commit is contained in:
@ -53,11 +53,11 @@
|
||||
<price-format color="#303133" :subscript-size="30" :first-size="30" :second-size="30" :price="bill.dgf.total"></price-format>
|
||||
</view>
|
||||
</view>
|
||||
<view class="title2 d-b-c">
|
||||
<!-- <view class="title2 d-b-c"> -->
|
||||
<!-- <view>灯光费(¥{{ bill.dgf.price }}元/小时)</view> -->
|
||||
<view>小时</view>
|
||||
<!-- <view>小时</view>
|
||||
<view>x{{ bill.dgf.nums }}</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="line"></view>
|
||||
@ -602,11 +602,16 @@ export default {
|
||||
});
|
||||
});
|
||||
|
||||
// 保留2位小数,不四舍五入
|
||||
totalPrice = Number(totalPrice.toFixed(2));
|
||||
totalLightPrice = Number(totalLightPrice.toFixed(2));
|
||||
const total = Number((totalPrice + totalLightPrice).toFixed(2));
|
||||
|
||||
this.selectedReserveTime = room_list;
|
||||
|
||||
// 计算场地费用
|
||||
self.bill = {
|
||||
total: Number(totalPrice) + Number(totalLightPrice),
|
||||
total: total,
|
||||
cdf: {
|
||||
nums: this.countSelectedTime,
|
||||
price: 0,
|
||||
|
||||
Reference in New Issue
Block a user