Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
潘自豪 Rambo Pan
shld-databoard-ui
Commits
8eb58b82
Commit
8eb58b82
authored
Sep 21, 2023
by
张恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应收账款数据对接
parent
dfd3bd2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
index.vue
src/module/databoard/index.vue
+13
-6
No files found.
src/module/databoard/index.vue
View file @
8eb58b82
...
...
@@ -20,9 +20,8 @@
</display-board>
<display-board
class=
"trade_middle"
corner_size=
"large"
>
<div
style=
"height: 36%;display: flex;justify-content: space-evenly;padding-top: 1.5rem"
>
<simple-card
v-for=
"data in mockData.sr"
style=
"width: 30%;height: 100%"
>
<title-content-mark
style=
"color: #5eeef4;"
:title=
"data.title"
:content=
"data.value"
:mark=
"'万元'"
isCenter
isBold
/>
<simple-card
v-for=
"data in arSummary"
style=
"width: 30%;height: 100%"
>
<title-content-mark
style=
"color: #5eeef4;"
:title=
"data.title"
:content=
"data.value"
:mark=
"'万元'"
isCenter
isBold
/>
</simple-card>
</div>
<ar-summary-bar
ref=
"arSummaryBar"
style=
"width: 100%; height: 64%;"
></ar-summary-bar>
...
...
@@ -224,6 +223,11 @@ export default {
],
},
},
arSummary
:
[
{
title
:
'累计营业收入(当年)'
,
value
:
'20,303'
},
{
title
:
'应收款(财务)'
,
value
:
'20,303'
},
{
title
:
'应收款(营销)'
,
value
:
'20,303'
,},
],
mockData
:
{
zqk
:
{
yszk
:
{
...
...
@@ -460,13 +464,16 @@ export default {
// 获取应收账款数据
getArSummaryBar
()
{
arSummaryBar
().
then
(
res
=>
{
let
data
=
res
.
data
.
data
let
data
=
res
.
data
let
seriesData
=
[]
seriesData
.
push
(
data
.
unsettled_amount
)
seriesData
.
push
(
data
.
settled_amount
)
seriesData
.
push
(
data
.
unregister_amount
)
seriesData
.
push
(
data
.
receivable_amount
)
seriesData
.
push
(
data
.
cancelled_amount
)
this
.
arSummary
[
0
].
value
=
data
.
total_amount
this
.
arSummary
[
1
].
value
=
data
.
unregister_amount
this
.
arSummary
[
2
].
value
=
data
.
receivable_amount
this
.
$refs
.
arSummaryBar
.
drawArSummaryBar
(
seriesData
)
}).
catch
(
err
=>
{
console
.
log
(
err
);
...
...
@@ -475,8 +482,8 @@ export default {
// 获取已开票未收款排行
getArCompanyList
()
{
arCompanyList
().
then
(
res
=>
{
if
(
res
.
data
.
data
.
length
)
{
this
.
arCompanyList
=
res
.
data
.
data
if
(
res
.
data
.
length
)
{
this
.
arCompanyList
=
res
.
data
}
}).
catch
(
err
=>
{
console
.
log
(
err
);
...
...
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