Commit 671d26d1 authored by 黄奎's avatar 黄奎

门票下载修改

parent 1cea0f79
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
<span> <span>
<em>{{$t('commonPickUp.Pick_attractions')}}</em> <em>{{$t('commonPickUp.Pick_attractions')}}</em>
<el-select v-model="msg.CouponsIdList" :placeholder="$t('pub.pleaseSel')" multiple collapse-tags filterable <el-select v-model="msg.CouponsIdList" :placeholder="$t('pub.pleaseSel')" multiple collapse-tags filterable
@change="getMultipleChoice" @clear="getMultipleChoice"> :remote-method="getSecnicData" remote reserve-keyword>
<el-option :label="$t('pub.unlimitedSel')" :value="defaultSelectValue"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="defaultSelectValue"></el-option>
<el-option v-for="item in ScenicList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in ScenicList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
...@@ -302,7 +302,6 @@ ...@@ -302,7 +302,6 @@
}; };
}, },
methods: { methods: {
stockColor: function (type) { stockColor: function (type) {
if (type === 1) { if (type === 1) {
return 'hasStock_1' return 'hasStock_1'
...@@ -391,22 +390,27 @@ ...@@ -391,22 +390,27 @@
); );
}, },
//获取酒店列表 //获取酒店列表
GetScenicList() { getSecnicData(keyWords) {
this.ScenicList = [];
var postMsg = { var postMsg = {
QCountrys: "", QCountrys: "",
IsFree: 1, IsFree: 1,
Name: "",
}; };
if (keyWords && keyWords != '') {
postMsg.Name = keyWords;
}
if (this.userInfo.RB_Group_id == 2) { if (this.userInfo.RB_Group_id == 2) {
postMsg.QCountrys = "651"; postMsg.QCountrys = "651";
} }
console.log("getSecnicData", postMsg);
this.apipost( this.apipost(
"ticketcoupons_post_GetList", postMsg, "ticketcoupons_post_GetList", postMsg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.ScenicList = res.data.data; this.ScenicList = res.data.data;
} }
}, }
err => {}
); );
}, },
//下载餐厅统计 //下载餐厅统计
...@@ -431,7 +435,7 @@ ...@@ -431,7 +435,7 @@
this.msg.Year = this.currentYear; this.msg.Year = this.currentYear;
this.msg.Month = this.currentDay; this.msg.Month = this.currentDay;
this.GetScenicList(); this.getSecnicData();
this.initCalendar(); this.initCalendar();
this.GetHoltelInventory(); this.GetHoltelInventory();
} }
......
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