Commit 1e3d26ee by 泽锋 李

fix

parent fd554ff1
......@@ -456,6 +456,7 @@ t1.usable_stock + t1.occupy_stock as 'sum_usable_stock',
t6.turnover_days as 'turnover_days',
t3.moq,
t3.character_names,
t3.tags,
(t1.usable_stock * ifnull(t3.unit_price,0)) as 'usable_stock_amount',
(ifnull(t4.quantity_purchase,0) + ifnull(t4.quantity_transfer,0)) * ifnull(t3.unit_price,0) as 'on_the_way_stock_amount',
......
......@@ -297,6 +297,7 @@ namespace AutoTurnOver.Models
/// 供应链长度所需库存
/// </summary>
public decimal? turnover_days_quantity { get; set; }
public string character_names { get; set; }
/// <summary>
/// sku头程费
/// </summary>
......
......@@ -293,7 +293,7 @@ namespace AutoTurnOver.Services
"调拨最快到货时间","调拨最快到货单号","调拨最快到货数量","调拨最快到货跟踪号","调拨最快到货运输方式","调拨最快到到货物流","周转表更新时间",
"供应链长度天数","供应链预测销量","供应链预测缺货","供应链预测冗余","walmart最近7天日均销量","walmart最近14天日均销量","walmart最近30天日均销量","库存更新时间",
"在库+调拨单在途数量","在库+调拨单在途金额","在库+在途金额(总)","产品线",
"头程费/一个单位","头程费/kg"
"头程费/一个单位","头程费/kg","产品特性"
};
foreach (var item in cols)
{
......@@ -303,6 +303,7 @@ namespace AutoTurnOver.Services
foreach (var itemData in list)
{
DataRow row = table.NewRow();
row["产品特性"] = itemData.character_names==null?"" : itemData.character_names.Replace(","," | ");
row["头程费/一个单位"] = itemData.cost_first;
row["头程费/kg"] = itemData.cost_first_weight;
row["产品线"] = itemData.product_line_name;
......
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