Commit 53aa55f9 authored by 黄奎's avatar 黄奎

页面修改

parent b1f21174
...@@ -185,11 +185,13 @@ ...@@ -185,11 +185,13 @@
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
} }
._TravelPricePopover .ScenicDiv{
._TravelPricePopover .ScenicDiv {
width: 450px; width: 450px;
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
} }
._TravelPricePopover table { ._TravelPricePopover table {
padding: 10px 0 0 20px; padding: 10px 0 0 20px;
background-color: #ededed; background-color: #ededed;
...@@ -775,7 +777,7 @@ ...@@ -775,7 +777,7 @@
<el-form-item style="margin-top:1px;"> <el-form-item style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">销售公司</span> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">销售公司</span>
<el-select class="w350 multiple_input" :class="{'SaleBranchList':priceData.SaleBranchIdArray==''}" <el-select class="w350 multiple_input" :class="{'SaleBranchList':priceData.SaleBranchIdArray==''}"
v-model="priceData.SaleBranchIdArray" multiple> v-model="priceData.SaleBranchIdArray" multiple @change="ChangeSaleBranch(priceData)">
<el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id"> <el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id">
</el-option> </el-option>
</el-select> </el-select>
...@@ -1009,7 +1011,7 @@ ...@@ -1009,7 +1011,7 @@
selectFilghtList: [], selectFilghtList: [],
FinfoList: [], FinfoList: [],
//选中景点 //选中景点
ScenicList:[], ScenicList: [],
//下拉框默认值 //下拉框默认值
SelectDefaultValue: 0, SelectDefaultValue: 0,
SelectOtherDefault: -1, SelectOtherDefault: -1,
...@@ -1067,6 +1069,17 @@ ...@@ -1067,6 +1069,17 @@
}; };
}, },
methods: { methods: {
//销售公司改变方法
ChangeSaleBranch(item) {
var str = "";
if (item.SaleBranchIdArray && item.SaleBranchIdArray.length > 0) {
item.SaleBranchIdArray.forEach(subItem => {
str += subItem + ",";
});
str = str.substring(0, str.lastIndexOf(','));
}
item.SaleBranchId = str;
},
//调用子组件方法 //调用子组件方法
GetHotelUsePriceList(HotelId, UseDay, index, hotelSubIndex) { GetHotelUsePriceList(HotelId, UseDay, index, hotelSubIndex) {
let str = `comPriceHotelInfo${index}${hotelSubIndex}`; let str = `comPriceHotelInfo${index}${hotelSubIndex}`;
...@@ -1180,7 +1193,7 @@ ...@@ -1180,7 +1193,7 @@
//销售清位时间 //销售清位时间
SaleClearOrderHour: 0, SaleClearOrderHour: 0,
//可退景点下拉列表 //可退景点下拉列表
ScenicBackList:[], ScenicBackList: [],
}; };
} }
this.returnPriceList.push(objItem); this.returnPriceList.push(objItem);
...@@ -1574,15 +1587,15 @@ ...@@ -1574,15 +1587,15 @@
}); });
}, },
//选中景点选择框 //选中景点选择框
getScenic(item){ getScenic(item) {
item.IsChecked=!item.IsChecked; item.IsChecked = !item.IsChecked;
this.initScenic(); this.initScenic();
}, },
//初始化景点 //初始化景点
initScenic(){ initScenic() {
this.ScenicList=[]; this.ScenicList = [];
this.priceData.ScenicBackList.forEach(x=>{ this.priceData.ScenicBackList.forEach(x => {
if(x.IsChecked){ if (x.IsChecked) {
this.ScenicList.push(x); this.ScenicList.push(x);
} }
}) })
...@@ -1816,4 +1829,5 @@ ...@@ -1816,4 +1829,5 @@
commonPHInfo: commonPHlInfo commonPHInfo: commonPHlInfo
} }
}; };
</script> </script>
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