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
6eb954f8
Commit
6eb954f8
authored
Jun 10, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f324acf0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
580 additions
and
69 deletions
+580
-69
dianshangannualRatio.vue
...nents/FinancialModule/ReportForm/dianshangannualRatio.vue
+477
-0
dianshangyeardata.vue
...mponents/FinancialModule/ReportForm/dianshangyeardata.vue
+93
-68
config.js
src/router/config.js
+10
-1
No files found.
src/components/FinancialModule/ReportForm/dianshangannualRatio.vue
0 → 100644
View file @
6eb954f8
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/ReportForm/dianshangyeardata.vue
View file @
6eb954f8
...
...
@@ -38,9 +38,12 @@
</div>
<div
style=
"padding: 15px ;background: #FFF;"
>
<el-table
:data=
"DataList"
v-loading=
"loading"
header-cell-class-name=
"headClass"
style=
"width: 100%;"
border
:row-class-name=
"tableRowClassName"
:cell-style=
"columnStyle"
>
<el-table
:data=
"DataList"
v-loading=
"loading"
header-cell-class-name=
"headClass"
header-row-class-name=
'angclass'
style=
"width: 100%;"
border
:row-class-name=
"tableRowClassName"
:cell-style=
"columnStyle"
>
<el-table-column
label=
"月份"
prop=
"Date"
width=
'80'
fixed
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.Date == '平均/总计'"
>
平均
</span>
<span
v-else
>
{{
scope
.
row
.
Date
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"平均付款人数(天)"
prop=
'MAvgPeopleNum'
width=
'125'
>
<
template
slot-scope=
"scope"
>
...
...
@@ -132,7 +135,14 @@
<span
v-else
>
{{
scope
.
row
.
PAvgProfitRate
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-table
:data=
"DataList"
v-loading=
"loading"
header-cell-class-name=
"headClass"
header-row-class-name=
'angclass'
style=
"width: 100%;margin-top: 20px;"
border
:row-class-name=
"tableRowClassName2"
:cell-style=
"columnStyle"
>
<el-table-column
label=
"月份"
prop=
"Date"
width=
'80'
fixed
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.Date == '平均/总计'"
>
总计
</span>
<span
v-else
>
{{
scope
.
row
.
Date
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"付款人数累计"
prop=
"PeopleNum"
width=
'120'
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"getisred(scope.row.PeopleNum) == true"
style=
"color: #FD0F05;"
>
{{
scope
.
row
.
PeopleNum
}}
</span>
...
...
@@ -358,6 +368,7 @@
return
}
this
.
loading
=
true
;
this
.
RateList
=
[];
this
.
mallapipost
(
"/api/LiveHouse/GetDSMoreMonthStatistics"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -411,12 +422,19 @@
},
tableRowClassName
({
row
,
rowIndex
}){
if
(
row
.
hasOwnProperty
(
'Date'
)
&&
row
.
Date
==
'平均'
){
if
(
row
.
hasOwnProperty
(
'Date'
)
&&
row
.
Date
==
'平均
/总计
'
){
return
'huanbichengz'
}
else
{
return
'monthstyel'
}
},
tableRowClassName2
({
row
,
rowIndex
}){
if
(
row
.
hasOwnProperty
(
'Date'
)
&&
row
.
Date
==
'平均/总计'
){
return
'monthstyel2'
}
else
{
return
'monthstyel3'
}
},
columnStyle
({
row
,
column
,
rowIndex
,
columnIndex
}){
if
(
row
.
hasOwnProperty
(
'DateStr'
)
&&
(
columnIndex
==
1
||
columnIndex
==
2
||
columnIndex
==
3
||
columnIndex
==
4
)){
return
'background:#FFF;'
...
...
@@ -558,7 +576,7 @@
flex-direction
:
column
;
align-items
:
center
;
}
.dianshangyeardata
.el-table
.angclass
{
.dianshangyeardata
.angclass
{
background
:
#FDC022
;
}
.dianshangyeardata
.el-table
.huanbichengz
{
...
...
@@ -571,6 +589,13 @@
.dianshangyeardata
.el-table
.monthstyel
{
background
:
#F6C8AB
;
}
.dianshangyeardata
.el-table
.monthstyel2
{
background
:
#F6CAAD
;
}
.dianshangyeardata
.el-table
.monthstyel3
{
background
:
#FE9A6B
;
}
.dianshangyeardata
.el-table
.whitestyle
{
background
:
#FFF
;
}
...
...
src/router/config.js
View file @
6eb954f8
...
...
@@ -3956,9 +3956,18 @@ export default {
name
:
'dianshangyeardata'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/ReportForm/dianshangyeardata'
],
resolve
),
meta
:
{
title
:
'电商数据'
title
:
'年度电商数据'
},
},
{
//财务 电商年度比数据
path
:
'/dianshangannualRatio'
,
name
:
'dianshangannualRatio'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/ReportForm/dianshangannualRatio'
],
resolve
),
meta
:
{
title
:
'电商年度比数据'
},
},
{
//财务 线路收客
path
:
'/LineReceiver'
,
name
:
'LineReceiver'
,
...
...
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