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

页面修改

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