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
769c6f56
Commit
769c6f56
authored
May 15, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
e5c0fd4a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
salesVolumeRank.vue
src/components/rank/salesVolumeRank.vue
+14
-14
No files found.
src/components/rank/salesVolumeRank.vue
View file @
769c6f56
...
@@ -253,18 +253,18 @@ export default {
...
@@ -253,18 +253,18 @@ export default {
isResize
:
true
,
isResize
:
true
,
width
:
80
,
width
:
80
,
orderBy
:
"desc"
,
orderBy
:
"desc"
,
componentName
:
'table-operation'
,
// componentName:'table-operation',
// formatter: function(rowData, rowIndex, pagingIndex, field) {
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
// // if (that.authority.indexOf("Sales_Volume_Rank_Show") == -1) {
// if (that.authority.indexOf("Sales_Volume_Rank_Show") == -1) {
// // let content = "";
// let content = "";
// // for (let i = 0; i
<
rowData
[
"income"
].
length
;
i
++
)
{
// for (let i = 0; i
<
rowData
[
"income"
].
length
;
i
++
)
{
// // content += "*";
// content += "*";
// // }
// // return content;
// // } else {
// return `${rowData["SumPreferPrice"].toFixed(2)}`;
// //}
// }
// }
// return content;
// } else {
return
`
${
rowData
[
"SumPreferPrice"
].
toFixed
(
2
)}
`
;
//}
}
};
};
let
moneyCount
=
{
let
moneyCount
=
{
field
:
"income"
,
field
:
"income"
,
...
@@ -274,7 +274,7 @@ export default {
...
@@ -274,7 +274,7 @@ export default {
isResize
:
true
,
isResize
:
true
,
width
:
80
,
width
:
80
,
orderBy
:
""
,
orderBy
:
""
,
componentName
:
'table-operation'
,
//
componentName:'table-operation',
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
// if (that.authority.indexOf("Sales_Volume_Rank_Show") == -1) {
// if (that.authority.indexOf("Sales_Volume_Rank_Show") == -1) {
// let content = "";
// let content = "";
...
@@ -295,7 +295,7 @@ export default {
...
@@ -295,7 +295,7 @@ export default {
isResize
:
true
,
isResize
:
true
,
width
:
80
,
width
:
80
,
orderBy
:
""
,
orderBy
:
""
,
componentName
:
'table-operation'
,
//
componentName:'table-operation',
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
// if (that.authority.indexOf("Sales_Volume_Rank_Show") == -1) {
// if (that.authority.indexOf("Sales_Volume_Rank_Show") == -1) {
// let content = "";
// let content = "";
...
...
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