先进先出

This commit is contained in:
qianhao.xu
2024-04-14 11:16:19 +08:00
parent 910a82a747
commit 4b053452d0
6 changed files with 154 additions and 76 deletions

View File

@@ -89,6 +89,7 @@ namespace ZR.Model.MES.wms.Dto
/// </summary>
public string[] PatchCode { get; set; }
}

View File

@@ -1,4 +1,5 @@
using System;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -21,7 +22,7 @@ namespace ZR.Model.MES.wms
/// 出库单号
///</summary>
[SugarColumn(ColumnName = "fk_out_order_id")]
public string FkOutOrderId { get; set; }
public string FkOutOrderId { get; set; }
/// <summary>
/// 批次号(工单号+箱号)
///</summary>
@@ -31,6 +32,7 @@ namespace ZR.Model.MES.wms
/// <summary>
/// 短批次号
/// </summary>
[SugarColumn(IsIgnore = true)]
public string Patchcode_short { get; set; }
/// <summary>
/// 物料号
@@ -57,6 +59,15 @@ namespace ZR.Model.MES.wms
///</summary>
[SugarColumn(ColumnName = "require_num")]
public int? RequireNum { get; set; }
/// <summary>
/// 已经入库箱子数量
///</summary>
[SugarColumn(ColumnName = "received_pack_num")]
public int? ReceivedPackNum { get; set; }
/// <summary>
/// 批次时间
///</summary>
@@ -91,10 +102,13 @@ namespace ZR.Model.MES.wms
/// <summary>
/// 这一批次下的 库存箱子数
/// </summary>
public int Inventory_pack_num { get; set; }
[SugarColumn(IsIgnore = true)]
public int Inventory_pack_num { get; set; }
/// <summary>
/// 这一批次下的 库存零件数
/// </summary>
[SugarColumn(IsIgnore = true)]
public int Inventory_num { get; set; }
}
}