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
d9ef470b
Commit
d9ef470b
authored
Jun 11, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4f8b8a7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
onlineRetailersdata.vue
...onents/FinancialModule/ReportForm/onlineRetailersdata.vue
+10
-1
No files found.
src/components/FinancialModule/ReportForm/onlineRetailersdata.vue
View file @
d9ef470b
...
@@ -64,6 +64,12 @@
...
@@ -64,6 +64,12 @@
<span
v-else
>
{{
scope
.
row
.
BuyNum
}}
</span>
<span
v-else
>
{{
scope
.
row
.
BuyNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"平均取消单数"
prop=
"CancelOrderNum"
width=
'120'
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"getisred(scope.row.CancelOrderNum) == true"
style=
"color: #FD0F05;"
>
{{
scope
.
row
.
CancelOrderNum
}}
</span>
<span
v-else
>
{{
scope
.
row
.
CancelOrderNum
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"平均每人购买单数"
prop=
"AvgOrderNum"
width=
'125'
>
<el-table-column
label=
"平均每人购买单数"
prop=
"AvgOrderNum"
width=
'125'
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"getisred(scope.row.AvgOrderNum) == true"
style=
"color: #FD0F05;"
>
{{
scope
.
row
.
AvgOrderNum
}}
</span>
<span
v-if=
"getisred(scope.row.AvgOrderNum) == true"
style=
"color: #FD0F05;"
>
{{
scope
.
row
.
AvgOrderNum
}}
</span>
...
@@ -260,6 +266,7 @@
...
@@ -260,6 +266,7 @@
OrderNum
:
'付款单数'
,
OrderNum
:
'付款单数'
,
PayMoney
:
'付款金额'
,
PayMoney
:
'付款金额'
,
BuyNum
:
'购买件数'
,
BuyNum
:
'购买件数'
,
CancelOrderNum
:
'取消单数'
,
AvgOrderNum
:
'平均每人购买单数'
,
AvgOrderNum
:
'平均每人购买单数'
,
AvgBuyNum
:
'平均每人购买件数'
,
AvgBuyNum
:
'平均每人购买件数'
,
AvgUnitPrice
:
'平均每单单价'
,
AvgUnitPrice
:
'平均每单单价'
,
...
@@ -282,6 +289,7 @@
...
@@ -282,6 +289,7 @@
OrderNum
:
''
,
OrderNum
:
''
,
PayMoney
:
''
,
PayMoney
:
''
,
BuyNum
:
''
,
BuyNum
:
''
,
CancelOrderNum
:
''
,
AvgOrderNum
:
''
,
AvgOrderNum
:
''
,
AvgBuyNum
:
''
,
AvgBuyNum
:
''
,
AvgUnitPrice
:
''
,
AvgUnitPrice
:
''
,
...
@@ -321,6 +329,7 @@
...
@@ -321,6 +329,7 @@
x
.
YXNum
=
x
.
YXNum
+
'%'
;
x
.
YXNum
=
x
.
YXNum
+
'%'
;
x
.
JXNum
=
x
.
JXNum
+
'%'
;
x
.
JXNum
=
x
.
JXNum
+
'%'
;
x
.
ProfitRate
=
x
.
ProfitRate
+
'%'
;
x
.
ProfitRate
=
x
.
ProfitRate
+
'%'
;
x
.
CancelOrderNum
=
x
.
CancelOrderNum
+
'%'
;
this
.
RList
.
push
(
x
)
this
.
RList
.
push
(
x
)
this
.
RList
.
push
(
obj2
)
this
.
RList
.
push
(
obj2
)
this
.
RList
.
push
(
obj
)
this
.
RList
.
push
(
obj
)
...
@@ -391,7 +400,7 @@
...
@@ -391,7 +400,7 @@
}
}
},
},
columnStyle
({
row
,
column
,
rowIndex
,
columnIndex
}){
columnStyle
({
row
,
column
,
rowIndex
,
columnIndex
}){
if
(
row
.
hasOwnProperty
(
'DateStr'
)
&&
(
columnIndex
==
1
||
columnIndex
==
2
||
columnIndex
==
3
||
columnIndex
==
4
)){
if
(
row
.
hasOwnProperty
(
'DateStr'
)
&&
(
columnIndex
==
1
||
columnIndex
==
2
||
columnIndex
==
3
||
columnIndex
==
4
||
columnIndex
==
5
)){
return
'background:#FFF;'
return
'background:#FFF;'
}
}
}
}
...
...
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