Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
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
bltdc
DataCenter_Core2.1_20190520
Commits
9be9c6cb
Commit
9be9c6cb
authored
Apr 08, 2019
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
管理成本报表取两位小数
parent
bf73739f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
FinanceController.cs
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
+5
-1
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
View file @
9be9c6cb
...
...
@@ -437,6 +437,10 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
{
for
(
var
i
=
0
;
i
<
item
.
Item2
.
Count
;
i
++)
{
var
v
=
item
.
Item2
[
i
];
item
.
Item2
[
i
]
=
Math
.
Round
(
v
,
2
);
if
(
listCount
.
Count
()
>
i
)
{
listCount
[
i
]
+=
item
.
Item2
[
i
];
...
...
@@ -457,7 +461,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
msg
=
list
.
Count
>
0
?
""
:
"成本接口返回了空记录。"
,
col
=
listCol
,
list
=
listValue
,
amount
=
list
.
Sum
(
a
=>
a
.
amountRmb
)
amount
=
Math
.
Round
(
list
.
Sum
(
a
=>
a
.
amountRmb
),
2
)
});
}
...
...
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