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
2d237fcd
Commit
2d237fcd
authored
Apr 30, 2020
by
季圣华
Browse files
优化首页
parent
1cdc7961
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/home.html
View file @
2d237fcd
...
...
@@ -25,7 +25,7 @@
<span
class=
"info-box-icon bg-aqua"
><i
class=
"fa fa-shopping-bag"
></i></span>
<div
class=
"info-box-content"
>
<span
class=
"info-box-text"
>
今日累计销售
</span>
<span
id=
"todaySale"
class=
"info-box-number"
>
0元
</span>
<span
id=
"todaySale"
class=
"info-box-number"
></span>
</div>
</div>
</div>
...
...
@@ -34,7 +34,7 @@
<span
class=
"info-box-icon bg-red"
><i
class=
"fa fa-shopping-cart"
></i></span>
<div
class=
"info-box-content"
>
<span
class=
"info-box-text"
>
本月累计销售
</span>
<span
id=
"thisMonthSale"
class=
"info-box-number"
>
0元
</span>
<span
id=
"thisMonthSale"
class=
"info-box-number"
></span>
</div>
</div>
</div>
...
...
@@ -44,16 +44,16 @@
<span
class=
"info-box-icon bg-green"
><i
class=
"fa fa-shopping-basket"
></i></span>
<div
class=
"info-box-content"
>
<span
class=
"info-box-text"
>
本月累计进货
</span>
<span
id=
"thisMonthBuy"
class=
"info-box-number"
>
0元
</span>
<span
id=
"thisMonthBuy"
class=
"info-box-number"
></span>
</div>
</div>
</div>
<div
class=
"col-md-3 col-sm-6 col-xs-12"
>
<div
class=
"info-box"
>
<span
class=
"info-box-icon bg-yellow"
><i
class=
"fa fa-
users
"
></i></span>
<span
class=
"info-box-icon bg-yellow"
><i
class=
"fa fa-
rmb
"
></i></span>
<div
class=
"info-box-content"
>
<span
class=
"info-box-text"
>
用户数量
</span>
<span
id=
"this
UserSum
"
class=
"info-box-number"
>
0
</span>
<span
class=
"info-box-text"
>
本月利润(含财务部分)
</span>
<span
id=
"this
MonthAmount
"
class=
"info-box-number"
></span>
</div>
</div>
</div>
...
...
@@ -130,9 +130,9 @@
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
.
data
)
{
$
(
"
#todaySale
"
).
text
(
res
.
data
.
todaySale
);
$
(
"
#thisMonthSale
"
).
text
(
res
.
data
.
thisMonthSale
);
$
(
"
#thisMonthBuy
"
).
text
(
res
.
data
.
thisMonthBuy
);
$
(
"
#todaySale
"
).
text
(
(
res
.
data
.
todaySale
)
.
toFixed
(
2
))
;
$
(
"
#thisMonthSale
"
).
text
(
(
res
.
data
.
thisMonthSale
)
.
toFixed
(
2
))
;
$
(
"
#thisMonthBuy
"
).
text
(
(
res
.
data
.
thisMonthBuy
)
.
toFixed
(
2
))
;
}
}
},
...
...
@@ -145,20 +145,12 @@
$
(
function
()
{
$
.
ajax
({
type
:
"
get
"
,
url
:
"
/
user/list
"
,
url
:
"
/
account/getStatistics
"
,
dataType
:
"
json
"
,
data
:
({
search
:
JSON
.
stringify
({
userName
:
""
,
loginName
:
""
}),
currentPage
:
1
,
pageSize
:
10
}),
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
.
data
&&
res
.
data
.
page
)
{
$
(
"
#this
UserSum
"
).
text
(
res
.
data
.
page
.
total
);
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
.
data
)
{
$
(
"
#this
MonthAmount
"
).
text
(
(
res
.
data
.
allMonthAmount
-
0
).
toFixed
(
2
)
);
}
}
},
...
...
erp_web/pages/reports/account_report.html
View file @
2d237fcd
<!DOCTYPE html>
<html>
<head>
<title>
结算账户查询
</title>
<title>
账户统计
</title>
<meta
charset=
"utf-8"
>
<!-- 指定以IE8的方式来渲染 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=EmulateIE8"
/>
...
...
@@ -22,7 +22,7 @@
</head>
<body>
<!-- 数据显示table -->
<div
id=
"tablePanel"
class=
"easyui-panel"
data-options=
"fit:true"
style=
"padding:1px;top:300px;"
title=
"
结算
账户列表"
iconCls=
"icon-list"
>
<div
id=
"tablePanel"
class=
"easyui-panel"
data-options=
"fit:true"
style=
"padding:1px;top:300px;"
title=
"账户
统计
列表"
iconCls=
"icon-list"
>
<div
class=
"box-body form-inline"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
名称:
</label>
...
...
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