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
2d84b799
Commit
2d84b799
authored
Aug 02, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
721a4c40
ea07231f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
552 additions
and
609 deletions
+552
-609
leaderPayHotelDetail.vue
src/components/LeaderManagement/leaderPayHotelDetail.vue
+76
-26
leaderPayTicketDetail.vue
src/components/LeaderManagement/leaderPayTicketDetail.vue
+77
-27
leaderPay2.vue
src/components/leaderPay2.vue
+17
-11
scenicSpotSalesBoard.vue
src/components/scenicSpot/scenicSpotSalesBoard.vue
+382
-545
No files found.
src/components/LeaderManagement/leaderPayHotelDetail.vue
View file @
2d84b799
...
@@ -7,39 +7,71 @@
...
@@ -7,39 +7,71 @@
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th
width=
"600px"
>
问题名称
</th>
<th>
日期
</th>
<th>
类型
</th>
<th>
酒店名
</th>
<th>
排序
</th>
<th>
房间类型
</th>
<th>
是否显示
</th>
<th>
数量
</th>
<th
width=
"120px"
>
操作
</th>
<th>
单价/人
</th>
</tr>
<th>
金额小计
</th>
<tr
v-for=
"item in dataList"
>
<th>
支付方式
</th>
<td>
{{
item
.
Title
}}
</td>
<th>
币种
</th>
<td>
{{
getTypeName
(
item
.
SurveyType
)
}}
</td>
<th>
备注
</th>
<td>
{{
item
.
Sort
}}
</td>
<td>
{{
item
.
IsShow
===
1
?
'显示'
:
'不显示'
}}
</td>
<td>
asd
</td>
</tr>
</tr>
<template
v-for=
'(item,index) in dataList'
>
<!--
<template
v-for=
"(subItem,subIndex) in item.ScenicStatisticsList"
>
-->
<tr
v-for=
"(childItem,childIndex) in item.ReimburseList.ReimburseDetailsList"
>
<td
v-if=
"childIndex==0"
:rowspan=
"item.ReimburseList.ReimburseDetailsList.length"
>
{{
item
.
CheckInDateStr
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"item.ReimburseList.ReimburseDetailsList.length"
>
{{
item
.
HotelName
}}
</td>
<td>
{{
childItem
.
UserTypeStr
}}
</td>
<td>
{{
childItem
.
UserNum
}}
</td>
<td>
<p>
{{
item
.
PayStyle
===
1
?
moneyFormat
(
childItem
.
UnitPrice
)
:
0
}}
</p>
</td>
<td>
{{
moneyFormat
(
childItem
.
UnitPrice
*
childItem
.
UserNum
)
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"item.ReimburseList.ReimburseDetailsList.length"
>
<span
v-if=
"item.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"item.PayStyle === 2"
>
公司结算
</span>
<span
v-else-if=
"item.PayStyle === 3"
>
预付
</span>
<span
v-else-if=
"item.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else
></span>
</br>
<span
v-show=
"item.PayStyle==6"
>
付款团号:
{{
item
.
PayTypeTCNUM
}}
</span>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"item.ReimburseList.ReimburseDetailsList.length"
>
{{
getCurrencyStr
(
item
.
ReimburseList
.
CurrencyId
)
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"item.ReimburseList.ReimburseDetailsList.length"
>
{{
item
.
ReimburseList
.
Remarks
}}
</td>
</tr>
<!--
</
template
>
-->
</template>
</table>
</table>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
>
<i
class=
"iconfont icon-kong"
></i>
<p>
{{
$t
(
"active.ld_noData"
)
}}
</p>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
loading
:
fals
e
,
loading
:
tru
e
,
dataList
:
[],
dataList
:
[],
currencyList
:
[],
};
};
},
created
(){
this
.
apipost
(
"financeinfo_post_GetList"
,
{
Name
:
""
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
let
data
=
res
.
data
.
data
;
this
.
currencyList
=
data
}
},
null
)
},
},
mounted
()
{
mounted
()
{
let
TCIDs
=
this
.
$route
.
query
.
TCIDs
;
let
TCIDs
=
this
.
$route
.
query
.
TCIDs
;
...
@@ -48,9 +80,16 @@ export default {
...
@@ -48,9 +80,16 @@ export default {
},
},
filters
:
{},
filters
:
{},
methods
:
{
methods
:
{
getCurrencyStr
:
function
(
id
){
for
(
let
i
=
0
;
i
<
this
.
currencyList
.
length
;
i
++
)
{
if
(
this
.
currencyList
[
i
].
ID
==
id
)
{
return
this
.
currencyList
[
i
].
Name
}
}
},
//获取数据
//获取数据
getList
(
TCIDs
)
{
getList
(
TCIDs
,
date
)
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
this
.
apipost
(
"dmcstatistics_post_GetNewLeaderPayMoneyStatics"
,
"dmcstatistics_post_GetNewLeaderPayMoneyStatics"
,
...
@@ -58,7 +97,18 @@ export default {
...
@@ -58,7 +97,18 @@ export default {
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
dataList
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
.
HotelList
;
let
dataList
=
[];
if
(
date
!==
'all'
)
{
data
.
map
(
x
=>
{
if
(
x
.
CheckInDateStr
==
date
){
dataList
.
push
(
x
)
}
})
}
else
{
dataList
=
data
}
this
.
dataList
=
dataList
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
src/components/LeaderManagement/leaderPayTicketDetail.vue
View file @
2d84b799
...
@@ -2,55 +2,94 @@
...
@@ -2,55 +2,94 @@
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"flexOne leaderPay
Ticket
Detail"
>
<div
class=
"flexOne leaderPay
Hotel
Detail"
>
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th
width=
"600px"
>
问题名称
</th>
<th>
日期
</th>
<th>
类型
</th>
<th>
景点名
</th>
<th>
排序
</th>
<th>
门票类型
</th>
<th>
是否显示
</th>
<th>
数量
</th>
<th
width=
"120px"
>
操作
</th>
<th>
单价/人
</th>
</tr>
<th>
金额小计
</th>
<tr
v-for=
"item in dataList"
>
<th>
支付方式
</th>
<td>
{{
item
.
Title
}}
</td>
<th>
币种
</th>
<td>
{{
getTypeName
(
item
.
SurveyType
)
}}
</td>
<th>
备注
</th>
<td>
{{
item
.
Sort
}}
</td>
<td>
{{
item
.
IsShow
===
1
?
'显示'
:
'不显示'
}}
</td>
<td>
asd
</td>
</tr>
</tr>
<template
v-for=
'(item,index) in dataList'
>
<template
v-for=
"(subItem,subIndex) in item.ScenicStatisticsList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.ReimburseList.ReimburseDetailsList"
>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.ReimburseList.ReimburseDetailsList.length"
>
{{
item
.
UseTimeStr
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.ReimburseList.ReimburseDetailsList.length"
>
{{
subItem
.
ScenicName
}}
</td>
<td>
{{
childItem
.
UserTypeStr
}}
</td>
<td>
{{
childItem
.
UserNum
}}
</td>
<td>
<p>
{{
subItem
.
PayStyle
===
1
?
moneyFormat
(
childItem
.
UnitPrice
)
:
0
}}
</p>
</td>
<td>
{{
moneyFormat
(
childItem
.
UnitPrice
*
childItem
.
UserNum
)
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.ReimburseList.ReimburseDetailsList.length"
>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
公司结算
</span>
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else
></span>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.ReimburseList.ReimburseDetailsList.length"
>
{{
getCurrencyStr
(
subItem
.
ReimburseList
.
CurrencyId
)
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.ReimburseList.ReimburseDetailsList.length"
>
{{
subItem
.
ReimburseList
.
Remarks
}}
</td>
</tr>
</
template
>
</template>
</table>
</table>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
>
<i
class=
"iconfont icon-kong"
></i>
<p>
{{
$t
(
"active.ld_noData"
)
}}
</p>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
loading
:
fals
e
,
loading
:
tru
e
,
dataList
:
[],
dataList
:
[],
currencyList
:
[],
};
};
},
},
mounted
()
{
mounted
()
{
let
TCIDs
=
this
.
$route
.
query
.
TCIDs
;
let
TCIDs
=
this
.
$route
.
query
.
TCIDs
;
let
date
=
this
.
$route
.
query
.
date
;
let
date
=
this
.
$route
.
query
.
date
;
this
.
getList
(
TCIDs
,
date
);
this
.
getList
(
TCIDs
,
date
);
},
created
(){
this
.
apipost
(
"financeinfo_post_GetList"
,
{
Name
:
""
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
let
data
=
res
.
data
.
data
;
this
.
currencyList
=
data
}
},
null
)
},
},
filters
:
{},
filters
:
{},
methods
:
{
methods
:
{
getCurrencyStr
:
function
(
id
){
for
(
let
i
=
0
;
i
<
this
.
currencyList
.
length
;
i
++
)
{
if
(
this
.
currencyList
[
i
].
ID
==
id
)
{
return
this
.
currencyList
[
i
].
Name
}
}
},
//获取数据
//获取数据
getList
()
{
getList
(
TCIDs
,
date
)
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
this
.
apipost
(
"dmcstatistics_post_GetNewLeaderPayMoneyStatics"
,
"dmcstatistics_post_GetNewLeaderPayMoneyStatics"
,
...
@@ -58,7 +97,18 @@ export default {
...
@@ -58,7 +97,18 @@ export default {
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
dataList
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
.
ScenicList
;
let
dataList
=
[];
if
(
date
!==
'all'
)
{
data
.
map
(
x
=>
{
if
(
x
.
UseTimeStr
==
date
){
dataList
.
push
(
x
)
}
})
}
else
{
dataList
=
data
}
this
.
dataList
=
dataList
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
src/components/leaderPay2.vue
View file @
2d84b799
...
@@ -511,13 +511,17 @@ input[type="number"] {
...
@@ -511,13 +511,17 @@ input[type="number"] {
<td>
自费支出
</td>
<td>
自费支出
</td>
<td>
0
</td>
<td>
0
</td>
<td>
{{moneyFormat(totalList.SelfPayingExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(totalList.SelfPayingExpendTotalPrice)}}
</td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('zifeizhi')"
>
明细
</span></td>
<td>
<!-- <span class="cursorpointer text-decoratio" @click="godetailAll('zifeizhi')">明细</span> -->
</td>
</tr>
</tr>
<tr
v-show=
"totalList.SelfPayingIncomeTotalPrice>0"
>
<tr
v-show=
"totalList.SelfPayingIncomeTotalPrice>0"
>
<td>
自费收入
</td>
<td>
自费收入
</td>
<td>
0
</td>
<td>
0
</td>
<td>
{{moneyFormat(totalList.SelfPayingIncomeTotalPrice)}}
</td>
<td>
{{moneyFormat(totalList.SelfPayingIncomeTotalPrice)}}
</td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('zifeishou')"
>
明细
</span></td>
<td>
<!-- <span class="cursorpointer text-decoratio" @click="godetailAll('zifeishou')">明细</span> -->
</td>
</tr>
</tr>
<!-- <tr v-show="totalList.IncomeTotalPrice>0">
<!-- <tr v-show="totalList.IncomeTotalPrice>0">
<td>消费收入</td>
<td>消费收入</td>
...
@@ -529,13 +533,15 @@ input[type="number"] {
...
@@ -529,13 +533,15 @@ input[type="number"] {
<td>
其他费用
</td>
<td>
其他费用
</td>
<td>
0
</td>
<td>
0
</td>
<td>
{{moneyFormat(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)}}
</td>
<td>
{{moneyFormat(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)}}
</td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('qitafeiyong')"
>
明细
</span></td>
<td>
<!-- <span class="cursorpointer text-decoratio" @click="godetailAll('qitafeiyong')">明细</span> -->
</td>
</tr>
</tr>
<tr
v-show=
"totalScenicPrice>0"
>
<tr
v-show=
"totalScenicPrice>0"
>
<td>
景点门票
</td>
<td>
景点门票
</td>
<td>
{{moneyFormat(OtherTotalPrice)}}
</td>
<td>
{{moneyFormat(OtherTotalPrice)}}
</td>
<td>
{{moneyFormat(totalScenicPrice)}}
</td>
<td>
{{moneyFormat(totalScenicPrice)}}
</td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('ticket'
, childItem
)"
>
明细
</span></td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('ticket')"
>
明细
</span></td>
<!-- <td>
<!-- <td>
<el-input
<el-input
size="mini"
size="mini"
...
@@ -548,7 +554,7 @@ input[type="number"] {
...
@@ -548,7 +554,7 @@ input[type="number"] {
<td>
交通
</td>
<td>
交通
</td>
<td>
{{moneyFormat(SelfPayingExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(SelfPayingExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(totalTrafficPrice)}}
</td>
<td>
{{moneyFormat(totalTrafficPrice)}}
</td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('bus'
, childItem
)"
>
明细
</span></td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('bus')"
>
明细
</span></td>
<!-- <td>
<!-- <td>
<el-input
<el-input
size="mini"
size="mini"
...
@@ -561,7 +567,7 @@ input[type="number"] {
...
@@ -561,7 +567,7 @@ input[type="number"] {
<td>
餐饮
</td>
<td>
餐饮
</td>
<td>
{{moneyFormat(IncomeTotalPrice)}}
</td>
<td>
{{moneyFormat(IncomeTotalPrice)}}
</td>
<td>
{{moneyFormat(totalDinnerPrice)}}
</td>
<td>
{{moneyFormat(totalDinnerPrice)}}
</td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('dining'
, childItem
)"
>
明细
</span></td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('dining')"
>
明细
</span></td>
<!-- <td>
<!-- <td>
<el-input
<el-input
size="mini"
size="mini"
...
@@ -574,7 +580,7 @@ input[type="number"] {
...
@@ -574,7 +580,7 @@ input[type="number"] {
<td>
酒店
</td>
<td>
酒店
</td>
<td>
{{moneyFormat(ExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(ExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(totalHotelPrice)}}
</td>
<td>
{{moneyFormat(totalHotelPrice)}}
</td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('hotel'
, childItem
)"
>
明细
</span></td>
<td><span
class=
"cursorpointer text-decoratio"
@
click=
"godetailAll('hotel')"
>
明细
</span></td>
<!-- <td>
<!-- <td>
<el-input
<el-input
size="mini"
size="mini"
...
@@ -937,8 +943,8 @@ export default {
...
@@ -937,8 +943,8 @@ export default {
},
},
methods
:
{
methods
:
{
// 全部明细
// 全部明细
godetailAll
:
function
(
){
godetailAll
:
function
(
name
){
this
.
godetail
(
name
)
},
},
// 明细
// 明细
godetail
:
function
(
name
,
obj
)
{
godetail
:
function
(
name
,
obj
)
{
...
@@ -946,7 +952,7 @@ export default {
...
@@ -946,7 +952,7 @@ export default {
let
path
=
""
,
TCIDs
=
this
.
msg
.
TCIDs
,
date
=
''
;
let
path
=
""
,
TCIDs
=
this
.
msg
.
TCIDs
,
date
=
''
;
if
(
name
==
'ticket'
)
{
if
(
name
==
'ticket'
)
{
path
=
'leaderPayTicketDetail'
path
=
'leaderPayTicketDetail'
date
=
obj
.
UseTimeStr
date
=
obj
?
obj
.
UseTimeStr
:
'all'
}
else
if
(
name
===
'bus'
)
{
}
else
if
(
name
===
'bus'
)
{
path
=
"CarDetails"
path
=
"CarDetails"
TCIDs
=
obj
.
TCIDs
;
TCIDs
=
obj
.
TCIDs
;
...
@@ -959,7 +965,7 @@ export default {
...
@@ -959,7 +965,7 @@ export default {
}
else
if
(
name
===
'hotel'
)
{
}
else
if
(
name
===
'hotel'
)
{
path
=
'leaderPayHotelDetail'
path
=
'leaderPayHotelDetail'
date
=
obj
.
CheckInDateStr
date
=
obj
?
obj
.
CheckInDateStr
:
'all'
}
}
let
fullPath
=
`/
${
path
}
?TCIDs=
${
TCIDs
}
&date=
${
date
}
`
;
let
fullPath
=
`/
${
path
}
?TCIDs=
${
TCIDs
}
&date=
${
date
}
`
;
let
dom
=
document
.
querySelector
(
"#blankLink"
);
let
dom
=
document
.
querySelector
(
"#blankLink"
);
...
...
src/components/scenicSpot/scenicSpotSalesBoard.vue
View file @
2d84b799
This diff is collapsed.
Click to expand it.
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