push them all

This commit is contained in:
Mauve
2026-09-29 21:51:58 +08:00
parent 54a9182746
commit 3f8930df4c
13 changed files with 176 additions and 82 deletions
+12 -2
View File
@@ -143,7 +143,7 @@
</view>
<!-- IM request -->
<view v-show="showIMRequest">
<view class="hz-spacing hz-font-lg hz-font-bold">{{$t("newBooking.deposit")}}</view>
<view class="hz-spacing hz-font-lg hz-font-bold">{{$t("newBooking.deposit")}}<span class="mandatory">*</span></view>
<view class="hz-split"></view>
<view class="hz-spacing" style="margin-top:10px;margin-bottom:30px;">
<u-radio-group v-model="modelBooking.depositType" placement="row" @change="changeDeposit"
@@ -157,7 +157,7 @@
</u-radio-group>
</view>
<view class="hz-spacing hz-font-lg hz-font-bold">{{$t("newBooking.postCharge")}}</view>
<view class="hz-spacing hz-font-lg hz-font-bold">{{$t("newBooking.postCharge")}}<span class="mandatory">*</span></view>
<view class="hz-split"></view>
<view class="hz-spacing" style="margin-top:10px;margin-bottom:30px;">
<u-radio-group v-model="modelBooking.isPost" placement="row" @change="changePost"
@@ -911,6 +911,16 @@
uni.$u.toast(this.$t("newBooking.alertRoom"));
return;
}
if (this.showIMRequest) {
if (this.modelBooking.depositType === undefined || this.modelBooking.depositType === null || this.modelBooking.depositType === '') {
uni.$u.toast(this.$t("newBooking.alertDeposit"));
return;
}
if (this.modelBooking.isPost === undefined || this.modelBooking.isPost === null || this.modelBooking.isPost === '') {
uni.$u.toast(this.$t("newBooking.alertPostCharge"));
return;
}
}
/*if(this.modelBooking.roomTypeId===undefined || this.modelBooking.roomTypeId===null){
uni.$u.toast(this.$t("newBooking.alertRoomType"));
return;