一般出库申请

This commit is contained in:
2023-11-06 10:08:32 +08:00
parent 904135fdec
commit aad4888c14
5 changed files with 168 additions and 3 deletions

View File

@@ -0,0 +1,29 @@
namespace Tnb.ProductionMgr.Entities.Dto
{
public class GeneralOutstockInput
{
/// <summary>
/// 目标库位编号
/// </summary>
public string location_code { get; set; } = string.Empty;
/// 所属工位
/// </summary>
public string? workstation_id { get; set; }
/// <summary>
/// 任务单
/// </summary>
public string? mo_task_id { get; set; }
public List<GeneralOutstockDInput> details { get; set; } = new List<GeneralOutstockDInput>();
}
public class GeneralOutstockDInput
{
public string material_id { get; set; }
public string material_code { get; set; }
public string material_name { get; set; }
public decimal num { get; set; }
}
}

View File

@@ -32,7 +32,7 @@ public partial class PrdOutstockD : BaseEntity<string>
/// <summary>
/// 出库需求数量
/// </summary>
public string? pr_qty { get; set; }
public decimal? pr_qty { get; set; }
/// <summary>
/// 来源单据id