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

页面修改

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