Commit 16f4fae7 authored by 黄奎's avatar 黄奎

页面修改

parent 2e31c709
......@@ -214,13 +214,14 @@
<tr>
<td width="70" style="text-align:center;" colspan="2">
<span style="color:green">{{subItem.NewHotelName}}</span>
<el-popover placement="right" width="540" trigger="click" v-model="subItem.isShowPop">
<el-popover placement="right" width="540" trigger="click" >
<comCheckHotel :ref="'comCheckHotel'+index+subIndex+''" v-on:childHotel="childHotelList"
:UseDate="item.UseTimeStr" :Country="ChooseCountry">
:UseDate="item.UseTimeStr" :Country="ChooseCountry" >
</comCheckHotel>
<el-button size="small" type="danger" :data-index="'comCheckHotel'+index+subIndex+''"
slot="reference" style="cursor:pointer;"
@click="getChildHotel(index,subIndex),subItem.isShowPop=true">
@click="subItem.isShowPop=true,getChildHotel(index,subIndex)">
{{$t('sm.jiudianxuanz')}}
</el-button>
</el-popover>
......@@ -685,7 +686,7 @@
BookNum: 0
},
],
ChooseCountry:"651"
ChooseCountry: "651"
}
},
components: {
......@@ -808,10 +809,12 @@
}
}, err => {})
},
//点击酒店选择
getChildHotel(index, subIndex) {
this.findex = index;
this.childIndex = subIndex;
let str = `comCheckHotel${index}${subIndex}`
//调用comCheckHotel组件的 getCheckHotel()方法
this.$refs[str][0].getCheckHotel();
},
//输入返佣自动前面4个房型赋值
......@@ -934,12 +937,12 @@
IsCombine: '',
NewTCIDs: ''
}
if(this.$route.query.OrderType){
if (this.$route.query.OrderType) {
msg = {
TCIDs: this.$route.query.id,
OrderType: this.$route.query.OrderType
}
}else{
} else {
msg = {
TCIDs: this.$route.query.id,
NewCombinationNum: this.$route.query.NewCombinationNum,
......@@ -996,6 +999,7 @@
})
})
});
console.log("list",list);
this.list = list;
this.$forceUpdate();
}
......@@ -1178,7 +1182,6 @@
}
}, err => {})
},
// 获取供应商
initSupplier() {
this.apipost("supplier_post_GetAllList", {
......@@ -1222,13 +1225,10 @@
if (this.$route.query.LineId) {
this.LineId = this.$route.query.LineId;
}
if(this.LineId==90)
{
this.ChooseCountry=2;
}
else if(this.LineId==14)
{
this.ChooseCountry=651;
if (this.LineId == 90) {
this.ChooseCountry = 2;
} else if (this.LineId == 14) {
this.ChooseCountry = 651;
}
this.GetAuth();
this.getAllCurrency();
......
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