Commit 7e61ea61 by 泽锋 李

供应链调拨在途,新增调拨单箱子在途数

parent 762d231a
...@@ -1675,7 +1675,8 @@ t8.surplus_node_days, ...@@ -1675,7 +1675,8 @@ t8.surplus_node_days,
t8.expectarrivaltime as 'node_expectarrivaltime', t8.expectarrivaltime as 'node_expectarrivaltime',
t8.logistics_code, t8.logistics_code,
t8.logistics_name, t8.logistics_name,
t8.sign_exe t8.sign_exe,
(t8.quantity - t8.storage_count) as 'box_not_storage'
from dc_base_transfer_info as t1 from dc_base_transfer_info as t1
left join dc_base_transfer_info_skus as t2 on t1.dataid =t2.dataid left join dc_base_transfer_info_skus as t2 on t1.dataid =t2.dataid
......
...@@ -73,5 +73,6 @@ namespace AutoTurnOver.Models ...@@ -73,5 +73,6 @@ namespace AutoTurnOver.Models
public DateTime? node_expectarrivaltime { get; set; } public DateTime? node_expectarrivaltime { get; set; }
public string logistics_code { get; set; } public string logistics_code { get; set; }
public string logistics_name { get; set; } public string logistics_name { get; set; }
public int? box_not_storage { get; set; }
} }
} }
...@@ -619,7 +619,7 @@ namespace AutoTurnOver.Services ...@@ -619,7 +619,7 @@ namespace AutoTurnOver.Services
if (list == null || list.Count <= 0) break; if (list == null || list.Count <= 0) break;
DataTable table = new DataTable(); DataTable table = new DataTable();
string[] cols = new string[] { "产品编码", "仓库名称","仓库编码","中文信息","可用库存","调拨在途数","过去7天日均","过去14天日均","过去30天日均", string[] cols = new string[] { "产品编码", "仓库名称","仓库编码","中文信息","可用库存","调拨单在途数","箱子在途数","过去7天日均","过去14天日均","过去30天日均",
"商品来源", "采购员", "sku状态", "调拨单号", "商品来源", "采购员", "sku状态", "调拨单号",
"物流跟踪号", "物流转单号","头程方式","调拨单状态","物流渠道","物流渠道编码","物流节点状态","物流节点时间","物流异常","目标到货","预计到货" "物流跟踪号", "物流转单号","头程方式","调拨单状态","物流渠道","物流渠道编码","物流节点状态","物流节点时间","物流异常","目标到货","预计到货"
...@@ -639,6 +639,7 @@ namespace AutoTurnOver.Services ...@@ -639,6 +639,7 @@ namespace AutoTurnOver.Services
row["中文信息"] = itemData.sku_name; row["中文信息"] = itemData.sku_name;
row["可用库存"] = itemData.stock; row["可用库存"] = itemData.stock;
row["调拨在途数"] = itemData.not_storage; row["调拨在途数"] = itemData.not_storage;
row["箱子在途数"] = itemData.box_not_storage;
row["过去7天日均"] = itemData.history_sevenday_sales; row["过去7天日均"] = itemData.history_sevenday_sales;
row["过去14天日均"] = itemData.history_fourteenday_sales; row["过去14天日均"] = itemData.history_fourteenday_sales;
row["过去30天日均"] = itemData.history_thirtyday_sales; row["过去30天日均"] = itemData.history_thirtyday_sales;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment