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 a91d77ad
authored
Jul 17, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
94e4778c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
src/views/home/solar/PurchaseProgress.vue
src/views/solarDetail/index.vue
src/views/home/solar/PurchaseProgress.vue
View file @
a91d77a
...
...
@@ -50,7 +50,7 @@ export default {
name
:
'purchaseamount'
,
hasIcon
:
'¥'
,
type
:
'number'
,
width
:
'
3.1
vw'
width
:
'
4.5
vw'
}
]
}
...
...
src/views/solarDetail/index.vue
View file @
a91d77a
...
...
@@ -108,7 +108,6 @@ export default {
},
methods
:
{
async
init
()
{
console
.
log
(
222
);
this
.
tabObject
=
this
.
$route
.
query
const
{
year
}
=
this
.
$route
.
query
this
.
defaultYear
=
year
...
...
@@ -124,7 +123,6 @@ export default {
// 获取门店的商品采购占比(商城、自采)
getMerchantGoodsRatio
(
merchantid
)
{
this
.
api
.
solar
.
getMerchantGoodsRatio
({
year
:
this
.
$store
.
state
.
app
.
solarYear
,
MerchantId
:
merchantid
}).
then
(
res
=>
{
console
.
log
(
res
)
if
(
!
res
.
code
===
'0'
)
{
this
.
openMessage
(
'获取门店商品采购占比失败'
)
return
...
...
@@ -178,7 +176,6 @@ export default {
return
new
Promise
(
resolve
=>
{
let
_merchantList
this
.
api
.
solar
.
getAllRanking
({
year
:
this
.
$store
.
state
.
app
.
solarYear
}).
then
(
res
=>
{
console
.
log
(
res
,
'000'
)
if
(
!
res
.
code
===
'0'
)
{
this
.
openMessage
(
'获取商品采购额排名失败'
)
return
...
...
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