ElMessageBox.confirm(language.value==0?'你当前选择的入住时间为'+hotTime.value[0]+'至'+hotTime.value[1]+',是否确定?':'Your current check-in time is'+hotTime.value[0]+'~'+hotTime.value[1]+'Are you sure?',{type:'warning'}).then({
if(!hotTime.value[0]){
proxy.$modal.msgError(language.value==0?'请先选择入住日期':'Please choose the date of check-in first')
return
}
}).then(()=>{
checkRoomPayByUserId(room.hotelId).then(res=>{
if(res.data==-100){
ElMessageBox.confirm(language.value==0?'你当前选择的入住时间为'+hotTime.value[0]+'至'+hotTime.value[1]+',是否确定?':'Your current check-in time is'+hotTime.value[0]+'~'+hotTime.value[1]+'Are you sure?',{type:'warning'}).then({}).then(()=>{
checkRoomPayByUserId(room.hotelId).then(res=>{
if(res.data==-100){
ElMessageBox.confirm(
language.value==0?'你有未支付的酒店订单,是否前往个人中心查看':'You already have an unpaid hotel 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 hotel 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':'继续预订',