Commit 7a10061c authored by 黄奎's avatar 黄奎

页面修改

parent 1c3d5fc7
......@@ -667,9 +667,9 @@
<li>
<span class="hotel_name">
<em>{{$t('system.ph_flightTime')}}</em>
<DateLimit :clearable="false" :StartGroupDate="Query.QNeedDateStart" :EndGroupDate="Query.QNeedDateEnd"
@change="(date)=> Query.QNeedDateStart = date"></DateLimit>
<el-date-picker class="w150" v-model="Query.QNeedDateEnd" type="date" value-format="yyyy-MM-dd"
<DateLimit :clearable="false" :StartGroupDate="Query.QFlightDateStart" :EndGroupDate="Query.QFlightDateEnd"
@change="(date)=> Query.QFlightDateStart = date"></DateLimit>
<el-date-picker class="w150" v-model="Query.QFlightDateEnd" type="date" value-format="yyyy-MM-dd"
placeholder="" :picker-options="pickerBeginDateAfter">
</el-date-picker>
</span>
......@@ -951,9 +951,9 @@
//是否往返
TicketType: 0,
//起飞时间
QNeedDateStart: "",
QFlightDateStart: "",
//起飞结束日期
QNeedDateEnd: "",
QFlightDateEnd: "",
//航空公司编号
AirLineID: 0,
//航班号
......@@ -1005,13 +1005,13 @@
UseNum_placeholder: "",
pickerBeginDateBefore: {
disabledDate: time => {
let endTime = new Date(this.Query.QNeedDateEnd);
let endTime = new Date(this.Query.QFlightDateEnd);
return endTime.getTime() < time.getTime();
}
},
pickerBeginDateAfter: {
disabledDate: time => {
let startTime = new Date(this.Query.QNeedDateStart);
let startTime = new Date(this.Query.QFlightDateStart);
return startTime.getTime() >= time.getTime();
}
},
......@@ -1027,7 +1027,7 @@
} else {
let StartDate = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))
this.Query.QNeedDateStart = StartDate
this.Query.QFlightDateStart = StartDate
}
});
},
......@@ -1191,7 +1191,7 @@
this.getAllEmployeeList();
},
mounted() {
this.Query.QNeedDateStart = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"));
this.Query.QFlightDateStart = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"));
this.GetSupperOrderEditAuth()
this.getEmployeeList();
this.GetLineList();
......
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