Commit 712750f2 authored by zhengke's avatar zhengke
parents 5a0ee365 446a085e
...@@ -337,7 +337,7 @@ ...@@ -337,7 +337,7 @@
<span> <span>
<em>酒店</em> <em>酒店</em>
<el-select v-model="msg.HotelId" :placeholder="$t('pub.pleaseSel')" filterable> <el-select v-model="msg.HotelId" :placeholder="$t('pub.pleaseSel')" filterable>
<el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="DefaultSelectValue"></el-option>
<el-option v-for="item in HotelList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in HotelList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
</span> </span>
...@@ -384,7 +384,7 @@ ...@@ -384,7 +384,7 @@
export default { export default {
data() { data() {
return { return {
HotelId: 0, DefaultSelectValue:0,
//酒店列表 //酒店列表
HotelList: [], HotelList: [],
msg: { msg: {
...@@ -479,7 +479,7 @@ ...@@ -479,7 +479,7 @@
}, },
mounted() { mounted() {
this.msg.HotelId = this.$route.query.HotelId === undefined ? '0' : this.$route.query.HotelId this.msg.HotelId = this.$route.query.HotelId === undefined ? 0 : this.$route.query.HotelId
this.getList(); this.getList();
this.GetHotelList(); this.GetHotelList();
}, },
......
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