Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
afaddc00
Commit
afaddc00
authored
Apr 06, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
030394df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
61 deletions
+74
-61
TicketOrder.vue
src/components/SingleAirTicket/components/TicketOrder.vue
+74
-61
No files found.
src/components/SingleAirTicket/components/TicketOrder.vue
View file @
afaddc00
<
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=
"Datelist
BM
"
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=
"getDates
BM
"
>
</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
.
Datelist
Use
){
this
.
msg
.
DepartSTime
=
this
.
Datelist
Use
[
0
]
this
.
msg
.
DepartETime
=
this
.
Datelist
Use
[
1
]
}
if
(
!
this
.
Datelist
Use
){
this
.
msg
.
DepartSTime
=
''
this
.
msg
.
DepartETime
=
''
}
},
getDates
(){
if
(
this
.
Datelist
Use
){
if
(
this
.
Datelist
){
this
.
msg
.
FinishSTime
=
this
.
Datelist
[
0
]
this
.
msg
.
FinishETime
=
this
.
Datelist
[
1
]
}
if
(
!
this
.
Datelist
Use
){
}
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment