Browse Source

分割头数预测 预估产量 支持自定义

master
yibo 7 years ago
parent
commit
2ab24a5027
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      B3ButcherManageToSale/TypeIOCs/ForecastButcherInfo.cs

+ 2
- 0
B3ButcherManageToSale/TypeIOCs/ForecastButcherInfo.cs View File

@ -39,6 +39,8 @@ namespace BWP.B3ButcherManageToSale.TypeIOCs
{
detail.ForecastNumber = Convert.ToInt32(Math.Ceiling(detail.NeedNumber.Value.Value / detail.AvgWeight.Value));
detail.UpdateNumber = detail.ForecastNumber;
detail.ProductNumber = detail.ForecastNumber * detail.AvgWeight;
detail.ProductNumber = decimal.Round(detail.ProductNumber.Value.Value, 2);
}
}
DmoUtil.RefreshDependency(detail, "ProductAvgWeightSet_ID", "Goods_ID");


Loading…
Cancel
Save