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

门票下载修改

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