1
This commit is contained in:
parent
01854f85f8
commit
a7bf5efec4
@ -33,6 +33,18 @@ namespace DOAN.Model.MES.mm.Dto
|
||||
|
||||
public string Specification { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报工消耗量
|
||||
/// </summary>
|
||||
|
||||
public decimal ReportConsume { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库发货消耗量
|
||||
/// </summary>
|
||||
|
||||
public decimal WarehouseDeliveryConsume { get; set; }
|
||||
|
||||
public decimal LogicQuantity { get; set; }
|
||||
|
||||
public decimal ActualQuantity { get; set; }
|
||||
|
||||
@ -42,6 +42,19 @@ namespace DOAN.Model.MES.mm
|
||||
/// </summary>
|
||||
public string Specification { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 报工消耗量
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "report_consume")]
|
||||
public decimal ReportConsume { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库发货消耗量
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "warehouse_delivery_consume")]
|
||||
public decimal WarehouseDeliveryConsume { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 理论呆滞数量
|
||||
/// </summary>
|
||||
|
||||
@ -70,6 +70,7 @@ namespace DOAN.Service.MES.mm
|
||||
mmSlowMoveMaterial.MaterialCode = logicConsumeMaterial[i].MaterialCode;
|
||||
mmSlowMoveMaterial.MaterialName = logicConsumeMaterial[i].MaterialName;
|
||||
mmSlowMoveMaterial.Specification = logicConsumeMaterial[i].Specification;
|
||||
mmSlowMoveMaterial.ReportConsume=logicConsumeMaterial[i].Quantity;
|
||||
mmSlowMoveMaterial.LogicQuantity=logicConsumeMaterial[i].Quantity;
|
||||
mmSlowMoveMaterial.Unit = logicConsumeMaterial[i].unit;
|
||||
mmSlowMoveMaterial.CreatedBy = CreatedBy;
|
||||
@ -81,6 +82,7 @@ namespace DOAN.Service.MES.mm
|
||||
{
|
||||
if (WarehouseSendMaterial[j].MaterialCode == logicConsumeMaterial[i].MaterialCode)
|
||||
{
|
||||
mmSlowMoveMaterial.WarehouseDeliveryConsume = WarehouseSendMaterial[j].Quantity;
|
||||
mmSlowMoveMaterial.LogicQuantity= WarehouseSendMaterial[j].Quantity - logicConsumeMaterial[j].Quantity;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user