Commit 2e1f0221 authored by 黄奎's avatar 黄奎

页面修改

parent 0e541674
......@@ -345,7 +345,7 @@
Month: 0,
HotelId: 0,
//只查询日本
Country: "651",
Country: "0",
Province: 0,
City: 0,
loading: false,
......@@ -374,7 +374,8 @@
cityList: [],
district: [],
//供应商列表
SupplierList: []
SupplierList: [],
currentUserInfo: {},
};
},
methods: {
......@@ -506,11 +507,15 @@
},
//获取酒店列表
GetHotelList() {
this.apipost(
"hotel_post_GetHasStockHotelList", {
QCountry: "651",
var postMsg = {
QCountry: "",
IsMoreThanZero: 1
},
}
if (this.currentUserInfo && this.currentUserInfo.RB_Group_id == 2) {
postMsg.QCountry = "651"
}
this.apipost(
"hotel_post_GetHasStockHotelList", postMsg,
res => {
if (res.data.resultCode == 1) {
this.HotelList = res.data.data;
......@@ -587,6 +592,9 @@
}, err => {});
},
},
created() {
this.currentUserInfo = this.getLocalStorage();
},
mounted() {
//初始化日历
var id = this.$route.query.id;
......@@ -603,7 +611,12 @@
this.GetHotelList();
this.initCalendar();
this.GetHoltelInventory();
if (this.currentUserInfo && this.currentUserInfo.RB_Group_id == 2) {
this.msg.Country = "651";
this.getProvinceList("651", 1);
} else {
this.getProvinceList("0", 1);
}
}
};
......
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