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
b82d5aa3
Commit
b82d5aa3
authored
Aug 09, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消航班显示
parent
45e48fbc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
orderTicketUnion.vue
src/components/commonPage/orderTicketUnion.vue
+40
-0
No files found.
src/components/commonPage/orderTicketUnion.vue
View file @
b82d5aa3
...
...
@@ -47,7 +47,32 @@
</el-table-column>
</el-table>
<br
/>
<el-form
label-width=
"100px"
>
<
template
v-if=
"postMsg.GuestList&&postMsg.GuestList.length>0"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"20"
>
<el-form-item
label=
"取消航班显示"
>
<template
v-if=
"PiceOrderUnionFlightList&&PiceOrderUnionFlightList.length>0"
>
<el-select
v-model=
"SelectList"
multiple
placeholder=
"请选择"
style=
"width:100%"
>
<el-option
v-for=
"item in PiceOrderUnionFlightList"
:key=
"item.ID"
:label=
"item.Flight_number"
:value=
"item.ID"
>
<span
style=
"float: left"
>
{{
item
.
Flight_number
}}
{{
item
.
FlightSubType
==
1
?
"启程"
:
"回程"
}}
</span>
<span
style=
"float: right; color: #8492a6; font-size: 13px"
>
{{
item
.
AlName
}}{{
item
.
FlightDateStr
}}
{{
item
.
Departure_time
}}{{
item
.
DepartureName
}}
(
{{
item
.
DIATA
}}
)-
{{
item
.
FlightDateStr
}}
{{
item
.
Arrival_time
}}{{
item
.
ArrivalCityName
}}
(
{{
item
.
AIATA
}}
)
</span>
</el-option>
</el-select>
</
template
>
</el-form-item>
</el-col>
</el-row>
</template>
<el-row
:gutter=
"20"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"订单编号"
>
...
...
@@ -162,9 +187,12 @@
GoFlightNum
:
""
,
//去程航班
BackFlightNum
:
""
,
//回程航班
Notes
:
""
,
//备注
NotShowFlightIds
:
""
,
//不需要的航班ids
},
orderUnionList
:
[],
//订单联运信息
orderGuestList
:
[],
//订单旅客信息
PiceOrderUnionFlightList
:[],
//团航班信息
SelectList
:[],
//已选航班信息
}
},
mounted
()
{
...
...
@@ -173,6 +201,10 @@
methods
:
{
//修改联运
editOrderUnion
(
item
)
{
this
.
SelectList
=
[];
this
.
SelectList
=
item
.
NotShowFlightList
;
this
.
PiceOrderUnionFlightList
=
[];
this
.
PiceOrderUnionFlightList
=
item
.
PiceOrderUnionFlightList
;
if
(
item
.
TicketUnionId
)
{
this
.
postMsg
.
TicketUnionId
=
item
.
TicketUnionId
;
}
...
...
@@ -194,6 +226,8 @@
if
(
item
.
BackFlightNum
)
{
this
.
postMsg
.
BackFlightNum
=
item
.
BackFlightNum
;
}
this
.
postMsg
.
OperateType
=
2
;
},
//删除联运
deleteOrderUnion
(
item
)
{
...
...
@@ -219,12 +253,18 @@
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
orderUnionList
=
res
.
data
.
data
;
if
(
this
.
postMsg
.
TicketUnionId
==
0
&&
this
.
orderUnionList
&&
this
.
orderUnionList
.
length
>
0
)
{
this
.
PiceOrderUnionFlightList
=
this
.
orderUnionList
[
0
].
PiceOrderUnionFlightList
;
}
}
}
);
},
//设置联运
saveTicketUnion
()
{
if
(
this
.
SelectList
&&
this
.
SelectList
.
length
>
0
){
this
.
postMsg
.
NotShowFlightIds
=
this
.
SelectList
.
map
(
item
=>
item
).
join
(
', '
);
}
this
.
apipost
(
"AirTicket_post_ImportUnionOrderFlight"
,
this
.
postMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
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