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
db032f76
Commit
db032f76
authored
Mar 06, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
散客机票
parent
dda0508e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
14 deletions
+17
-14
IndividualTicketOrder.vue
src/components/Ticketing/IndividualTicketOrder.vue
+17
-14
No files found.
src/components/Ticketing/IndividualTicketOrder.vue
View file @
db032f76
...
...
@@ -63,33 +63,35 @@
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tr>
<td>
{{
item
.
AirProduct
Id
}}
</td>
<td>
{{
item
.
Id
}}
</td>
<td><p
class=
"fz12 over_ellipsis"
style=
"width: 120px;"
>
{{
item
.
ContactName
}}
</p>
<!--
<p
class=
"fz12"
>
123456
</p>
-->
</td>
<td>
{{
item
.
GuestNum
}}
</td>
<td
class=
"fz12"
>
{{
item
.
TC_Price
}}
</td>
<td
class=
"fz12"
>
{{
item
.
Unit_Price
}}
</td>
<td
style=
"color:#
FF9C00
"
>
{{
item
.
PreferPrice
}}
</td>
<td
style=
"color:#
FF9C00
"
>
{{
item
.
Income
}}
</td>
<td
style=
"color:#
E95252
"
>
{{
item
.
PreferPrice
}}
</td>
<td
style=
"color:#
E95252
"
>
{{
item
.
Income
}}
</td>
<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>
<el-tag
v-if=
"item.Status==3"
type=
"danger"
>
待付款
</el-tag>
</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
<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=
"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=
"性别"
>
...
...
@@ -112,11 +114,11 @@
</
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>
...
...
@@ -158,6 +160,7 @@
</template>
<
script
>
import
moment
from
'moment'
export
default
{
data
()
{
return
{
...
...
@@ -166,11 +169,11 @@ export default {
pageSize
:
10
,
AirTicketId
:
0
,
AirOrderId
:
0
,
Status
:
1
,
StartTime
:
""
,
Status
:
0
,
StartTime
:
moment
().
format
(
"YYYY-MM-DD"
)
,
EndTime
:
""
},
status
:
[{
title
:
"正常"
,
num
:
1
},
{
title
:
"取消"
,
num
:
2
}],
status
:
[{
title
:
"
全部"
,
num
:
0
},{
title
:
"待付款"
,
num
:
3
},{
title
:
"
正常"
,
num
:
1
},
{
title
:
"取消"
,
num
:
2
}],
dataList
:[],
loading
:
false
,
total
:
0
,
...
...
@@ -195,7 +198,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
{
...
...
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