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
163ae12e
Commit
163ae12e
authored
May 19, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ce302db5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
SkuController.cs
Bailun.DC.Web/Areas/Reports/Controllers/SkuController.cs
+5
-2
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/SkuController.cs
View file @
163ae12e
...
...
@@ -9,6 +9,7 @@ using Newtonsoft.Json;
using
Microsoft.AspNetCore.Hosting
;
using
Bailun.ServiceFabric.Core.Extension
;
using
Bailun.ServiceFabric.Authorize
;
using
Bailun.ServiceFabric.Core.Extension.HttpContext
;
namespace
Bailun.DC.Web.Areas.Reports.Controllers
{
...
...
@@ -170,6 +171,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
/// <param name="warehouse">仓库编码</param>
/// <param name="type">库龄,3:3个月以上,6:6个月以上,12:1年以上,24:2年以上,36:3年以上,4:3个月以上,6个月以下,7:6个月以上,12个月以下,13:12个月以上,24个月以下,25:24个月以上,36个月以下</param>
/// <returns></returns>
[
BailunAuthentication
(
LoginMode
.
Enforce
)]
public
string
ListInventoryAgingJson
(
BtTableParameter
parameter
,
string
sku
,
string
warehouse
,
string
warehousetype
,
int
type
)
{
var
total
=
0
;
...
...
@@ -230,8 +232,9 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
warehouse_name
=
"总计"
,
quantity_stock
=
objCount
.
quantity_stock
.
ToString
(
"N0"
),
amount
=
objCount
.
amount
.
ToString
(
"N2"
),
isexport
=
Services
.
UserAuthorityServices
.
checkUserExportAuthority
(
"ExportInventoryAging"
,
ServiceFabric
.
Core
.
Extension
.
HttpContext
.
HttpContextHelper
.
Current
.
User
.
GetUserName
()),
}
},
isexport
=
Services
.
UserAuthorityServices
.
checkUserExportAuthority
(
"ExportInventoryAging"
,
HttpContextHelper
.
Current
.
User
.
GetUserName
()),
});
}
...
...
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