根据后台配置的免费出场时间显示
This commit is contained in:
parent
058d2d4a60
commit
6e40c84b89
@ -95,7 +95,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="notice">
|
||||
<text class="notice-text">⚠️ 请于付款后15分钟内离场否则将加收停车费</text>
|
||||
<text class="notice-text">⚠️ 请于付款后{{ feeOutTime }}分钟内离场否则将加收停车费</text>
|
||||
</view>
|
||||
<view class="payment-methods">
|
||||
<view class="payment-item" :class="{ 'selected': paymentMethod === 'wechat' }"
|
||||
@ -173,6 +173,7 @@ export default {
|
||||
parkingLotName: '',
|
||||
costAmount: '',
|
||||
currentCarNumber: '',
|
||||
feeOutTime: '',//免费出场时间
|
||||
entryTime: '',
|
||||
billingTime: '',
|
||||
paymentMethod: 'wechat',
|
||||
@ -319,6 +320,7 @@ export default {
|
||||
this.costAmount = res.fee_amount;
|
||||
this.currentCarNumber = res.car_number;
|
||||
this.entryTime = res.in_time;
|
||||
this.feeOutTime = res.parking.free_out_time
|
||||
// 清除之前可能存在的定时器
|
||||
if (this.timerId) {
|
||||
clearInterval(this.timerId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user