Commit 3174b192 by zhangzhen

优化

parent dffa6666
......@@ -8,7 +8,15 @@
<text
class="text-title text-xl text-bold">{{roomInfo.name||'凑角'}}{{roomInfo.roomType?'【'+roomTypeEnum[roomInfo.roomType]+'】':''}}</text>
<view v-if="roomInfo.isDirtyRoom >=1" class="status-icon-box">
<view v-if="roomInfo.roomStat >= 3" class="status-icon-box">
<view class="status-box" :class="'status-box-1'">
<text>维护中</text>
</view>
<image class="img" :src="assetsPath+'/fa_icon_1.png'" mode="widthFix"></image>
</view>
<view v-else-if="roomInfo.isDirtyRoom >=1" class="status-icon-box">
<view class="status-box" :class="'status-box-1'">
<text>未保洁</text>
</view>
......@@ -610,12 +618,12 @@
this.orderTypeList = this.orderTypeList.filter(item => item.type == 1)
}
if(this.roomInfo.isDirtyRoom >=1){
uni.showToast({
icon:"none",
title:'当前房间未保洁,无法预定,请选择其他房间'
})
}
// if(this.roomInfo.isDirtyRoom >=1){
// uni.showToast({
// icon:"none",
// title:'当前房间未保洁,无法预定,请选择其他房间'
// })
// }
this.onGetSortDistance()
}
......@@ -1147,13 +1155,13 @@
})
return;
}
if(this.roomInfo.isDirtyRoom >=1){
uni.showToast({
icon:"none",
title:'当前房间未保洁,无法预定,请选择其他房间'
})
return;
}
// if(this.roomInfo.isDirtyRoom >=1){
// uni.showToast({
// icon:"none",
// title:'当前房间未保洁,无法预定,请选择其他房间'
// })
// return;
// }
let nowDate = moment().format("MMDD")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment