Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
data-center-auto
Commits
44173074
Commit
44173074
authored
Mar 23, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购建议导出,新增库容值
parent
32897f05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
PurchaseAdviseServices.cs
AutoTurnOver.Services/PurchaseAdviseServices.cs
+6
-0
No files found.
AutoTurnOver.Services/PurchaseAdviseServices.cs
View file @
44173074
...
@@ -134,6 +134,7 @@ namespace AutoTurnOver.Services
...
@@ -134,6 +134,7 @@ namespace AutoTurnOver.Services
"采购单价"
,
"历史7天日均"
,
"历史14日均"
,
"历史30日均"
,
"加权日均"
,
"安全库存"
,
"今日实际缺货"
,
"供应链累积销量"
,
"供应链到货当天的销量"
"采购单价"
,
"历史7天日均"
,
"历史14日均"
,
"历史30日均"
,
"加权日均"
,
"安全库存"
,
"今日实际缺货"
,
"供应链累积销量"
,
"供应链到货当天的销量"
,
"预测销量"
,
"累积入库数量"
,
"实际库存"
,
"moq"
,
"多备天数"
,
"多备数量"
,
"预测销量配置"
,
"实际推送下单数量"
,
"总下单金额"
,
"转仓来源仓库编码"
,
"转仓来源仓库名称"
,
"仓库类型"
,
"最新计算时间"
,
"预测销量"
,
"累积入库数量"
,
"实际库存"
,
"moq"
,
"多备天数"
,
"多备数量"
,
"预测销量配置"
,
"实际推送下单数量"
,
"总下单金额"
,
"转仓来源仓库编码"
,
"转仓来源仓库名称"
,
"仓库类型"
,
"最新计算时间"
,
"首单日期"
,
"首单单号"
,
"首单日期"
,
"首单单号"
,
"母sku"
,
"母sku原始建议数"
,
"库容缺少值"
,
"可用库容"
};
};
foreach
(
var
item
in
cols
)
foreach
(
var
item
in
cols
)
{
{
...
@@ -143,6 +144,11 @@ namespace AutoTurnOver.Services
...
@@ -143,6 +144,11 @@ namespace AutoTurnOver.Services
foreach
(
var
itemData
in
list
)
foreach
(
var
itemData
in
list
)
{
{
DataRow
row
=
table
.
NewRow
();
DataRow
row
=
table
.
NewRow
();
row
[
"首单日期"
]
=
itemData
.
mother_sku
;
row
[
"母sku原始建议数"
]
=
itemData
.
mother_sku_quantity
;
row
[
"库容缺少值"
]
=
itemData
.
storage_capacity_lack_quantity
;
row
[
"可用库容"
]
=
itemData
.
storage_capacity_quantity
;
row
[
"首单日期"
]
=(
itemData
.
first_order_date
==
null
?
""
:
itemData
.
first_order_date
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
));
row
[
"首单日期"
]
=(
itemData
.
first_order_date
==
null
?
""
:
itemData
.
first_order_date
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
));
row
[
"首单单号"
]
=
itemData
.
first_order_bailun_order_id
;
row
[
"首单单号"
]
=
itemData
.
first_order_bailun_order_id
;
...
...
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