根据后台配置的免费出场时间显示

This commit is contained in:
赵毅 2025-09-13 10:41:50 +08:00
parent 058d2d4a60
commit 6e40c84b89

View File

@ -95,7 +95,7 @@
</view> </view>
</view> </view>
<view class="notice"> <view class="notice">
<text class="notice-text"> 请于付款后15分钟内离场否则将加收停车费</text> <text class="notice-text"> 请于付款后{{ feeOutTime }}分钟内离场否则将加收停车费</text>
</view> </view>
<view class="payment-methods"> <view class="payment-methods">
<view class="payment-item" :class="{ 'selected': paymentMethod === 'wechat' }" <view class="payment-item" :class="{ 'selected': paymentMethod === 'wechat' }"
@ -173,6 +173,7 @@ export default {
parkingLotName: '', parkingLotName: '',
costAmount: '', costAmount: '',
currentCarNumber: '', currentCarNumber: '',
feeOutTime: '',//
entryTime: '', entryTime: '',
billingTime: '', billingTime: '',
paymentMethod: 'wechat', paymentMethod: 'wechat',
@ -319,6 +320,7 @@ export default {
this.costAmount = res.fee_amount; this.costAmount = res.fee_amount;
this.currentCarNumber = res.car_number; this.currentCarNumber = res.car_number;
this.entryTime = res.in_time; this.entryTime = res.in_time;
this.feeOutTime = res.parking.free_out_time
// //
if (this.timerId) { if (this.timerId) {
clearInterval(this.timerId); clearInterval(this.timerId);