Commit afaddc00 authored by youjie's avatar youjie

no message

parent 030394df
<style scoped>
.TC_leftSearch>div{
padding: 5px 0;
}
.groupTourOrderByTuan_ico{
margin-left: 5px;
}
......@@ -43,7 +46,7 @@
</style>
<template>
<div class="HotelWorkList">
<div class="HotelWorkList" @click="showWarningSearch=false">
<div class="query-box HotelWorkInput" style="border-bottom: none;">
<ul>
<li>
......@@ -68,31 +71,6 @@
</el-select>
</span>
</li>
<li>
<span>
<em>出票状态</em>
<el-select v-model='msg.TicketStatus' class="w200">
<el-option :value="0" label="不限"></el-option>
<el-option v-for='item in ticketingStatusList'
:label='item.Name'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>出签状态</em>
<el-select v-model='msg.VisaStatus' class="w200">
<el-option v-for='item in VisaList'
:label='item.Name'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>订单状态</em>
......@@ -141,15 +119,15 @@
</li>
<li>
<span>
<em>完结时间</em>
<em>报名时间</em>
<el-date-picker
style="height: 34px;"
value-format="yyyy-MM-dd"
v-model="Datelist"
v-model="DatelistBM"
type="daterange"
:range-separator="$t('OrderList.zhi')"
:start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDates">
:end-placeholder="$t('OrderList.end')" @change="getDatesBM">
</el-date-picker>
</span>
</li>
......@@ -169,44 +147,66 @@
</li>
<li>
<span>
<em @click="showWarningSearch=true">高级查询</em>
<el-popover width="260" v-model="showWarningSearch" trigger="click">
<em @click.stop="showWarningSearch=true"
style="margin-top: 10px;cursor: pointer;"> 高级查询 <i class="el-icon-caret-bottom"></i></em>
<el-popover width="300" v-model="showWarningSearch" trigger="click">
<div>
<div class="TC_queryTitle">高级查询</div>
<div class="TC_queryTitle">机票高级查询</div>
<div class="clearfix">
<div class="TC_leftSearch">
<div>
<span>出票状态</span>
<el-select v-model='msg.TicketStatus' class="w150">
<el-option :value="0" label="不限"></el-option>
<el-option v-for='item in ticketingStatusList'
:label='item.Name'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</div>
<div>
<span>{{$t('system.query_airCompanyName')}}</span>
<!-- <el-select v-model="msg.AirTicketId" filterable :placeholder="$t('system.ph_buxian')"
class="w150">
<el-option :label="$t('system.ph_buxian')" :value="queryCommonData.SelectDefaultValue">
<span>出签状态</span>
<el-select v-model='msg.VisaStatus' class="w150">
<el-option v-for='item in VisaList'
:label='item.Name'
:value='item.Id'
:key='item.Id'>
</el-option>
<el-option v-for="item in queryCommonData.AirlineList" :key="item.AirLineId"
:label="item.AlName" :value="item.AirLineId"></el-option>
</el-select> -->
</el-select>
</div>
<div>
<span>完结时间</span>
<el-date-picker
class="w150"
style="height: 34px;"
value-format="yyyy-MM-dd"
v-model="Datelist"
type="daterange"
:range-separator="$t('OrderList.zhi')"
:start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDates">
</el-date-picker>
style="height: 34px;width: 210px;"
value-format="yyyy-MM-dd"
v-model="Datelist"
type="daterange"
:range-separator="$t('OrderList.zhi')"
:start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDates">
</el-date-picker>
</div>
<div>
<span>出行概述</span>
<el-input v-model='msg.StartCityName' style="width: 210px;"></el-input>
</div>
</div>
<button class="normalBtn TC_SearchBtn"
@click="GetList(),showWarningSearch=false">{{$t('pub.searchBtn')}}
</div>
<div style="text-align: right;margin-top: 10px;">
<button class="normalBtn TC_SearchBtn"
@click.stop="GetList(),showWarningSearch=false">{{$t('pub.searchBtn')}}
</button>
</div>
</div>
</div>
</el-popover>
</span>
</li>
<li>
<input type="button" class="normalBtn" :value="$t('pub.searchBtn')" @click="msg.pageIndex=1,currentPage=1,GetList()" />
<input type="button" class="normalBtn" :value="$t('pub.searchBtn')" @click.stop="msg.pageIndex=1,currentPage=1,GetList()" />
</li>
</ul>
</div>
......@@ -221,13 +221,13 @@
</div>
<p>
<span class="groupTourOrder_count_green">{{$t('op.TotalMoney')}}
{{TotalMsg.Money}}
{{TotalMsg.Money.toFixed(2)}}
</span>
<span class="groupTourOrder_count_green">{{$t('salesModule.TotalIncome')}}
{{TotalMsg.Money-TotalMsg.PayMoney}}
{{(TotalMsg.Money-TotalMsg.PayMoney).toFixed(2)}}
</span>
<span class="color_red_order">{{$t('op.Tocollected')}}
{{TotalMsg.DueinMoney}}
{{TotalMsg.DueinMoney.toFixed(2)}}
</span>
</p>
</div>
......@@ -369,6 +369,7 @@
],
Datelist:'',
DatelistUse:'',
DatelistBM: [],
Title:'',
EmployeeList:[],
employeeMsg:{ // 员工
......@@ -433,20 +434,29 @@
}
}, err => {})
},
getDatesBM(){
if(this.DatelistBM){
this.msg.StartTime = this.DatelistBM[0]
this.msg.EndTime = this.DatelistBM[1]
}if(!this.DatelistBM){
this.msg.StartTime = ''
this.msg.EndTime = ''
}
},
getDatesUse(){
if(this.Datelist){
this.msg.DepartSTime = this.Datelist[0]
this.msg.DepartETime = this.Datelist[1]
}if(!this.Datelist){
if(this.DatelistUse){
this.msg.DepartSTime = this.DatelistUse[0]
this.msg.DepartETime = this.DatelistUse[1]
}if(!this.DatelistUse){
this.msg.DepartSTime = ''
this.msg.DepartETime = ''
}
},
getDates(){
if(this.DatelistUse){
if(this.Datelist){
this.msg.FinishSTime = this.Datelist[0]
this.msg.FinishETime = this.Datelist[1]
}if(!this.DatelistUse){
}if(!this.Datelist){
this.msg.FinishSTime = ''
this.msg.FinishETime = ''
}
......@@ -657,6 +667,9 @@
if(this.Title!='销售'){
this.getEmployee()
}
this.msg.StartTime = this.getBeforeDate(31, new Date())
this.msg.EndTime = this.$calendarUtils.formatDate(new Date(), "YYYY-MM-dd", 0)
this.DatelistBM = [new Date(this.msg.StartTime),new Date()]
this.GetOrderStatusEnumList()
this.GetTicketStatusEnumList()
this.Datelist = this.getyMDOne()
......
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