Commit 06d9c78f authored by zhengke's avatar zhengke

修改

parent 472b93d5
......@@ -295,9 +295,6 @@
},
});
this.mainColor = this.$uiConfig.mainColor;
if (this.id > 0) {
this.getHotelDetail(this.id);
}
if (options.dayObj) {
console.log(options.dayObj,'options.dayObj');
var tempDay = JSON.parse(options.dayObj);
......@@ -308,6 +305,9 @@
this.day = tempDay.day;
this.dayObj = tempDay;
}
if (this.id > 0) {
this.getHotelDetail(this.id);
}
if(options.searchObj){
this.searchObj = JSON.parse(options.searchObj);
}
......@@ -510,7 +510,9 @@
//获取酒店详情
getHotelDetail(id) {
let msg = {
HotelId: id
HotelId: id,
StartDate: this.dayObj.start,
EndDate: this.dayObj.end
}
this.request2({
url: '/api/Hotel/GetHotelInfo',
......
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