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
3889659a
Commit
3889659a
authored
Mar 19, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改旅客名单
parent
d1864399
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
133 additions
and
34 deletions
+133
-34
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+133
-34
No files found.
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
3889659a
...
...
@@ -1448,6 +1448,7 @@
<div
class=
"RL_rightBtn"
v-if=
"isShow===true"
>
<!--item.TCID,item.OutBranchId-->
<input
type=
"button"
class=
"normalBtn"
@
click=
"goTeamBalance(ConfigData.Config.TCID,ConfigData.Config.OutBranchId)"
value=
"团报"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"getOrderInfo()"
:value=
"'出团通知书('+(SetNoticeMsg.OutNotice==1?'OK':'暂定')+')'"
style=
"display:none;"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"SetOutNotice()"
:value=
"'出团通知书('+(SetNoticeMsg.OutNotice==1?'OK':'暂定')+')'"
/>
<input
type=
"button"
@
click=
"CancelLeader"
v-if=
"ConfigData.Leader!=null&&ConfigData.Leader.LeaderId>0"
class=
"normalBtn"
value=
"重选领队"
/>
...
...
@@ -2225,6 +2226,74 @@
<button
class=
"hollowFixedBtn"
@
click=
"initTCMsg"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
<el-dialog
custom-class=
'passgenrDialog'
title=
"航班列表"
:visible
.
sync=
"outerVisible"
center
>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<tr>
<td
colspan=
"6"
style=
"text-align:left;font-weight:bold;padding-left:5px"
>
票务航班信息
</td>
</tr>
<tr>
<th>
航班号
</th>
<th>
开始时间
</th>
<th>
结束时间
</th>
<th>
出发时间
</th>
<th>
起飞机场
</th>
<th>
到达机场
</th>
</tr>
<tr
v-for=
"item in flightList"
>
<td>
{{item.Flight_number}}
</td>
<td>
{{item.TicketDepartureTime}}
</td>
<td>
{{item.TicketArrivalTime}}
</td>
<td>
{{item.FlightDate}}
</td>
<td>
{{item.dName}}
</td>
<td>
{{item.aName}}
</td>
</tr>
</table>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
style=
"margin-top:20px;"
v-if=
"combineTeamList.length>0"
>
<tr>
<td
colspan=
"9"
style=
"text-align:left;font-weight:bold;padding-left:5px"
>
联运航班信息
</td>
</tr>
<tr>
<th>
团号
</th>
<th>
公司/城市
</th>
<th>
航段
</th>
<th>
日期
</th>
<th>
航班号
</th>
<th>
出发时间
</th>
<th>
到达时间
</th>
<th>
起飞机场
</th>
<th>
到达机场
</th>
</tr>
<tbody
v-for=
"subItem in combineTeamList"
>
<tr>
<td
rowspan=
"2"
>
{{subItem.TCNUM}}({{subItem.TCID}})
</td>
<td
rowspan=
"2"
>
{{subItem.UnionBranchName}}({{subItem.UnionCityName}})
</td>
<td
width=
"50"
>
去程
</td>
<td>
{{subItem.GoFlightDateStr}}
</td>
<td>
{{subItem.GoFlight_number}}
</td>
<td>
{{subItem.GoDepartTime}}
</td>
<td>
{{subItem.GoArriveTime}}
</td>
<td>
{{subItem.GoDepartAirportName}}
</td>
<td>
{{subItem.GoArrivalAirportName}}
</td>
</tr>
<tr>
<td
width=
"50"
>
回程
</td>
<td>
{{subItem.BackFlightDateStr}}
</td>
<td>
{{subItem.BackFlight_number}}
</td>
<td>
{{subItem.BackDepartTime}}
</td>
<td>
{{subItem.BackArriveTime}}
</td>
<td>
{{subItem.BackDepartAirportName}}
</td>
<td>
{{subItem.BackArrivalAirportName}}
</td>
</tr>
</tbody>
</table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<input
type=
"button"
class=
"normalBtn"
@
click=
"SetOutNotice()"
:value=
"'出团通知书('+(SetNoticeMsg.OutNotice==1?'OK':'暂定')+')'"
/>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
</div>
</template>
...
...
@@ -2238,6 +2307,8 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
Ysze
:
false
,
addMsg_form
:{},
IsUpdateOrderMoney
:
false
,
outerVisible
:
false
,
//弹窗
OrderLoading
:
false
,
OrderLossMsg
:{
...
...
@@ -2600,8 +2671,9 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
subInfo
:{
CreateBy
:
''
,
OrderId
:
0
}
},
flightList
:[],
combineTeamList
:[],
};
},
components
:
{
...
...
@@ -3838,7 +3910,6 @@ submitYSZEForm(){
},
err
=>
{}
);
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
...
...
@@ -3873,10 +3944,38 @@ submitYSZEForm(){
this
.
ConfigData
.
Config
=
res
.
data
.
data
.
config
;
this
.
SetNoticeMsg
.
OutNotice
=
res
.
data
.
data
.
config
.
OutNotice
;
this
.
ConfigData
.
Leader
=
res
.
data
.
data
.
leader
;
console
.
log
(
this
.
ConfigData
,
'ConfigData'
);
}
}
);
},
//获取
getFlightInfo
()
{
let
msg
=
{
ID
:
this
.
ConfigData
.
Config
.
AirTicketId
}
this
.
apipost
(
"ticket_get_GetEntityExtend"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
flightList
=
res
.
data
.
data
.
flightList
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{});
this
.
outerVisible
=
true
;
},
//获取联运团信息
getCombinTeam
()
{
let
msg
=
{
AirTicketId
:
this
.
ConfigData
.
Config
.
AirTicketId
}
this
.
apipost
(
"ticket_get_GetUnionFlightAllInfo"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
combineTeamList
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{});
},
//获取国家
getCountry
()
{
this
.
apipost
(
...
...
@@ -4105,7 +4204,21 @@ submitYSZEForm(){
}
},
//出团通知书
SetOutNotice
()
{
getOrderInfo
()
{
this
.
$confirm
(
"是否确认出团通知书?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{
this
.
getFlightInfo
();
this
.
getCombinTeam
();
})
.
catch
(()
=>
{
this
.
$message
.
info
(
"已取消!"
);
});
},
SetOutNotice
(){
if
(
this
.
SetNoticeMsg
.
OutNotice
==
0
)
{
this
.
SetNoticeMsg
.
OutNotice
=
1
;
}
else
if
(
this
.
SetNoticeMsg
.
OutNotice
==
1
)
{
...
...
@@ -4116,27 +4229,13 @@ submitYSZEForm(){
this
.
getList
();
this
.
getConfig
();
this
.
Success
(
res
.
data
.
message
);
this
.
outerVisible
=
false
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
//新窗口打开
goScheduleUrl
(
id
)
{
let
routeData
=
this
.
$router
.
resolve
({
name
:
"leaderScheduleManager"
,
query
:
{
TCID
:
id
,
blank
:
'y'
}
});
window
.
open
(
routeData
.
href
,
"_blank"
);
},
//点击修改业务员
getSalerInfo
(
item
){
this
.
subInfo
.
CreateBy
=
item
.
CreateBy
;
this
.
subInfo
.
OrderId
=
item
.
OrderId
;
this
.
showChangeSales
=
true
;
},
err
=>
{
})
},
//关闭修改业务员
closeSalseDiv
(){
...
...
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