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
70786fc2
Commit
70786fc2
authored
Apr 30, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
3d85a44e
6a28db9f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4473 additions
and
122 deletions
+4473
-122
ChangeRevenueDetail.vue
...onents/FinancialModule/ReportForm/ChangeRevenueDetail.vue
+2068
-0
ChangeRevenueReport.vue
...onents/FinancialModule/ReportForm/ChangeRevenueReport.vue
+2245
-0
ShoppingReimbursement.vue
src/components/ShoppingStore/ShoppingReimbursement.vue
+67
-58
ShoppingReimbursement2.vue
src/components/ShoppingStore/ShoppingReimbursement2.vue
+58
-56
admissionStatisticsDetails.vue
src/components/scenicSpot/admissionStatisticsDetails.vue
+20
-7
config.js
src/router/config.js
+15
-1
No files found.
src/components/FinancialModule/ReportForm/ChangeRevenueDetail.vue
0 → 100644
View file @
70786fc2
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/ReportForm/ChangeRevenueReport.vue
0 → 100644
View file @
70786fc2
This diff is collapsed.
Click to expand it.
src/components/ShoppingStore/ShoppingReimbursement.vue
View file @
70786fc2
...
...
@@ -71,25 +71,42 @@
<tr
v-if=
"shopDataList.length==0"
>
<td
colspan=
"22"
>
暂无数据
</td>
</tr>
<tbody
v-for=
"(outItem,outindex) in shopDataList"
:class=
"
{roomReservationsSplitTrCss:outindex%2!=0}" v-if="outItem.PriceShopList.length>0">
<tbody
v-for=
"(outItem,outindex) in shopDataList"
:class=
"
{roomReservationsSplitTrCss:outindex%2!=0}"
v-if="outItem.PriceShopList.length>0">
<template
v-for=
"(item,index) in outItem.PriceShopList"
>
<template
v-for=
"(subItem,subIndex) in item.ShopDetailsList"
>
<tr>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
outItem
.
NewCombinationNum
}}
</td>
<td>
{{
subItem
.
StartCityNames
}}
</td>
<td>
{{
subItem
.
TCNUMS
}}
</td>
<td>
{{
subItem
.
LeaderName
}}
</td>
<td>
{{
subItem
.
GuideName
}}
</td>
<template
v-if=
"outItem.TCList.length==1"
>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
StartCityNames
}}
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
TCNUMS
}}
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
LeaderName
}}
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
GuideName
}}
</td>
</
template
>
<
template
v-else
>
<td>
{{
subItem
.
StartCityNames
}}
</td>
<td>
{{
subItem
.
TCNUMS
}}
</td>
<td>
{{
subItem
.
LeaderName
}}
</td>
<td>
{{
subItem
.
GuideName
}}
</td>
</
template
>
<td
:rowspan=
"item.ShopDetailsList.length"
v-if=
'subIndex==0'
width=
"180"
style=
"word-wrap:break-word ;"
>
{{item.ShopName}}
...
...
@@ -126,50 +143,49 @@
v-if=
"img !== ''"
style=
"cursor: pointer;color:blue;"
>
{{ '凭证' + (imgIndex + 1)}}
</p>
</td>
<td
:rowspan=
"item.ShopDetailsList.length"
v-if=
'subIndex==0'
>
<div>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"CreateBill(item.ShopDetailsList)"
>
生成单据
</p>
<div>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"CreateBill(item.ShopDetailsList)"
>
生成单据
</p>
</div>
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<p
style=
"cursor: pointer;color:blue;margin-top:5px;"
@
click=
"goHuiZhi(outItem.TCIDs, item.LeaderName, item.GuideName, item.StartCityNames, item.TCNUMS)"
>
选择购物店
</p>
<p
style=
"cursor: pointer;color:blue;margin-top:10px"
@
click=
"goUrlT('ShoppingReimbursementDetails',outItem.TCIDs,'购物报账详情')"
>
操作
</p>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<p
style=
"cursor: pointer;color:blue;margin-top:5px;"
@
click=
"goHuiZhi(outItem.TCIDs, item.LeaderName, item.GuideName, item.StartCityNames, item.TCNUMS)"
>
选择购物店
</p>
<p
style=
"cursor: pointer;color:blue;margin-top:10px"
@
click=
"goUrlT('ShoppingReimbursementDetails',outItem.TCIDs,'购物报账详情')"
>
操作
</p>
</td>
</tr>
</template>
</template>
</tbody>
<tbody
v-else
v-for=
"(outItem,outindex) in shopDataList"
>
<tr>
<td>
{{outItem.NewCombinationNum}}
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td
width=
"180"
></td>
<td
width=
"60"
></td>
<td
width=
"70"
></td>
<td
width=
"70"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
>
</td>
<td
width=
"80"
>
</td>
<td
width=
"80"
></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
{{outItem.NewCombinationNum}}
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td
width=
"180"
></td>
<td
width=
"60"
></td>
<td
width=
"70"
></td>
<td
width=
"70"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
>
</td>
<td
width=
"80"
>
</td>
<td
width=
"80"
></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
...
...
@@ -193,7 +209,7 @@
StartDate
:
''
,
EndDate
:
''
,
currentPage
:
1
,
total
:
0
,
total
:
0
,
},
LineList
:
[],
LineTeamList
:
[],
...
...
@@ -295,14 +311,7 @@
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
let
shopDataList
=
res
.
data
.
data
.
pageData
;
shopDataList
.
forEach
(
x
=>
{
x
.
PriceShopList
.
forEach
(
z
=>
{
z
.
imgList
=
(
z
.
Credentials
&&
z
.
Credentials
.
length
>
0
)
?
z
.
Credentials
.
split
(
","
)
:
''
;
});
});
this
.
shopDataList
=
shopDataList
;
this
.
shopDataList
=
res
.
data
.
data
.
pageData
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
...
...
src/components/ShoppingStore/ShoppingReimbursement2.vue
View file @
70786fc2
...
...
@@ -58,11 +58,8 @@
<th
width=
"60"
>
进店人数
</th>
<th
width=
"70"
>
公司
</th>
<th
width=
"70"
>
总金额
</th>
<th
width=
"80"
>
领队佣金
<br
/>
(应付)
</th>
<th
width=
"80"
>
领队佣金
<br
/>
(应付)
</th>
<th
width=
"80"
>
导游佣金
<br
/>
(应付)
</th>
<!--
<th
width=
"80"
>
公司佣金
<br
/>
(应收)
</th>
<th
width=
"80"
>
返佣余额
</th>
<th
width=
"80"
>
返佣总计
</th>
-->
<th
width=
"80"
>
汇率
</th>
<th
width=
"80"
>
凭证
</th>
<th
width=
"80"
>
财务单据
</th>
...
...
@@ -70,25 +67,42 @@
<tr
v-if=
"shopDataList.length==0"
>
<td
colspan=
"22"
>
暂无数据
</td>
</tr>
<tbody
v-for=
"(outItem,outindex) in shopDataList"
:class=
"
{roomReservationsSplitTrCss:outindex%2!=0}" v-if="outItem.PriceShopList.length>0">
<tbody
v-for=
"(outItem,outindex) in shopDataList"
:class=
"
{roomReservationsSplitTrCss:outindex%2!=0}"
v-if="outItem.PriceShopList.length>0">
<template
v-for=
"(item,index) in outItem.PriceShopList"
>
<template
v-for=
"(subItem,subIndex) in item.ShopDetailsList"
>
<tr>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
outItem
.
NewCombinationNum
}}
</td>
<td>
{{
subItem
.
StartCityNames
}}
</td>
<td>
{{
subItem
.
TCNUMS
}}
</td>
<td>
{{
subItem
.
LeaderName
}}
</td>
<td>
{{
subItem
.
GuideName
}}
</td>
<template
v-if=
"outItem.TCList.length==1"
>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
StartCityNames
}}
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
TCNUMS
}}
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
LeaderName
}}
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
GuideName
}}
</td>
</
template
>
<
template
v-else
>
<td>
{{
subItem
.
StartCityNames
}}
</td>
<td>
{{
subItem
.
TCNUMS
}}
</td>
<td>
{{
subItem
.
LeaderName
}}
</td>
<td>
{{
subItem
.
GuideName
}}
</td>
</
template
>
<td
:rowspan=
"item.ShopDetailsList.length"
v-if=
'subIndex==0'
width=
"180"
style=
"word-wrap:break-word ;"
>
{{item.ShopName}}
...
...
@@ -101,22 +115,13 @@
</td>
<td
width=
"70"
>
{{subItem.TotalMoney}}
</td>
</td>
<td
width=
"80"
>
{{subItem.LeaderCommission}}
</td>
<td
width=
"80"
>
{{subItem.GuideCommission}}
</td>
<!--
<td
width=
"80"
>
{{
subItem
.
CompanyCommission
}}
</td>
<td
width=
"80"
:rowspan=
"item.ShopDetailsList.length"
v-if=
'subIndex==0'
>
{{
subItem
.
OtherDeduct
}}
</td>
<td
width=
"80"
:rowspan=
"item.ShopDetailsList.length"
v-if=
'subIndex==0'
>
{{
subItem
.
BackTotalMoney
}}
</td>
-->
<td
width=
"80"
:rowspan=
"item.ShopDetailsList.length"
v-if=
'subIndex==0'
>
{{subItem.DMCRate}}
</td>
...
...
@@ -125,9 +130,8 @@
v-if=
"img !== ''"
style=
"cursor: pointer;color:blue;"
>
{{ '凭证' + (imgIndex + 1)}}
</p>
</td>
<td
:rowspan=
"item.ShopDetailsList.length"
v-if=
'subIndex==0'
>
<div>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"CreateBill(item.ShopDetailsList)"
>
生成单据
</p>
<div>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"CreateBill(item.ShopDetailsList)"
>
生成单据
</p>
</div>
</td>
</tr>
...
...
@@ -135,28 +139,28 @@
</template>
</tbody>
<tbody
v-else
v-for=
"(outItem,outindex) in shopDataList"
>
<tr>
<td>
{{outItem.NewCombinationNum}}
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td
width=
"180"
></td>
<td
width=
"60"
></td>
<td
width=
"70"
></td>
<td
width=
"70"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
>
</td>
<td
width=
"80"
></td>
<td></td>
</tr>
<tr>
<td>
{{outItem.NewCombinationNum}}
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td
width=
"180"
></td>
<td
width=
"60"
></td>
<td
width=
"70"
></td>
<td
width=
"70"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
></td>
<td
width=
"80"
>
</td>
<td
width=
"80"
></td>
<td></td>
</tr>
</tbody>
</table>
...
...
@@ -338,8 +342,6 @@
"-"
+
myDate
.
getDate
();
this
.
msg
.
StartDate
=
nowDate
;
// this.msg.StartDate = '';
// this.msg.EndDate = ''
this
.
getLineList
();
this
.
getList
();
},
...
...
@@ -379,7 +381,7 @@
.ShoppingTable
th
{
background-color
:
#E6E6E6
;
height
:
35px
;
height
:
35px
;
}
.SponeTable
td
:first-child
{
...
...
src/components/scenicSpot/admissionStatisticsDetails.vue
View file @
70786fc2
...
...
@@ -24,7 +24,7 @@
<th
width=
"80"
>
返佣
</th>
<th
width=
"80"
>
总金额
</th>
<th
width=
"80"
>
付款方式
</th>
<th
width=
"150"
>
订团号
</th>
<th
width=
"150"
>
订团号
</th>
<th
width=
"150"
>
联络电话
</th>
<th
width=
"300"
>
地址
</th>
<th
width=
"200"
>
备注
</th>
...
...
@@ -119,9 +119,9 @@
</el-select>
</div>
</td>
<td>
<td>
<div
class=
"w160 ScenicComDiv"
v-for=
"subItem in item.ScenicStatisticsList"
>
<el-input
class=
'w120'
v-model=
'subItem.CombinationNum'
type=
"text"
></el-input>
<el-input
class=
'w120'
v-model=
'subItem.CombinationNum'
type=
"text"
></el-input>
</div>
</td>
<td>
...
...
@@ -187,14 +187,14 @@
TCIDs
:
this
.
$route
.
query
.
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
list
=
res
.
data
.
data
;
this
.
list
=
res
.
data
.
data
;
this
.
list
.
forEach
(
item
=>
{
item
.
ScenicStatisticsList
.
forEach
(
x
=>
{
x
.
PayStyle
=
x
.
PayStyle
.
toString
();
this
.
calculationPrice
(
x
);
if
(
x
.
CombinationNum
==
''
||
x
.
CombinationNum
==
null
)
{
x
.
CombinationNum
=
this
.
$route
.
query
.
NewCombinationNum
;
}
if
(
x
.
CombinationNum
==
''
||
x
.
CombinationNum
==
null
)
{
x
.
CombinationNum
=
this
.
$route
.
query
.
NewCombinationNum
;
}
})
})
}
else
{
...
...
@@ -207,6 +207,11 @@
this
.
list
.
forEach
(
item
=>
{
item
.
ScenicStatisticsList
.
forEach
(
insideItem
=>
{
insideItem
.
OrderState
=
0
;
insideItem
.
TicketPriceList
.
forEach
(
subItem
=>
{
if
(
!
subItem
.
Discount
)
{
subItem
.
Discount
=
0
;
}
});
})
})
}
...
...
@@ -214,9 +219,16 @@
this
.
list
.
forEach
(
item
=>
{
item
.
ScenicStatisticsList
.
forEach
(
insideItem
=>
{
insideItem
.
OrderState
=
1
;
insideItem
.
TicketPriceList
.
forEach
(
subItem
=>
{
if
(
!
subItem
.
Discount
)
{
subItem
.
Discount
=
0
;
}
});
})
})
}
console
.
log
(
"this.list"
,
this
.
list
);
this
.
apipost
(
'dmcstatistics_get_SetTicketOrder'
,
this
.
list
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
...
...
@@ -234,6 +246,7 @@
this
.
getList
()
},
}
</
script
>
<
style
>
.admissionStatisticsDetailsTalbe
{
...
...
src/router/config.js
View file @
70786fc2
...
...
@@ -2614,7 +2614,21 @@ export default {
meta
:
{
title
:
'营收报表'
},
},
{
//财务 报表 团队营收变更报表
},
{
//财务 报表 变更报表
path
:
'/ChangeRevenueReport'
,
name
:
'ChangeRevenueReport'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/ReportForm/ChangeRevenueReport'
],
resolve
),
meta
:
{
title
:
'变更报表'
},
},{
//财务 变更详情
path
:
'/ChangeRevenueDetail'
,
name
:
'ChangeRevenueDetail'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/ReportForm/ChangeRevenueDetail'
],
resolve
),
meta
:
{
title
:
'变更详情'
},
},{
//财务 报表 团队营收变更报表
path
:
'/TeamRevenueReportChange'
,
name
:
'TeamRevenueReportChange'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/ReportForm/TeamRevenueReportChange'
],
resolve
),
...
...
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