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

页面修改

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