Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
b8760212
Commit
b8760212
authored
Oct 24, 2019
by
季圣华
Browse files
给首页增加统计折线图的功能(优化)
parent
7ea85d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/home.html
View file @
b8760212
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<section
class=
"col-md-6 ui-sortable"
>
<section
class=
"col-md-6 ui-sortable"
>
<div
class=
"box box-solid
bg-teal-gradient
"
>
<div
class=
"box box-solid"
>
<div
class=
"box-header ui-sortable-handle"
>
<div
class=
"box-header ui-sortable-handle"
>
<i
class=
"fa fa-th"
></i>
<i
class=
"fa fa-th"
></i>
<h3
class=
"box-title"
>
采购统计
</h3>
<h3
class=
"box-title"
>
采购统计
</h3>
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
</div>
</div>
</section>
</section>
<section
class=
"col-md-6 ui-sortable ui-sortable"
>
<section
class=
"col-md-6 ui-sortable ui-sortable"
>
<div
class=
"box box-solid
bg-teal-gradient
"
>
<div
class=
"box box-solid"
>
<div
class=
"box-header ui-sortable-handle"
>
<div
class=
"box-header ui-sortable-handle"
>
<i
class=
"fa fa-th"
></i>
<i
class=
"fa fa-th"
></i>
<h3
class=
"box-title"
>
销售统计
</h3>
<h3
class=
"box-title"
>
销售统计
</h3>
...
@@ -210,8 +210,8 @@
...
@@ -210,8 +210,8 @@
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
&&
res
.
code
===
200
)
{
var
data
=
res
.
data
;
var
data
=
res
.
data
;
Highcharts
.
chart
(
'
buyIn
'
,
getChartObj
(
"
采购金额
"
,
res
.
data
.
monthList
,
res
.
data
.
buyPriceList
));
Highcharts
.
chart
(
'
buyIn
'
,
getChartObj
(
"
最近6个月采购数据
"
,
res
.
data
.
monthList
,
res
.
data
.
buyPriceList
));
Highcharts
.
chart
(
'
saleOut
'
,
getChartObj
(
"
销售金额
"
,
res
.
data
.
monthList
,
res
.
data
.
salePriceList
));
Highcharts
.
chart
(
'
saleOut
'
,
getChartObj
(
"
最近6个月销售数据
"
,
res
.
data
.
monthList
,
res
.
data
.
salePriceList
));
}
}
},
},
error
:
function
(
res
){
error
:
function
(
res
){
...
...
Write
Preview
Supports
Markdown
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