Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fbf76f8f
authored
Aug 14, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
2932854e
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
src/utils/util.js
src/views/boutiqueDetail/GoodsRanking.vue
src/views/boutiqueDetail/GoodsSupplierPropertion.vue
src/views/solar/PurchaseProgress.vue
src/views/solar/PurchasePropertion.vue
src/views/solar/StorageContent.vue
src/utils/util.js
View file @
fbf76f8
...
@@ -136,7 +136,7 @@ const deepClone = obj => {
...
@@ -136,7 +136,7 @@ const deepClone = obj => {
}
}
// 数字转百分数
// 数字转百分数
const
toPercent
=
num
=>
{
const
toPercent
=
num
=>
{
let
str
=
Number
(
num
).
toFixed
(
0
)
let
str
=
Number
(
num
).
toFixed
(
1
)
str
+=
'%'
str
+=
'%'
return
str
return
str
}
}
...
...
src/views/boutiqueDetail/GoodsRanking.vue
View file @
fbf76f8
...
@@ -37,7 +37,7 @@ export default {
...
@@ -37,7 +37,7 @@ export default {
{
{
name
:
'orderNum'
,
name
:
'orderNum'
,
color
:
'#C0C0C0'
,
color
:
'#C0C0C0'
,
width
:
'3vw'
,
width
:
'3
.5
vw'
,
sufunit
:
'单'
sufunit
:
'单'
},
},
{
{
...
...
src/views/boutiqueDetail/GoodsSupplierPropertion.vue
View file @
fbf76f8
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
{
{
name
:
'rate'
,
name
:
'rate'
,
type
:
'decimal'
,
type
:
'decimal'
,
width
:
'2vw'
width
:
'2
.5
vw'
},
},
{
{
name
:
'goodsNum'
,
name
:
'goodsNum'
,
...
...
src/views/solar/PurchaseProgress.vue
View file @
fbf76f8
...
@@ -44,7 +44,7 @@ export default {
...
@@ -44,7 +44,7 @@ export default {
{
{
name
:
'rate'
,
name
:
'rate'
,
type
:
'decimal'
,
type
:
'decimal'
,
width
:
'
1.88
vw'
width
:
'
2.4
vw'
},
},
{
{
name
:
'purchaseamount'
,
name
:
'purchaseamount'
,
...
...
src/views/solar/PurchasePropertion.vue
View file @
fbf76f8
...
@@ -38,7 +38,7 @@ export default {
...
@@ -38,7 +38,7 @@ export default {
{
{
name
:
'rate'
,
name
:
'rate'
,
type
:
'decimal'
,
type
:
'decimal'
,
width
:
'
1.88
vw'
width
:
'
3.2
vw'
},
},
// {
// {
// name: 'purchaseamount',
// name: 'purchaseamount',
...
...
src/views/solar/StorageContent.vue
View file @
fbf76f8
...
@@ -33,7 +33,7 @@ export default {
...
@@ -33,7 +33,7 @@ export default {
{
{
name
:
'rate'
,
name
:
'rate'
,
type
:
'decimal'
,
type
:
'decimal'
,
width
:
'2vw'
width
:
'2
.5
vw'
},
},
{
{
name
:
'num'
,
name
:
'num'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment