Commit 92d73a18 authored by 黄奎's avatar 黄奎

机票调整

parent 8527175d
...@@ -43,7 +43,8 @@ ...@@ -43,7 +43,8 @@
<li><span><em>{{$t('sm.Date')}}</em> <li><span><em>{{$t('sm.Date')}}</em>
<!-- <el-date-picker v-model='msg.StartDate' class='w135' value-format="yyyy-MM-dd" type="date" <!-- <el-date-picker v-model='msg.StartDate' class='w135' value-format="yyyy-MM-dd" type="date"
:picker-options="pickerBeginDateBefore"></el-date-picker> --> :picker-options="pickerBeginDateBefore"></el-date-picker> -->
<DateLimit :clearable="false" :StartGroupDate="msg.StartDate" :EndGroupDate="msg.EndDate" @change="(date)=> msg.StartDate = date"></DateLimit> <DateLimit :clearable="false" :StartGroupDate="msg.StartDate" :EndGroupDate="msg.EndDate"
@change="(date)=> msg.StartDate = date"></DateLimit>
- -
<el-date-picker v-model='msg.EndDate' class='w135' value-format="yyyy-MM-dd" type="date" <el-date-picker v-model='msg.EndDate' class='w135' value-format="yyyy-MM-dd" type="date"
:picker-options="pickerBeginDateAfter"></el-date-picker> :picker-options="pickerBeginDateAfter"></el-date-picker>
...@@ -166,12 +167,19 @@ ...@@ -166,12 +167,19 @@
</div> </div>
</td> </td>
<td :rowspan="item.itemRowSpan" v-if='subIndex==0&&thirdIndex==0' style="white-space:nowrap;"> <td :rowspan="item.itemRowSpan" v-if='subIndex==0&&thirdIndex==0' style="white-space:nowrap;">
<template v-for="(fItem,fIndex) in item.FlightList"> <template v-if="item.NewFlightList&&item.NewFlightList.length>0">
<span style="height:25px; line-height:25px;"> <template v-for="(fItem,fIndex) in item.NewFlightList">
<a style="color: #ff0066;font-weight: bold;">{{fItem.Flight_number}}</a> <template v-for="(fdItem,fdIndex) in fItem.Flist">
{{fItem.FlightDateStr}} <span style="height:25px; line-height:25px;">
{{fItem.Departure_time}} {{fItem.dName}} {{fItem.TicketArrivalTime}} {{fItem.aName}} <a style="color: #ff0066;font-weight: bold;">{{fdItem.Flight_number}}</a>
</span><br /> {{fdItem.FlightDateStr}}
{{fdItem.Departure_time}} {{fdItem.dName}} {{fdItem.TicketArrivalTime}} {{fdItem.aName}}
</span><br />
</template>
<template v-if="fIndex!=item.NewFlightList.length-1">
<hr/>
</template>
</template>
</template> </template>
</td> </td>
<td :rowspan="item.itemRowSpan" v-if='subIndex==0&&thirdIndex==0'> <td :rowspan="item.itemRowSpan" v-if='subIndex==0&&thirdIndex==0'>
...@@ -240,7 +248,9 @@ ...@@ -240,7 +248,9 @@
<script> <script>
import DateLimit from '../public/DateLimit.vue'; import DateLimit from '../public/DateLimit.vue';
export default { export default {
components: {DateLimit}, components: {
DateLimit
},
data() { data() {
return { return {
userInfo: {}, //用户信息 userInfo: {}, //用户信息
...@@ -506,7 +516,7 @@ ...@@ -506,7 +516,7 @@
if (this.$route.query.hotelId) { if (this.$route.query.hotelId) {
this.msg.HotelId = Number(this.$route.query.hotelId); this.msg.HotelId = Number(this.$route.query.hotelId);
} }
this.msg.TCNUM = this.$route.query.TCNUM?this.$route.query.TCNUM:''; this.msg.TCNUM = this.$route.query.TCNUM ? this.$route.query.TCNUM : '';
if (this.$route.query.dateStr) { if (this.$route.query.dateStr) {
this.msg.DateStr = this.$route.query.dateStr; this.msg.DateStr = this.$route.query.dateStr;
} }
......
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