盘点物料库存查询和数量提交

This commit is contained in:
2024-10-31 18:11:49 +08:00
parent b750f2a981
commit 55d79652ba
6 changed files with 369 additions and 1 deletions

View File

@@ -26,4 +26,131 @@ namespace Tnb.WarehouseMgr.Entities.Dto.Inputs
public string location_id { get; set; }
}
/// <summary>
/// 盘点物料查询数量明细
/// </summary>
public class WmsInventoryCheckQtyInput
{
/// <summary>
/// 仓库id
/// </summary>
public string warehouse_id { get; set; }
/// <summary>
/// 物料id
/// </summary>
public string material_id { get; set; }
/// <summary>
/// 批次号
/// </summary>
public string code_batch { get; set; }
}
/// <summary>
/// 盘点物料查询数量明细返回
/// </summary>
public class WmsInventoryCheckSearchOut
{
/// <summary>
/// 物料id
/// </summary>
public string material_id { get; set; }
/// <summary>
/// 物料编码
/// </summary>
public string material_code { get;set; }
/// <summary>
/// 物料名称
/// </summary>
public string material_name { get;set; }
/// <summary>
/// 库位id
/// </summary>
public string location_id { get;set; }
/// <summary>
/// 库位编码
/// </summary>
public string location_code { get; set; }
/// <summary>
/// 批次
/// </summary>
public string code_batch { get;set; }
/// <summary>
/// 物料数量
/// </summary>
public decimal? qty { get; set; }
/// <summary>
/// 物料型号
/// </summary>
public string material_standard { get; set; }
/// <summary>
/// 物料规格
/// </summary>
public string material_specifition { get; set; }
/// <summary>
/// 载具id
/// </summary>
public string carry_id { get; set; }
/// <summary>
/// 载具编号
/// </summary>
public string carry_code { get; set; }
}
/// <summary>
/// 盘点提交
/// </summary>
public class WmsInventoryCheckDSubmitInput
{
/// <summary>
/// 盘点单明细id
/// </summary>
public string checkd_bill_id { get;set; }
public List<WmsInventoryCheckListSubmitInput> details { get; set; }
}
/// <summary>
/// 盘点提交明细列表
/// </summary>
public class WmsInventoryCheckListSubmitInput
{
/// <summary>
/// 物料id
/// </summary>
public string material_id { get;set; }
/// <summary>
/// 批次号
/// </summary>
public string code_batch { get; set; }
/// <summary>
/// 查询数量
/// </summary>
public decimal? qty { get;set; }
/// <summary>
/// 盘点实际数量
/// </summary>
public decimal? check_qty { get; set; }
/// <summary>
/// 库位id
/// </summary>
public string location_id { get; set; }
/// <summary>
/// 库位编码
/// </summary>
public string location_code { get; set; }
/// <summary>
/// 载具id
/// </summary>
public string carry_id { get; set; }
/// <summary>
/// 载具编码
/// </summary>
public string carry_code { get; set; }
}
}