`You currently select the check-in date of ${hotTime.value[0]} to ${hotTime.value[1]}, there is no room available for booking at this time period, please choose another date`,{type:'warning'}).then({
})
return
}
ElMessageBox.confirm(language.value==0?`你当前选择的出行日期为${dayjs(currentDate.value).format('YYYY-MM-DD')}是否确定?`:`Your current check-in time is ${dayjs(currentDate.value).format('YYYY-MM-DD')} Are you sure?`,{type:'warning'}).then({}).then(()=>{
checkRoomPayByUserId(room.hotelId).then(res=>{
// if (!hotTime.value) {
// proxy.$modal.msgError(language.value == 0 ? '请先选择出发日期' : 'Please choose the date of check-in first')
// : `You currently select the check-in date of ${hotTime.value[0]} to ${hotTime.value[1]}, there is no room available for booking at this time period, please choose another date`, { type: 'warning' }).then({
//
// })
// return
// }
ElMessageBox.confirm(language.value==0?`你当前选择的出行日期为${dayjs(currentDate.value).format('YYYY-MM-DD')}是否确定?`:`Your current check-in time is ${dayjs(currentDate.value).format('YYYY-MM-DD')} Are you sure?`,{type:'warning'}).then({}).then(()=>{
checkOrderPay(6).then(res=>{
if(res.data==-100){
ElMessageBox.confirm(
language.value==0?'你有未支付的旅游预订,是否前往个人中心查看':'You already have an unpaid travel order, do you want to go to the personal center to check it?',
language.value==0?'提示':'Warning',
{
confirmButtonText:language.value==1?'Go My Reservation ':'前往我的预订',
// cancelButtonText: language.value==1?'Continue to book':'继续预订',
type:'warning',
}
language.value==0?'你有未支付的旅游预订,是否前往个人中心查看':'You already have an unpaid travel order, do you want to go to the personal center to check it?',
language.value==0?'提示':'Warning',
{
confirmButtonText:language.value==1?'Go My Reservation ':'前往我的预订',
// cancelButtonText: language.value==1?'Continue to book':'继续预订',
<divclass="tip"v-if="language==1">If you need to make a hotel reservation, please fill in the full names of all required persons when booking the hotel. (For two or more people, please use ',')</div>
<divv-if="language==1"class="tip">If you need to make a hotel reservation, please fill in the full names of all required persons when booking the hotel. (For two or more people, please use ',')</div>