Commit 770034b8 authored by zhengke's avatar zhengke

s

parent dc905796
......@@ -331,21 +331,21 @@
<ul class="days">
<li class="liList" v-for="(dayobject,index) in days" :key="dayobject.subCode">
<span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked" class="other-month">{{dayobject.day.getDate()}}</span>
<span v-if="dayobject.checkState==$calendarUtils.checkState.checked" class="checked1" :class="dayobject.click?'_yes_click':''"
@click="dayobject.click?clickedDay(dayobject):''">{{dayobject.day.getDate()}}</span>
<span v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue" :class="dayobject.click?'_yes_click':''"
@click="dayobject.click?clickedDay(dayobject):''">{{dayobject.day.getDate()}}</span>
<span v-if="dayobject.checkState==$calendarUtils.checkState.checked" class="checked1"
@click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
<span v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue"
@click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
</li>
<!-- <li class="liList" v-for="(dayobject,index) in days" :key="dayobject.subCode">
<span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked"
class="other-month">{{dayobject.day.getDate()}}</span>
<span v-if="dayobject.checkState==$calendarUtils.checkState.checked" class="checked1"
@click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
<span v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue"
@click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
</li> -->
</ul>
</div>
<!--<div>-->
<!--<el-date-picker-->
<!--v-model="chooseDay"-->
<!--@change="clickedDay()"-->
<!--type="date"-->
<!--placeholder="选择日期">-->
<!--</el-date-picker>-->
<!--</div>-->
</div>
</div>
<div class="TPright"></div>
......@@ -637,7 +637,7 @@
</div>
<div class="clearfix">
<div class="clearfix">
<div class="leftSetInfo">
<span class="TPbaseSet" style="width:62px;"></span>
<span class="TPsecondTitle" style="width:66px;">op对外备注</span>
......@@ -691,6 +691,15 @@
</el-form-item>
</div>
</div>
<div class="TPright" style="float:left;">
<span>团期标签</span>
<span>
<el-checkbox-group v-model="priceData.PriceTagList">
<el-checkbox v-for="team in teamTips" :label="team.ID"
:key="team.Content">{{team.Content}}</el-checkbox>
</el-checkbox-group>
</span>
</div>
</div>
</el-form>
</div>
......@@ -727,7 +736,7 @@
Url: "",
Name: ""
},
SaleBranchIdArray: []
SaleBranchIdArray: [],
},
returnPriceList: this.priceList,
companyList: [],
......@@ -779,6 +788,8 @@
queryFlightAirListData:[],
queryFlightAirDateList:[],
getSelectdata:'',
//团期标签
teamTips:[],
};
},
methods: {
......@@ -800,6 +811,7 @@
},
//点击选中日历日期
clickedDay(item) {
console.log(item,'item');
this.chooseDay = this.getDayStr(item.day);
switch (item.checkState) {
case this.$calendarUtils.checkState.hasValue:
......@@ -871,6 +883,8 @@
AirticketBindList: [],
LowNum: 2,
TeamType:1,
//选中团期标签
PriceTagList:[],
PriceFlight: JSON.parse(
JSON.stringify(this.PostConfig.FlightList)
)
......@@ -1388,7 +1402,25 @@
});
}
});
}
},
//获取所有小包团
getAllTeamTips(){
let msg = {
name:'theme',
code:'1'
}
this.apipost("travel_get_GetTravelPriceTag", msg, res => {
if (res.data.resultCode == 1) {
this.teamTips = res.data.data;
}else{
this.Error(res.data.message);
}
},err => {}
);
},
getCkedTips(item){
console.log(item,'itemmmmmmm');
},
},created(){
localStorage.removeItem('queryFlightAirMsg');
if(this.TeamType==1){
......@@ -1404,6 +1436,7 @@
this.currentMonth = dateObj.CurrentMonth;
this.initCalendar();
this.getCompanyList();
this.getAllTeamTips();
},
watch: {
priceList: {
......@@ -1429,7 +1462,7 @@
this.returnPriceList.forEach((x, index) => {
if (index == 0) {
this.priceData = this.returnPriceList[index];
console.log(this.priceData,'刚进来。。。');
x["Checked"] = true;
this.chooseDay = this.priceData.StartDate;
//this.getSelectFilght(this.priceData.StartDate);
......@@ -1442,6 +1475,13 @@
},
deep: true
},
priceData: {
handler:function(val,oldVal){
},
deep:true
},
returnPriceList: {
//深度监听,可监听到对象、数组的变化
handler: function (val, oldVal) {
......
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