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
9c7e1ba3
Commit
9c7e1ba3
authored
Oct 25, 2019
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决差异金额总计没显示的问题
parent
84dadba4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
FinanceController.cs
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
+4
-4
WHPurchaseSellStock.cshtml
...eb/Areas/Reports/Views/Finance/WHPurchaseSellStock.cshtml
+5
-2
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
View file @
9c7e1ba3
...
...
@@ -5249,10 +5249,10 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
end_stock_amount
=
objCount
.
end_stock_amount
.
ToString
(
"N2"
),
end_stock_count
=
objCount
.
end_stock_count
.
ToString
(
"N0"
),
diff_onway_amount
=
(
objCount
.
diff_onway_amount
??
0
).
ToString
(
"N2"
),
diff_onway_count
=
(
objCount
.
diff_onway_count
??
0
).
ToString
(
"N0"
),
diff_stock_amount
=
(
objCount
.
diff_stock_amount
??
0
).
ToString
(
"N2"
),
diff_stock_count
=
(
objCount
.
diff_stock_count
??
0
).
ToString
(
"N0"
),
diff_onway_amount
=
(
objCount
.
end_onway_amount
-
objCount
.
start_onway_amount
).
ToString
(
"N2"
),
diff_onway_count
=
(
objCount
.
end_onway_count
-
objCount
.
start_onway_count
).
ToString
(
"N0"
),
diff_stock_amount
=
(
objCount
.
end_stock_amount
-
objCount
.
start_stock_amount
).
ToString
(
"N2"
),
diff_stock_count
=
(
objCount
.
end_stock_count
-
objCount
.
start_stock_count
).
ToString
(
"N0"
),
count
=
objCount
.
count
.
ToString
(
"N0"
),
amount
=
objCount
.
amount
.
ToString
(
"N2"
),
...
...
Bailun.DC.Web/Areas/Reports/Views/Finance/WHPurchaseSellStock.cshtml
View file @
9c7e1ba3
...
...
@@ -7,6 +7,9 @@
<div class="row">
<div class="col-sm-12">
<div class="alert alert-warning">
说明:差异=期末-期初
</div>
<div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
...
...
@@ -89,8 +92,8 @@
{ field: 'diff_stock_count', title: '差异-在库数量', width: '130', iscount: true },
{ field: 'diff_onway_amount', title: '差异-在途金额', width: '130', iscount: true },
{ field: 'diff_onway_count', title: '差异-在途数量', width: '130', iscount: true },
{ field: 'amount', title: '总金额', width: '130', iscount: true, sortable: true },
{ field: 'count', title: '总数量', width: '130', iscount: true, sortable: true }
{ field: 'amount', title: '总
期末
金额', width: '130', iscount: true, sortable: true },
{ field: 'count', title: '总
期末
数量', width: '130', iscount: true, sortable: true }
];
var url = '@Url.Content("~/Reports/Finance/WHPurchaseSellStockJson")' + '?' + $("#toolbar").serialize();
...
...
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