根据后台配置的免费出场时间显示
This commit is contained in:
parent
058d2d4a60
commit
6e40c84b89
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user