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
41b9ae7d
Commit
41b9ae7d
authored
Mar 31, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决库龄列表库存数据无法排序的问题
parent
7d03b805
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
SkuController.cs
Bailun.DC.Web/Areas/Reports/Controllers/SkuController.cs
+2
-2
ListInventoryAging.cshtml
....DC.Web/Areas/Reports/Views/Sku/ListInventoryAging.cshtml
+1
-1
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/SkuController.cs
View file @
41b9ae7d
...
@@ -236,7 +236,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
...
@@ -236,7 +236,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
a
.
bailun_sku
,
a
.
bailun_sku
,
a
.
warehouse_code
,
a
.
warehouse_code
,
a
.
warehouse_name
,
a
.
warehouse_name
,
quantity_
stock
=
a
.
stock
.
ToString
(
"N0"
),
stock
=
a
.
stock
.
ToString
(
"N0"
),
amount
=
a
.
amount
.
ToString
(
"N2"
),
amount
=
a
.
amount
.
ToString
(
"N2"
),
stock_time
=
(
DateTime
.
Now
-
a
.
day
).
Days
+
"d"
,
stock_time
=
(
DateTime
.
Now
-
a
.
day
).
Days
+
"d"
,
a
.
sku_name
,
a
.
sku_name
,
...
@@ -248,7 +248,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
...
@@ -248,7 +248,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
return
JsonConvert
.
SerializeObject
(
new
{
total
=
total
,
rows
=
list
,
return
JsonConvert
.
SerializeObject
(
new
{
total
=
total
,
rows
=
list
,
count_row
=
new
{
count_row
=
new
{
warehouse_name
=
"总计"
,
warehouse_name
=
"总计"
,
quantity_
stock
=
objCount
.
stock
.
ToString
(
"N0"
),
stock
=
objCount
.
stock
.
ToString
(
"N0"
),
amount
=
objCount
.
amount
.
ToString
(
"N2"
),
amount
=
objCount
.
amount
.
ToString
(
"N2"
),
},
},
isexport
=
Services
.
UserAuthorityServices
.
checkUserExportAuthority
(
"ExportInventoryAging"
,
HttpContextHelper
.
Current
.
User
.
GetUserName
()),
isexport
=
Services
.
UserAuthorityServices
.
checkUserExportAuthority
(
"ExportInventoryAging"
,
HttpContextHelper
.
Current
.
User
.
GetUserName
()),
...
...
Bailun.DC.Web/Areas/Reports/Views/Sku/ListInventoryAging.cshtml
View file @
41b9ae7d
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
},
},
{ field: 'sku_category', title: '产品类型', width: '150' },
{ field: 'sku_category', title: '产品类型', width: '150' },
{ field: 'warehouse_name', title: '仓库名称', width: '150', iscount: true },
{ field: 'warehouse_name', title: '仓库名称', width: '150', iscount: true },
{ field: '
quantity_
stock', title: '库存数量', width: '150', iscount: true, sortable: true },
{ field: 'stock', title: '库存数量', width: '150', iscount: true, sortable: true },
{ field: 'amount', title: '库存金额', width: '150', iscount: true, sortable: true },
{ field: 'amount', title: '库存金额', width: '150', iscount: true, sortable: true },
{
{
field: 'stock_time', title: '库龄(天)', width: '110', sortable: true, formatter: function (idx, data) {
field: 'stock_time', title: '库龄(天)', width: '110', sortable: true, formatter: function (idx, data) {
...
...
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