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
baa19b1a
Commit
baa19b1a
authored
Mar 06, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
散客订单
parent
74536407
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
118 additions
and
85 deletions
+118
-85
IndividualTicketOrder.vue
src/components/Ticketing/IndividualTicketOrder.vue
+19
-3
IndividualTicketOrderDetails.vue
src/components/Ticketing/IndividualTicketOrderDetails.vue
+99
-82
No files found.
src/components/Ticketing/IndividualTicketOrder.vue
View file @
baa19b1a
...
...
@@ -142,13 +142,24 @@
<div>
<div>
收款单据:
</div>
<div>
<span
style=
"cursor: default;"
>
暂无数据
</span>
<span
style=
"cursor: default;"
>
<span
class=
"tickets_green"
v-for=
"(fina,fin) in item.FinanceList"
:key=
"fin"
>
{{fina.PayMoney}}
</span>
<span
v-if=
"item.FinanceList==0"
>
暂无数据
</span>
</span>
</div>
</div>
<div>
<div>
付款单据:
</div>
<div>
<span
style=
"cursor: default;"
>
暂无数据
</span>
<span
style=
"cursor: default;"
>
<span
class=
"tickets_green"
v-for=
"(fina,fin) in item.RefundFinanceList"
:key=
"fin"
>
{{fina.PayMoney}}
</span>
<span
v-if=
"item.RefundFinanceList==0"
>
暂无数据
</span>
</span>
</div>
</div>
</td>
...
...
@@ -200,7 +211,7 @@ export default {
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
//
console.log(res);
console
.
log
(
res
);
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
}
else
{
...
...
@@ -225,6 +236,11 @@ export default {
</
script
>
<
style
scoped
>
@import
"../../assets/css/newTravelManager.css"
;
.tickets_green
{
color
:
#008000
;
text-decoration
:
underline
;
margin-right
:
6px
;
}
.title_tr
th
{
width
:
9%
;
}
...
...
src/components/Ticketing/IndividualTicketOrderDetails.vue
View file @
baa19b1a
...
...
@@ -9,7 +9,7 @@
<p><el-button
type=
"primary"
size=
"mini"
>
{{
AirModel
.
FreightSpaceStr
}}
</el-button></p>
</el-col>
<el-col
:span=
"15"
>
<p
v-for=
"
(item,index) in AirModel.flightList"
:key=
"index
"
>
<p
v-for=
"
item in AirModel.flightList"
:key=
"item
"
>
<span
class=
"air"
>
{{
item
.
Flight_number
}}
</span>
<span>
{{
item
.
FlightDate
}}
{{
item
.
Departure_time
}}{{
item
.
DepartureName
}}
-
{{
item
.
AIATA
}}{{
item
.
ArrivalCityName
}}
</span>
</p>
...
...
@@ -18,8 +18,6 @@
</div>
<!-- Tab选项 -->
<el-tabs
v-model=
"activeName"
>
<el-tab-pane
label=
"正常"
name=
"first"
>
<div
style=
"width: 100%; height: auto; overflow-x: auto;"
class=
"ownScrollbarStyle"
>
<table
class=
"groupTourOrderSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
'loading'
>
<tr
class=
"title_tr"
>
...
...
@@ -39,7 +37,7 @@
<tr>
<td
v-show=
"dataList.length==0"
colspan=
"16"
align=
"center"
>
暂无数据
</td>
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index
"
>
<tbody
v-for=
"item in dataList"
:key=
"item.ContactName
"
>
<tr>
<td>
{{
item
.
AirProductId
}}
</td>
<td><p
class=
"fz12 over_ellipsis"
style=
"width: 120px;"
>
{{
item
.
ContactName
}}
</p>
...
...
@@ -53,47 +51,44 @@
<td>
{{
item
.
Refund
}}
</td>
<td>
{{
item
.
PlatformTax
}}
</td>
<td>
<
el-tag
v-if=
"item.Status==1"
type=
"success"
>
正常
</el-tag
>
<
el-tag
v-if=
"item.Status==2"
>
取消
</el-tag
>
<
span
v-if=
"item.Status==1"
type=
"success"
>
正常
</span
>
<
span
v-if=
"item.Status==2"
>
取消
</span
>
</td>
</tr>
<tr
style=
"height:20px"
>
<td
colspan=
"15"
class=
"RL_Order"
style=
"height:20px"
>
<span
class=
"RL-remarkTitle"
>
名单:
</span>
<span
class=
"RL-redType RL-remarkCon"
v-if=
"item.GuestList.length>0"
>
<span
v-for=
"(childItem) in item.GuestList"
:key=
"childItem.Name"
>
{{
childItem
.
Name
}}
</span>
<el-popover
placement=
"right"
width=
"1000"
trigger=
"click"
>
<el-table
:data=
"item.GuestList"
>
<el-table-column
property=
"Id"
label=
"订单ID"
></el-table-column>
<el-table-column
property=
"Name"
label=
"姓名"
></el-table-column>
<el-table-column
property=
"EName"
label=
"英文姓名"
></el-table-column>
<el-table-column
property=
"Sex"
label=
"性别"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.Sex=='1'"
>
男
</span>
<span
v-if=
"scope.row.Sex=='2'"
>
女
</span>
</
template
>
</el-table-column>
<el-table-column
property=
"Birthday"
label=
"生日"
></el-table-column>
<el-table-column
property=
"PassportNo"
label=
"护照号码"
></el-table-column>
<el-table-column
property=
"NationalityName"
label=
"国籍"
></el-table-column>
<el-table-column
width=
"120"
property=
"MobilePhone"
label=
"手机号码"
></el-table-column>
<el-table-column
property=
"AgeType"
label=
"年龄类型"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.AgeType=='1'"
>
成人
</span>
<span
v-if=
"scope.row.AgeType=='2'"
>
孩子
</span>
<span
v-if=
"scope.row.AgeType=='3'"
>
婴儿
</span>
<span
v-if=
"scope.row.AgeType=='4'"
>
老人
</span>
</
template
>
</el-table-column>
</el-table>
<span
style=
"float:right"
class=
"RL-remarkTitle"
slot=
"reference"
>
<i
style=
"font-size:12px;color:#e95252"
class=
"iconfont icon-gengduo"
></i>
</span>
placement=
"right"
width=
"1000"
trigger=
"click"
>
<el-table
:data=
"item.GuestList"
>
<el-table-column
property=
"Id"
label=
"排号"
></el-table-column>
<el-table-column
property=
"Name"
label=
"姓名"
></el-table-column>
<el-table-column
property=
"Sex"
label=
"性别"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.Sex=='1'"
>
男
</span>
<span
v-if=
"scope.row.Sex=='2'"
>
女
</span>
</
template
>
</el-table-column>
<el-table-column
property=
"Birthday"
label=
"生日"
></el-table-column>
<el-table-column
property=
"PassportNo"
label=
"护照号码"
></el-table-column>
<el-table-column
property=
"NationalityName"
label=
"国籍"
></el-table-column>
<el-table-column
width=
"120"
property=
"MobilePhone"
label=
"手机号码"
></el-table-column>
<el-table-column
property=
"AgeType"
label=
"年龄类型"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.AgeType=='1'"
>
成人
</span>
<span
v-if=
"scope.row.AgeType=='2'"
>
孩子
</span>
<span
v-if=
"scope.row.AgeType=='3'"
>
婴儿
</span>
<span
v-if=
"scope.row.AgeType=='4'"
>
老人
</span>
</
template
>
</el-table-column>
</el-table>
<span
slot=
"reference"
>
<span
style=
"cursor:pointer"
v-for=
"(childItem) in item.GuestList"
:key=
"childItem.Name"
>
{{childItem.Name}}
</span>
</span>
</el-popover>
</span>
<span
class=
"RL-redType RL-remarkCon"
v-else
>
...
...
@@ -116,42 +111,39 @@
<div>
<div>
收款单据:
</div>
<div>
<span
style=
"cursor: default;"
>
暂无数据
</span>
</div>
<span
style=
"cursor: default;"
>
<span
class=
"tickets_green"
v-for=
"(fina,fin) in item.FinanceList"
:key=
"fin"
>
{{fina.PayMoney}}
</span>
<span
v-if=
"item.FinanceList==0"
>
暂无数据
</span>
</span>
</div>
</div>
<div>
<div>
付款单据:
</div>
<div>
<span
style=
"cursor: default;"
>
暂无数据
</span>
</div>
<span
style=
"cursor: default;"
>
<span
class=
"tickets_green"
v-for=
"(fina,fin) in item.RefundFinanceList"
:key=
"fin"
>
{{fina.PayMoney}}
</span>
<span
v-if=
"item.RefundFinanceList==0"
>
暂无数据
</span>
</span>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</el-tab-pane>
<el-tab-pane
label=
"取消"
name=
"second"
>
<div
style=
"width: 100%; height: auto; overflow-x: auto;"
class=
"ownScrollbarStyle"
>
<table
class=
"groupTourOrderSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
'loading'
>
<tr
class=
"title_tr"
>
<th>
单号
</th>
<th>
客户信息
</th>
<th>
客人数量
</th>
<th>
单价
</th>
<th>
成交单价
</th>
<th>
应收总额
</th>
<th>
实收
</th>
<th>
退款
</th>
<th>
平台税金
</th>
<!-- <th width="80">平台在途</th> -->
<!-- <th width="80">待收金额</th> -->
<th>
状态
</th>
</tr>
<tr>
<td
v-show=
"CancelList.length==0"
colspan=
"16"
align=
"center"
>
暂无数据
</td>
</tr>
<tbody
v-for=
"(item,index) in CancelList"
:key=
"index"
>
<!-- 展开或关闭 -->
<tr
v-if=
"CancelList.length>0"
style=
"height:60px;line-height:60px;width:100%"
>
<td
colspan=
"15"
>
<p
@
click=
"Toggle"
style=
"cursor:pointer;display:inline-block;width:100%;background:#fff;padding:0 6px;box-sizing:border-box"
>
取消订单
<span
style=
"color:blue"
>
({{toggle_title}})
</span>
</p>
</td>
</tr>
<tbody
v-show=
"toggle_status"
v-for=
"item in CancelList"
:key=
"item.ContactName"
>
<tr>
<td>
{{item.AirProductId}}
</td>
<td><p
class=
"fz12 over_ellipsis"
style=
"width: 120px;"
>
{{item.ContactName}}
</p>
...
...
@@ -165,8 +157,8 @@
<td>
{{item.Refund}}
</td>
<td>
{{item.PlatformTax}}
</td>
<td>
<
el-tag
v-if=
"item.Status==1"
type=
"success"
>
正常
</el-tag
>
<
el-tag
v-if=
"item.Status==2"
>
取消
</el-tag
>
<
span
v-if=
"item.Status==1"
>
正常
</span
>
<
span
v-if=
"item.Status==2"
>
取消
</span
>
</td>
</tr>
<tr
style=
"height:20px"
>
...
...
@@ -179,9 +171,8 @@
width=
"1000"
trigger=
"click"
>
<el-table
:data=
"item.GuestList"
>
<el-table-column
property=
"Id"
label=
"
订单ID
"
></el-table-column>
<el-table-column
property=
"Id"
label=
"
排号
"
></el-table-column>
<el-table-column
property=
"Name"
label=
"姓名"
></el-table-column>
<el-table-column
property=
"EName"
label=
"英文姓名"
></el-table-column>
<el-table-column
property=
"Sex"
label=
"性别"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.Sex=='1'"
>
男
</span>
...
...
@@ -202,11 +193,10 @@
</
template
>
</el-table-column>
</el-table>
<span
s
tyle=
"float:right"
class=
"RL-remarkTitle"
s
lot=
"reference"
>
<i
style=
"font-size:12px;color:#e95252"
class=
"iconfont icon-gengduo"
></i
>
<span
slot=
"reference"
>
<span
style=
"cursor:pointer"
v-for=
"(childItem) in item.GuestList"
:key=
"childItem.Name"
>
{{childItem.Name}}
</span
>
</span>
</el-popover>
</el-popover>
</span>
<span
class=
"RL-redType RL-remarkCon"
v-else
>
<span>
暂无名单
</span>
...
...
@@ -228,23 +218,32 @@
<div>
<div>
收款单据:
</div>
<div>
<span
style=
"cursor: default;"
>
暂无数据
</span>
<span
style=
"cursor: default;"
>
<span
class=
"tickets_green"
v-for=
"(fina,fin) in item.FinanceList"
:key=
"fin"
>
{{fina.PayMoney}}
</span>
<span
v-if=
"item.FinanceList==0"
>
暂无数据
</span>
</span>
</div>
</div>
<div>
<div>
付款单据:
</div>
<div>
<span
style=
"cursor: default;"
>
暂无数据
</span>
<span
style=
"cursor: default;"
>
<span
class=
"tickets_green"
v-for=
"(fina,fin) in item.RefundFinanceList"
:key=
"fin"
>
{{fina.PayMoney}}
</span>
<span
v-if=
"item.RefundFinanceList==0"
>
暂无数据
</span>
</span>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</el-tab-pane>
</el-tabs>
</table>
</div>
</div>
</template>
...
...
@@ -260,6 +259,8 @@ export default {
loading
:
false
,
AirModel
:{},
CancelList
:[],
toggle_status
:
false
,
toggle_title
:
"展开"
,
};
},
components
:
{},
...
...
@@ -273,7 +274,15 @@ export default {
},
methods
:
{
Toggle
(){
this
.
toggle_status
=!
this
.
toggle_status
;
if
(
this
.
toggle_status
){
this
.
toggle_title
=
"关闭"
}
else
{
this
.
toggle_title
=
"展开"
}
},
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
...
...
@@ -301,6 +310,14 @@ export default {
</
script
>
<
style
scoped
>
@import
"../../assets/css/newTravelManager.css"
;
.tickets_green
{
color
:
#008000
;
text-decoration
:
underline
;
margin-right
:
6px
;
}
.groupTourOrderSearchTable
tr
:first-child
td
:first-child
{
border-bottom
:
none
;
}
.AirModel
{
font-size
:
14px
;
width
:
500px
;
...
...
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