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
2be8912a
Commit
2be8912a
authored
Jan 03, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
逻辑仓库sku明细导出增加销量过滤
parent
3b91677a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
WarehouseController.cs
...n.DC.Web/Areas/Reports/Controllers/WarehouseController.cs
+2
-2
ListWareHouseSku.cshtml
...Web/Areas/Reports/Views/Warehouse/ListWareHouseSku.cshtml
+1
-1
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/WarehouseController.cs
View file @
2be8912a
...
...
@@ -357,7 +357,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
});
}
public
ActionResult
ExportWareHouseSku
(
string
code
,
int
?
push_status
,
int
?
minordercount
,
int
?
maxordercount
,
int
?
stockmin
,
int
?
stockmax
,
decimal
?
stockamountmin
,
decimal
?
stockamountmax
,
string
skucategoryids
,
string
available_days
)
public
ActionResult
ExportWareHouseSku
(
string
code
,
int
?
push_status
,
int
?
minordercount
,
int
?
maxordercount
,
int
?
stockmin
,
int
?
stockmax
,
decimal
?
stockamountmin
,
decimal
?
stockamountmax
,
string
skucategoryids
,
string
available_days
,
int
?
onedaysalescount
)
{
var
total
=
0
;
int
?
available_days_start
=
null
;
...
...
@@ -381,7 +381,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
}
}
}
var
obj
=
new
Services
.
WareHouseServices
().
ListWareHouseSku
(
new
BtTableParameter
{
offset
=
0
,
limit
=
0
},
code
,
null
,
minordercount
,
maxordercount
,
stockmin
,
stockmax
,
stockamountmin
,
stockamountmax
,
skucategoryids
,
push_status
,
available_days_start
,
available_days_end
,
ref
total
);
var
obj
=
new
Services
.
WareHouseServices
().
ListWareHouseSku
(
new
BtTableParameter
{
offset
=
0
,
limit
=
0
},
code
,
null
,
minordercount
,
maxordercount
,
stockmin
,
stockmax
,
stockamountmin
,
stockamountmax
,
skucategoryids
,
push_status
,
available_days_start
,
available_days_end
,
ref
total
,
onedaysalescount
);
var
colNames
=
new
List
<
string
>()
{
"仓库名称"
,
"Sku"
,
"推送产品库"
,
"分类名称"
,
"英文标题"
,
"库存数量"
,
"库存金额"
,
"采购在途数量"
,
"采购在途金额"
,
"调拨在途数量"
...
...
Bailun.DC.Web/Areas/Reports/Views/Warehouse/ListWareHouseSku.cshtml
View file @
2be8912a
...
...
@@ -384,7 +384,7 @@
} catch (e) {
s = '';
}
window.open('@Url.Content("~/Reports/Warehouse/ExportWareHouseSku?")' + $("#toolbar").serialize() + '&skucategoryids=' + s, '_blank');
window.open('@Url.Content("~/Reports/Warehouse/ExportWareHouseSku?")' + $("#toolbar").serialize() + '&skucategoryids=' + s
+'&onedaysalescount=@(ViewBag.onedaysalescount)'
, '_blank');
}
}
...
...
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