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
a435bee0
Commit
a435bee0
authored
Sep 19, 2023
by
张恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
封装应收账款请求接口
parent
e74c7067
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
ar-company-bar.vue
src/module/databoard/components/chart/ar-company-bar.vue
+1
-1
ar-company-monthly-bar.vue
...ule/databoard/components/chart/ar-company-monthly-bar.vue
+1
-1
ar-monthly-bar.vue
src/module/databoard/components/chart/ar-monthly-bar.vue
+1
-1
ar-monthly-company-bar.vue
...ule/databoard/components/chart/ar-monthly-company-bar.vue
+1
-1
index.vue
src/module/databoard/index.vue
+3
-3
No files found.
src/module/databoard/components/chart/ar-company-bar.vue
View file @
a435bee0
...
...
@@ -114,7 +114,7 @@ export default {
mounted
()
{
// 获取图表数据
arCompanyBar
().
then
(
res
=>
{
let
data
=
res
.
data
.
data
let
data
=
res
.
data
let
xAxisData
=
[]
let
seriesData
=
[]
for
(
let
item
of
data
)
{
...
...
src/module/databoard/components/chart/ar-company-monthly-bar.vue
View file @
a435bee0
...
...
@@ -121,7 +121,7 @@ export default {
// 获取图表数据
arCompanyMonthlyBar
(
company
).
then
(
res
=>
{
let
data
=
res
.
data
.
data
let
data
=
res
.
data
let
xAxisData
=
[]
let
seriesData0
=
[]
let
seriesData1
=
[]
...
...
src/module/databoard/components/chart/ar-monthly-bar.vue
View file @
a435bee0
...
...
@@ -109,7 +109,7 @@ export default {
mounted
()
{
// 获取图表数据
arMonthlyBar
().
then
(
res
=>
{
let
data
=
res
.
data
.
data
let
data
=
res
.
data
let
xAxisData
=
[]
let
seriesData
=
[]
for
(
let
item
of
data
)
{
...
...
src/module/databoard/components/chart/ar-monthly-company-bar.vue
View file @
a435bee0
...
...
@@ -106,7 +106,7 @@ export default {
this
.
barChart
.
title
.
text
=
month
+
" 已开票未收款(结算单位)"
// 获取图表数据
arMonthlyCompanyBar
(
month
).
then
(
res
=>
{
let
data
=
res
.
data
.
data
let
data
=
res
.
data
let
xAxisData
=
[]
let
seriesData
=
[]
for
(
let
item
of
data
)
{
...
...
src/module/databoard/index.vue
View file @
a435bee0
...
...
@@ -517,7 +517,7 @@ 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
)
...
...
@@ -532,8 +532,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