|
@@ -95,6 +95,15 @@
|
|
this.roomType = options.roomType
|
|
this.roomType = options.roomType
|
|
//查询该房间类型在订单时间段内可用的所有房间
|
|
//查询该房间类型在订单时间段内可用的所有房间
|
|
await this.getRoomInfo();
|
|
await this.getRoomInfo();
|
|
|
|
+ if (this.roomList.length === 0) {
|
|
|
|
+ uni.showModal({
|
|
|
|
+ title: '该房型无可用房间可供选择,请选择其它房型',
|
|
|
|
+ showCancel: false,
|
|
|
|
+ success() {
|
|
|
|
+ uni.navigateBack()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// #ifdef MP-WEIXIN
|
|
// #ifdef MP-WEIXIN
|
|
onShareAppMessage(info) {
|
|
onShareAppMessage(info) {
|