Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
罗超
confucius
Commits
3e3510b9
Commit
3e3510b9
authored
Mar 22, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报表
parent
7fb13f3e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1606 additions
and
92 deletions
+1606
-92
EasyReport.vue
src/pages/financial/EasyReport.vue
+37
-30
JumpReport.vue
src/pages/financial/JumpReport.vue
+1324
-0
TeamRevenueReport.vue
src/pages/financial/TeamRevenueReport.vue
+240
-62
routes.js
src/router/routes.js
+5
-0
No files found.
src/pages/financial/EasyReport.vue
View file @
3e3510b9
<
style
>
@import
"css/cssReset.css"
;
.page_EasyReport_set
{
position
:
relative
;
padding
:
15px
...
...
@@ -51,7 +50,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"
出团
学校:"
>
<el-form-item
label=
"学校:"
>
<el-select
class=
"w150"
:disabled=
"BranchStatus"
v-model=
"msg.BranchId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getData(2)"
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
"item in BranchList"
:label=
"item.SName"
:key=
"item.SId"
:value=
"item.SId"
>
{{
item
.
SName
}}
</el-option>
...
...
@@ -125,7 +124,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -159,7 +158,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -192,7 +191,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -225,7 +224,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -258,7 +257,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -291,7 +290,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -324,7 +323,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -357,7 +356,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -390,7 +389,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -423,7 +422,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -456,7 +455,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -489,7 +488,7 @@
methods
:
{
goUrl
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -856,7 +855,7 @@
},
GoUrlFan
(
path
,
month
,
year
,
BranchId
,
ids
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
path
:
"/
financial/
"
+
path
,
query
:
{
year
:
year
,
month
:
month
,
...
...
@@ -881,23 +880,31 @@
}
else
{
endDate
=
that
.
year
+
"-"
+
column
.
end
}
console
.
log
(
rowIndex
,
rowData
,
'rowIndex'
)
if
(
rowIndex
<
9
){
// 联运收入
if
(
rowData
.
ZhaiYao
==
"联运收入"
){
that
.
goUrl
(
"CombinedRevenueReport"
,
startDate
,
endDate
,
BranchId
,
"联运收入"
)
}
// 跳转到应收团款查询
else
if
(
rowData
.
ZhaiYao
==
"营业总收入"
){
that
.
goUrl
(
"RecPayQueryTeam"
,
startDate
,
endDate
,
BranchId
,
"应收团款查询"
)
}
else
if
(
rowData
.
ZhaiYao
==
"营业总成本"
){
that
.
goUrl
(
"RecPayQueryTeamV2"
,
startDate
,
endDate
,
BranchId
,
"应付团款查询"
)
}
else
{
that
.
$router
.
push
({
name
:
"TeamRevenueReport"
,
query
:{
"StartTime"
:
startDate
,
"EndTime"
:
endDate
,
BranchId
:
BranchId
,
blank
:
'y'
,
tab
:
"营收报表"
}
})
}
// if(rowData.ZhaiYao=="联运收入"){
// that.goUrl("CombinedRevenueReport",startDate,endDate,BranchId,"联运收入")
// }
// // 跳转到应收团款查询
// else if(rowData.ZhaiYao=="营业总收入"){
// that.goUrl("RecPayQueryTeam",startDate,endDate,BranchId,"应收团款查询")
// }
// else if(rowData.ZhaiYao=="营业总成本"){
// that.goUrl("RecPayQueryTeamV2",startDate,endDate,BranchId,"应付团款查询")
// }
// else{
// that.$router.push({ name: "TeamRevenueReport",query:{"StartTime":startDate,"EndTime":endDate,BranchId:BranchId,blank:'y',tab:"营收报表"} })
that
.
$router
.
push
({
path
:
"/financial/TeamRevenueReport"
,
query
:
{
StartTime
:
startDate
,
EndTime
:
endDate
,
BranchId
:
BranchId
,
blank
:
"y"
}
});
// }
}
else
{
if
(
rowData
.
ZhaiYao
==
"员工提成"
){
if
(
Number
(
this
.
year
)
==
2019
){
...
...
src/pages/financial/JumpReport.vue
0 → 100644
View file @
3e3510b9
This diff is collapsed.
Click to expand it.
src/pages/financial/TeamRevenueReport.vue
View file @
3e3510b9
This diff is collapsed.
Click to expand it.
src/router/routes.js
View file @
3e3510b9
...
...
@@ -173,6 +173,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/financial/EasyReport.vue"
)
},
{
path
:
"/financial/JumpReport"
,
//单据明细
component
:
()
=>
import
(
"pages/financial/JumpReport.vue"
)
},
{
path
:
"/financial/institutionsManagement"
,
//金融机构管理
component
:
()
=>
...
...
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