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
82ea94ea
Commit
82ea94ea
authored
May 08, 2023
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
8740e965
7be8a434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
salesVolumeRank.vue
src/components/rank/salesVolumeRank.vue
+12
-3
No files found.
src/components/rank/salesVolumeRank.vue
View file @
82ea94ea
...
...
@@ -192,7 +192,7 @@ export default {
// type: "text"
};
let
sumMoney
=
{
field
:
"PreferPrice"
,
field
:
"
Sum
PreferPrice"
,
title
:
this
.
$t
(
'sm.salemoney'
),
titleAlign
:
"left"
,
columnAlign
:
"left"
,
...
...
@@ -207,7 +207,7 @@ export default {
// }
// return content;
// } else {
return
`
${
rowData
[
"PreferPrice"
].
toFixed
(
2
)}
`
;
return
`
${
rowData
[
"
Sum
PreferPrice"
].
toFixed
(
2
)}
`
;
//}
}
};
...
...
@@ -280,6 +280,14 @@ export default {
width
:
80
,
orderBy
:
""
};
let
customerNum
=
{
field
:
"totalGuestNum"
,
title
:
'单项收客数'
,
titleAlign
:
"left"
,
columnAlign
:
"left"
,
isResize
:
true
,
width
:
80
};
let
unitPrice
=
{
field
:
"avgPrice"
,
title
:
this
.
$t
(
'sm.keprice'
),
...
...
@@ -321,6 +329,7 @@ export default {
unitPrice
.
title
=
this
.
$t
(
'sm.renxiaoshou'
);
this
.
columns
.
push
(
avgPCount
);
}
this
.
columns
.
push
(
customerNum
);
this
.
columns
.
push
(
unitPrice
);
this
.
columns
.
push
(
proportion
);
this
.
isReady
=
true
;
...
...
@@ -355,7 +364,7 @@ export default {
if
(
!
param
.
QStartDate
)
{
param
.
QStartDate
=
"2019-01-01"
;
}
this
.
apipost
(
"sellorder_get_sellvolumerank"
,
param
,
r
=>
{
this
.
apipost
(
"sellorder_get_sellvolumerank
New
"
,
param
,
r
=>
{
r
.
data
.
data
.
forEach
(
x
=>
{
x
.
incomeVal
=
parseFloat
(
x
.
income
);
x
.
avgPrice
=
parseFloat
(
x
.
avgPrice
);
...
...
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