大车位下午

master
lion 1 week ago
parent 0c587f2e58
commit c28f14aef9

@ -361,19 +361,6 @@
this.util.toast("请选择正确的入场时间");
return false;
}
// (type=2)/(type=4)
if (this.form.type == 2 || this.form.type == 4 || this.form.type == '2' || this.form.type == '4') {
const hour = parseInt(this.$moment(this.form.time).format('HH'))
const minute = parseInt(this.$moment(this.form.time).format('mm'))
if (hour >= 13) {
this.form.type = 4
} else if (hour < 12 || (hour === 12 && minute === 0)) {
this.form.type = 2
} else {
this.util.toast("12:00-13:00 为非入场时段,请选择上午或下午时间");
return false;
}
}
if (this.form.plate.length != 7 && this.form.plate.length != 8) {
this.util.toast("请正确填写车牌号");
return false;

@ -38,7 +38,7 @@
<view class="parkbox-content flex-row justify-around">
<view class="parkbox-item flex-row align-center" style="margin-right: 10rpx;padding: 28rpx 20rpx;"
@click="handleSelectPark(2)" :class="(currentPark==2?'parkbox-item-on':'')"
v-if="remain_big_park>0 || remain_big_park2>0">
v-if="remain_big_park>0">
<view class="parkbox-item-status" v-if="currentPark==2">
<u-icon name="checkmark" color="#fff" size="20rpx"></u-icon>
</view>
@ -86,7 +86,7 @@
</view>
<view class="parkbox-item flex-row align-center" style=""
v-if="remain_special_park<=0&&remain_big_park<=0&&remain_big_park2<=0&&remain_small_park<=0">
v-if="remain_special_park<=0&&remain_big_park<=0&&remain_small_park<=0">
<text class="iconfont icon-tingchechang1" style="font-size: 28rpx;"></text>
<view>
@ -138,7 +138,7 @@
<view class="parkbox-content flex-row justify-around">
<view class="parkbox-item flex-row align-center" style="margin-right: 10rpx;padding: 28rpx 20rpx;"
@click="handleSelectPark(2)" :class="(currentPark==2?'parkbox-item-on':'')"
v-if="remain_big_park>0 || remain_big_park2>0">
v-if="remain_big_park>0">
<view class="parkbox-item-status" v-if="currentPark==2">
<u-icon name="checkmark" color="#fff" size="20rpx"></u-icon>
</view>
@ -186,7 +186,7 @@
</view>
<view class="parkbox-item flex-row align-center" style=""
v-if="remain_special_park<=0&&remain_big_park<=0&&remain_big_park2<=0&&remain_small_park<=0">
v-if="remain_special_park<=0&&remain_big_park<=0&&remain_small_park<=0">
<text class="iconfont icon-tingchechang1" style="font-size: 28rpx;"></text>
<view>

Loading…
Cancel
Save