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
cff2bfcc
Commit
cff2bfcc
authored
Jun 20, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e9c76221
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
TicketTransport.vue
src/components/Ticketing/TicketTransport.vue
+20
-8
No files found.
src/components/Ticketing/TicketTransport.vue
View file @
cff2bfcc
...
...
@@ -72,7 +72,8 @@
<div
class=
"DT_rightList"
>
<div
class=
"TMTitle"
><i></i>
票务联运配置
</div>
<!--保存-->
<input
type=
'button'
class=
"normalBtn"
@
click=
"SaveUnion()"
value=
"保存"
/>
<el-button
type=
"primary"
@
click
.
native=
"SaveUnion()"
:loading=
"saveLoading"
>
保存
</el-button>
<table
class=
"singeRowTable DT_Table"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<thead>
<tr>
...
...
@@ -146,7 +147,7 @@
{{
item
.
OrderCreateByName
}}
</td>
<td
rowspan=
"2"
>
{{
item
.
GuestNames
}}
{{
item
.
GuestNames
}}
</td>
<td>
去程
...
...
@@ -231,8 +232,8 @@
</tr>
<tr>
<td
colspan=
"14"
style=
"text-align:left;font-weight:bold;color:red;"
>
订单备注:
{{
item
.
Remarks
}}
<br
/>
联运备注:
{{
item
.
UnionRemark
}}
订单备注:
{{
item
.
Remarks
}}
<br
/>
联运备注:
{{
item
.
UnionRemark
}}
</td>
</tr>
</tbody>
...
...
@@ -288,7 +289,8 @@
ID
:
2
,
Name
:
"后两天"
}
]
],
saveLoading
:
false
,
//保存按钮
};
},
methods
:
{
...
...
@@ -319,12 +321,18 @@
},
res
=>
{
this
.
loading
=
false
;
console
.
log
(
"res"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
var
array
=
res
.
data
.
data
;
if
(
array
!=
null
&&
array
.
length
>
0
)
{
array
.
forEach
(
item
=>
{
this
.
airLineSelectChange
(
item
,
item
.
AirLineId
,
1
);
this
.
airLineSelectChange
(
item
,
item
.
BackAirlineId
,
2
);
if
(
item
.
AirLineId
&&
item
.
FlightId
&&
item
.
AirLineId
>
0
&&
item
.
FlightId
>
0
)
{
this
.
airLineSelectChange
(
item
,
item
.
AirLineId
,
1
);
}
if
(
item
.
BackAirlineId
&&
item
.
BackFlightId
&&
item
.
BackAirlineId
>
0
&&
item
.
BackFlightId
>
0
)
{
this
.
airLineSelectChange
(
item
,
item
.
BackAirlineId
,
2
);
}
});
}
this
.
UnionList
=
array
;
...
...
@@ -348,13 +356,15 @@
//航空公司切换
airLineSelectChange
(
item
,
AirLineId
,
type
)
{
let
qMsg
=
{
A
irlineID
:
AirLineId
,
a
irlineID
:
AirLineId
,
Arrival_city
:
0
,
Departure_city
:
0
};
if
(
type
==
1
)
{
item
.
FlightList
=
[];
qMsg
.
Departure_city
=
item
.
UnionCityId
;
}
else
if
(
type
==
2
)
{
item
.
BackFlightList
=
[];
qMsg
.
Arrival_city
=
item
.
UnionCityId
;
}
this
.
apipost
(
...
...
@@ -389,6 +399,7 @@
},
//保存联运信息数据
SaveUnion
()
{
this
.
saveLoading
=
true
;
this
.
UnionList
.
forEach
(
item
=>
{
item
.
FlightList
=
[];
item
.
BackFlightList
=
[];
...
...
@@ -398,6 +409,7 @@
TCID
:
this
.
TCID
};
this
.
apipost
(
"AirTicket_get_SetUnionTicketV3"
,
msg
,
res
=>
{
this
.
saveLoading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"设置联运成功!"
);
this
.
ArrList
=
[];
...
...
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