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
a8974016
Commit
a8974016
authored
Sep 11, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
71a96284
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
86 additions
and
108 deletions
+86
-108
ScenTicketOrder.vue
src/components/scenicSpot/ScenTicketOrder.vue
+78
-108
config.js
src/router/config.js
+8
-0
No files found.
src/components/scenicSpot/ScenTicketOrder.vue
View file @
a8974016
...
@@ -148,19 +148,24 @@
...
@@ -148,19 +148,24 @@
<div
class=
"flexOne SalesHotelOrder"
>
<div
class=
"flexOne SalesHotelOrder"
>
<div
class=
"query-box"
>
<div
class=
"query-box"
>
<ul>
<ul>
<li>
<span><em>
关键字
</em>
<el-input
v-model=
'msg.searchKey'
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<li>
<span>
<span>
<em>
订单状态
</em>
<em>
订单状态
</em>
<el-select
v-model=
'msg.
B2BSelectOrderState
'
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
'msg.
status
'
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in orderStatus"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
<el-option
v-for=
"item in orderStatus"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<
!--
<
li>
<li>
<span>
<span>
<em>
公司
</em>
<em>
公司
</em>
<el-select
v-model=
"msg.
RB_Branch_Id"
placeholder=
"请选择公司"
@
change=
"getDepartmentMsg.RB_Branch_Id = msg.RB_Branch_Id, getDepartment(),msg.RB_Department_Id = 0,msg.CreateBy = 0"
>
<el-select
v-model=
"msg.
rbBranchId"
placeholder=
"请选择公司"
>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in CompanyList'
<el-option
v-for=
'item in CompanyList'
:label=
'item.BName'
:label=
'item.BName'
...
@@ -169,7 +174,8 @@
...
@@ -169,7 +174,8 @@
</el-option>
</el-option>
</el-select>
</el-select>
</span>
</span>
</li>
-->
</li>
<!-- -->
<!--
<li>
<!--
<li>
<span>
<span>
<em>
部门
</em>
<em>
部门
</em>
...
@@ -196,40 +202,22 @@
...
@@ -196,40 +202,22 @@
</el-select>
</el-select>
</span>
</span>
</li>
-->
</li>
-->
<li>
<span><em>
订单号
</em>
<el-input
v-model=
'msg.ProductName'
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<li>
<span>
<span>
<em>
游玩
开始时间
</em>
<em>
开始时间
</em>
<el-date-picker
type=
"date"
v-model=
"msg.
StartTim
e"
<el-date-picker
type=
"date"
v-model=
"msg.
startDat
e"
:picker-options=
"StartTimeBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
:picker-options=
"StartTimeBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</span>
</li>
</li>
<li>
<li>
<span>
<span>
<em>
游玩
结束时间
</em>
<em>
结束时间
</em>
<el-date-picker
type=
"date"
v-model=
"msg.
EndTim
e"
<el-date-picker
type=
"date"
v-model=
"msg.
endDat
e"
:picker-options=
"EndTimeAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
:picker-options=
"EndTimeAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</span>
</li>
</li>
<li>
<span>
<em>
创建开始时间
</em>
<el-date-picker
type=
"date"
v-model=
"msg.CStartTime"
:picker-options=
"CStartTimeBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</li>
<li>
<span>
<em>
创建结束时间
</em>
<el-date-picker
type=
"date"
v-model=
"msg.CEndTime"
:picker-options=
"CEndTimeAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"resetPageIndex();getList()"
:value=
"$t('pub.searchBtn')"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"resetPageIndex();getList()"
:value=
"$t('pub.searchBtn')"
/>
</li>
</li>
...
@@ -239,39 +227,45 @@
...
@@ -239,39 +227,45 @@
<table
class=
"SalesHotelOrderTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"SalesHotelOrderTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th>
订单号
</th>
<th>
订单号
</th>
<th>
人数
</th>
<th>
数量
</th>
<th>
总额
</th>
<th>
总额
</th>
<th>
实收
</th>
<th>
已收金额
</th>
<th>
大红包
</th>
<th>
退款金额
</th>
<th>
优惠金额
</th>
<th>
待收金额
</th>
<th>
待收金额
</th>
<th>
优惠金额
</th>
<th>
订单状态
</th>
<th>
订单状态
</th>
<th>
创建时间
</th>
<th>
创建时间
</th>
<th>
游玩时间
</th>
<th>
游玩时间
</th>
<th>
取消费用
</th>
<th>
门票名称
</th>
<th>
客户信息
</th>
<th>
客户信息
</th>
<th>
创建人
</th>
<th>
结束时间
</th>
<th>
操作
</th>
<th>
操作
</th>
</tr>
</tr>
<tbody
v-for=
"(item,index) in dataList"
>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index+500"
>
<tr>
<tr>
<td
style=
"border-bottom:2px solid #333"
rowspan=
"2"
>
{{
item
.
OrderID
}}
</td>
<td
style=
"border-bottom:2px solid #333"
rowspan=
"2"
>
{{
item
.
id
}}
</td>
<td>
{{
item
.
Number
}}
</td>
<td>
{{
item
.
purchaseQuantity
}}
</td>
<td>
{{
item
.
TotalPrice
}}
</td>
<td>
{{
item
.
preferPrice
}}
</td>
<td>
{{
item
.
Income
}}
</td>
<td>
{{
item
.
income
}}
</td>
<td>
{{
item
.
RedEnvelopeMoney
}}
</td>
<td>
{{
item
.
DiscountMoney
}}
</td>
<td>
{{
item
.
DueinMoney
}}
</td>
<td>
<td>
<span
:class=
"item.OrderStatus=='已取消'?'color_red_order':''"
>
{{
item
.
OrderStatus
}}
</span>
<span
v-if=
"item.reFund"
>
{{
item
.
reFund
}}
</span>
<span
v-else
>
0
</span>
</td>
<td>
{{
item
.
discountMoney
}}
</td>
<td>
{{
item
.
duein
}}
</td>
<td>
<span
v-if=
"item.status==1"
>
正常
</span>
<span
class=
"color_red_order"
v-if=
"item.status==2"
>
取消
</span>
<span
v-if=
"item.status==3"
>
待付款
</span>
</td>
<td>
{{
item
.
createDate
}}
</td>
<td>
{{
item
.
useDate
}}
</td>
<td>
{{
item
.
couponsName
}}
</td>
<td>
<p>
中文姓名:
{{
item
.
contactCNName
}}
</p>
<p>
英文姓名:
{{
item
.
contactENName
}}
</p>
<p>
联系电话:
{{
item
.
contactEmail
}}
</p>
<p>
邮箱:
{{
item
.
contactMobile
}}
</p>
</td>
</td>
<td>
{{
item
.
CreateDateStr
}}
</td>
<td>
{{
item
.
CheckInStr
}}
</td>
<td>
{{
item
.
CancelFee
}}
</td>
<td>
{{
item
.
CustomerName
}}
/
{{
item
.
CustomerPhone
}}
</td>
<td>
{{
item
.
CreateByStr
}}
</td>
<td>
{{
item
.
EndTime
}}
</td>
<td>
<td>
<el-row>
<el-row>
<el-button-group>
<el-button-group>
...
@@ -291,7 +285,7 @@
...
@@ -291,7 +285,7 @@
<el-button
type=
"warning"
icon=
"iconfont icon-guanlian"
@
click=
"TCID = '',GLOrderID = item.OrderID,dialogFormVisible = true"
></el-button>
<el-button
type=
"warning"
icon=
"iconfont icon-guanlian"
@
click=
"TCID = '',GLOrderID = item.OrderID,dialogFormVisible = true"
></el-button>
</el-tooltip>
-->
</el-tooltip>
-->
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top-start"
>
<el-button
type=
"success"
icon=
"iconfont icon-sousuo"
@
click=
"goOrderDetails(item.
OrderID
)"
></el-button>
<el-button
type=
"success"
icon=
"iconfont icon-sousuo"
@
click=
"goOrderDetails(item.
id
)"
></el-button>
</el-tooltip>
</el-tooltip>
</el-button-group>
</el-button-group>
</el-row>
</el-row>
...
@@ -312,25 +306,22 @@
...
@@ -312,25 +306,22 @@
<div
class=
"SH_OrderDan"
>
<div
class=
"SH_OrderDan"
>
<div>
收款单据:
</div>
<div>
收款单据:
</div>
<div>
<div>
<span
v-for=
"subItem in item.FinanceList"
>
<span
v-for=
"(subItem,index) in item.Revenue"
:key=
"index+5000"
>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)"
v-if=
"subItem.ColorState===1"
class=
"groupTourOrder_tickets_blue"
>
{{
subItem
.
FrID
}}
</span>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem)"
class=
"groupTourOrder_tickets_blue"
>
{{
subItem
}}
</span>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)"
v-else-if=
"subItem.ColorState===2"
class=
"groupTourOrder_tickets_green"
>
{{
subItem
.
FrID
}}
</span>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)"
v-else-if=
"subItem.ColorState===3"
class=
"groupTourOrder_tickets_red"
>
{{
subItem
.
FrID
}}
</span>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)"
v-else-if=
"subItem.ColorState===4"
class=
"groupTourOrder_tickets_black"
>
{{
subItem
.
FrID
}}
</span>
</span>
</span>
<span
v-if=
"item.
FinanceList
==0"
>
暂无数据
</span>
<span
v-if=
"item.
Revenue
==0"
>
暂无数据
</span>
</div>
</div>
</div>
</div>
<div
class=
"SH_OrderDan"
>
<div
class=
"SH_OrderDan"
>
<div>
付款单据:
</div>
<div>
付款单据:
</div>
<div>
<div>
<span
v-for=
"
subItem in item.RefundFinanceList
"
>
<span
v-for=
"
(subItem,index) in item.expend"
:key=
"index+1000
"
>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem
.FrID)"
v-if=
"subItem.ColorState===1"
class=
"groupTourOrder_tickets_blue"
>
{{
subItem
.
FrID
}}
</span>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem
)"
class=
"groupTourOrder_tickets_blue"
>
{{
subItem
}}
</span>
<
span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)"
v-else-if=
"subItem.ColorState===2"
class=
"groupTourOrder_tickets_green"
>
{{
subItem
.
FrID
}}
</span>
<
!--
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem)"
v-else-if=
"subItem.ColorState===2"
class=
"groupTourOrder_tickets_green"
>
{{
subItem
}}
</span>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem
.FrID)"
v-else-if=
"subItem.ColorState===3"
class=
"groupTourOrder_tickets_red"
>
{{
subItem
.
FrID
}}
</span>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem
)"
v-else-if=
"subItem.ColorState===3"
class=
"groupTourOrder_tickets_red"
>
{{
subItem
}}
</span>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem
.FrID)"
v-else-if=
"subItem.ColorState===4"
class=
"groupTourOrder_tickets_black"
>
{{
subItem
.
FrID
}}
</span>
<span
@
click=
"goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem
)"
v-else-if=
"subItem.ColorState===4"
class=
"groupTourOrder_tickets_black"
>
{{
subItem
}}
</span>
-->
</span>
</span>
<span
v-if=
"item.
RefundFinanceList
==0"
>
暂无数据
</span>
<span
v-if=
"item.
expend
==0"
>
暂无数据
</span>
</div>
</div>
</div>
</div>
...
@@ -411,15 +402,11 @@ export default {
...
@@ -411,15 +402,11 @@ export default {
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
B2BSelectOrderState
:
0
,
searchKey
:
""
,
RB_Branch_Id
:
-
1
,
rbBranchId
:
-
1
,
RB_Department_Id
:
0
,
startDate
:
""
,
CreateBy
:
0
,
endDate
:
""
,
HotelName
:
''
,
status
:
0
,
StartTime
:
''
,
EndTime
:
''
,
CStartTime
:
''
,
CEndTime
:
''
},
},
TCID
:
''
,
TCID
:
''
,
GLOrderID
:
''
,
GLOrderID
:
''
,
...
@@ -460,18 +447,15 @@ export default {
...
@@ -460,18 +447,15 @@ export default {
},
},
orderStatus
:[{
orderStatus
:[{
Name
:
'
全部
'
,
Name
:
'
正常
'
,
Id
:
0
Id
:
0
},{
},{
Name
:
'
待支付
'
,
Name
:
'
取消
'
,
Id
:
1
Id
:
1
},{
},{
Name
:
'
交易完成
'
,
Name
:
'
待付款
'
,
Id
:
2
Id
:
2
},{
}],
Name
:
'取消'
,
Id
:
3
}],
dataList
:
[],
dataList
:
[],
getCompanyMsg
:{
// 公司
getCompanyMsg
:{
// 公司
RB_Group_Id
:
'0'
,
RB_Group_Id
:
'0'
,
...
@@ -593,7 +577,7 @@ export default {
...
@@ -593,7 +577,7 @@ export default {
},
},
goOrderDetails
(
ID
){
goOrderDetails
(
ID
){
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'
freeTravel
OrderDetails'
,
name
:
'
scen
OrderDetails'
,
query
:
{
query
:
{
ID
:
ID
,
ID
:
ID
,
blank
:
'y'
,
blank
:
'y'
,
...
@@ -603,30 +587,16 @@ export default {
...
@@ -603,30 +587,16 @@ export default {
getList
()
{
getList
()
{
//获取列表
//获取列表
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
this
.
apiJavaPost
(
"/api/erp/ticketCoupons/getTicketCouponsOrder"
,
this
.
msg
,
res
=>
{
"sellorder_post_GetAllKKDayOrderList"
,
this
.
loading
=
false
;
this
.
msg
,
if
(
res
.
data
.
resultCode
===
1
)
{
res
=>
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
loading
=
false
;
console
.
log
(
this
.
dataList
,
'datalist'
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
}
else
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
Error
(
res
.
data
.
message
)
console
.
log
(
this
.
dataList
,
'datalist'
);
}
let
userInfo
=
this
.
getLocalStorage
();
},
null
);
let
EmployeeId
=
userInfo
.
EmployeeId
;
this
.
dataList
.
forEach
(
x
=>
{
if
((
x
.
CreateBy
==
EmployeeId
||
EmployeeId
==
1
||
EmployeeId
==
5
)
&&
x
.
IsCanOrder
==
0
){
x
.
ShowBtn
=
true
;
}
else
{
x
.
ShowBtn
=
false
;
}
})
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
...
@@ -684,8 +654,8 @@ export default {
...
@@ -684,8 +654,8 @@ export default {
getShouKuan
(
obj
){
getShouKuan
(
obj
){
let
TCIDARR
=
obj
.
TCID
?
[
obj
.
TCID
]
:
[];
let
TCIDARR
=
obj
.
TCID
?
[
obj
.
TCID
]
:
[];
let
orderObj
=
{
let
orderObj
=
{
OrderID
:
obj
.
OrderID
,
OrderID
:
obj
.
id
,
OrderSource
:
15
,
OrderSource
:
3
,
Obj
:
{},
Obj
:
{},
SourceID
:
null
,
SourceID
:
null
,
TCIDList
:
TCIDARR
TCIDList
:
TCIDARR
...
@@ -694,7 +664,7 @@ export default {
...
@@ -694,7 +664,7 @@ export default {
name
:
'ChoiceAddFinancialDocuments'
,
name
:
'ChoiceAddFinancialDocuments'
,
query
:{
query
:{
"Type"
:
1
,
"Type"
:
1
,
"companyID"
:
obj
.
R
B_Branch_i
d
,
"companyID"
:
obj
.
R
bBranchI
d
,
"path"
:
""
,
"path"
:
""
,
'blank'
:
'y'
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
'orderObj'
:
JSON
.
stringify
(
orderObj
),
...
@@ -716,7 +686,7 @@ export default {
...
@@ -716,7 +686,7 @@ export default {
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团
this
.
getDepartmentMsg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_id
;
//公司
this
.
getDepartmentMsg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_id
;
//公司
this
.
msg
.
CreateBy
=
userInfo
.
EmployeeId
;
this
.
msg
.
CreateBy
=
userInfo
.
EmployeeId
;
//
this.getCompanyList()
this
.
getCompanyList
()
// this.getDepartment()
// this.getDepartment()
// this.getEmployee()
// this.getEmployee()
this
.
getList
();
this
.
getList
();
...
...
src/router/config.js
View file @
a8974016
...
@@ -1256,6 +1256,14 @@ export default {
...
@@ -1256,6 +1256,14 @@ export default {
title
:
'票券订单'
title
:
'票券订单'
},
},
},
},
{
path
:
'/scenOrderDetails'
,
//票券订单
name
:
'scenOrderDetails'
,
component
:
resolve
=>
require
([
'@/components/scenicSpot/scenOrderDetails'
],
resolve
),
meta
:
{
title
:
'票券订单详情'
},
},
{
{
path
:
'/admissionStatisticsDetails'
,
//门票统计详情
path
:
'/admissionStatisticsDetails'
,
//门票统计详情
name
:
'admissionStatisticsDetails'
,
name
:
'admissionStatisticsDetails'
,
...
...
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