Commit 154263f4 authored by youjie's avatar youjie

no message

parent 70928f4f
......@@ -643,8 +643,8 @@
最早可預訂日期:{{ StartDate }}
</div>
</div>
<div class="text-center" v-if="getQueryData.length==0">
加載方案中...
<div class="text-center" v-if="getQueryData.length==0||!DidaHotelRoomDetails.HotelList">
{{!DidaHotelRoomDetails.HotelList?'無可售方案':'加載方案中...'}}
</div>
</div>
<div
......@@ -1569,7 +1569,7 @@ export default {
this.apipost('dmc_post_GetDiDaPriceSearchList', this.msg, res => {
if (res.data.resultCode == 1) {
var tempData = res.data.data;
tempData.HotelList.forEach((item) => {
tempData.HotelList&&tempData.HotelList.forEach((item) => {
item.showMore = false
item.imageList = []
item.images.forEach(img=>{
......@@ -1581,9 +1581,9 @@ export default {
})
})
this.DidaHotelRoomDetails = tempData;
this.qRoomTypeList = tempData.qRoomTypeList;
this.qRoomTypeList = tempData.qRoomTypeList?tempData.qRoomTypeList:[];
this.qRoomTypeList.unshift({RoomName_CN:'房型(全部)'})
this.qMealTypeList = tempData.qMealTypeList;
this.qMealTypeList = tempData.qMealTypeList?tempData.qMealTypeList:[];
this.qMealTypeList.unshift({MTypeName:'餐型(全部)'})
this.$q.loading.hide();
}else{
......
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