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
7fb98c83
Commit
7fb98c83
authored
Jul 30, 2024
by
xuzhuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏当日订单量跳转
parent
5d2e33e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
turnoverDetail.js
src/module/databoard/databoard/turnoverDetail.js
+7
-7
No files found.
src/module/databoard/databoard/turnoverDetail.js
View file @
7fb98c83
...
@@ -521,23 +521,23 @@ export const initDetail = function () {
...
@@ -521,23 +521,23 @@ export const initDetail = function () {
}
}
export
const
getShipmentWeight
=
async
function
(
department_code
,
cur_day
)
{
export
const
getShipmentWeight
=
async
function
(
department_code
,
cur_day
)
{
let
pageData
=
new
Object
()
;
let
pageData
=
[]
;
let
response
=
await
getDepartmentShipmentWeight
(
department_code
,
cur_day
);
let
response
=
await
getDepartmentShipmentWeight
(
department_code
,
cur_day
);
var
xAxisData
=
new
Array
()
;
var
xAxisData
=
[]
;
var
line1
=
new
Array
()
;
var
line1
=
[]
;
var
line2
=
new
Array
()
;
var
line2
=
[]
;
response
.
data
.
forEach
(
function
(
row
)
{
response
.
data
.
forEach
(
function
(
row
)
{
xAxisData
.
push
(
row
.
cur_day
);
xAxisData
.
push
(
row
.
cur_day
);
line1
.
push
(
row
.
s__finished_weight_sum
);
line1
.
push
(
row
.
s__finished_weight_sum
);
line2
.
push
(
row
.
s__unfinished_weight_sum
);
line2
.
push
(
row
.
s__unfinished_weight_sum
);
});
});
var
series
=
new
Array
()
;
var
series
=
[]
;
series
.
push
(
adapterSeriesData
(
null
,
"完成量"
,
line1
));
series
.
push
(
adapterSeriesData
(
null
,
"完成量"
,
line1
));
series
.
push
(
adapterSeriesData
(
null
,
"未完成量"
,
line2
));
series
.
push
(
adapterSeriesData
(
null
,
"未完成量"
,
line2
));
var
xAxis
=
new
Array
()
;
var
xAxis
=
[]
;
xAxis
.
push
(
adapterXAxisData2
(
"#00bbe5"
,
xAxisData
));
xAxis
.
push
(
adapterXAxisData2
(
"#00bbe5"
,
xAxisData
));
var
seriesBar
=
new
Array
()
;
var
seriesBar
=
[]
;
seriesBar
.
push
(
adapterSeriesDataBar
(
null
,
"完成量"
,
line1
));
seriesBar
.
push
(
adapterSeriesDataBar
(
null
,
"完成量"
,
line1
));
seriesBar
.
push
(
adapterSeriesDataBar
(
null
,
"未完成量"
,
line2
));
seriesBar
.
push
(
adapterSeriesDataBar
(
null
,
"未完成量"
,
line2
));
...
...
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