This commit is contained in:
qianjiawei
2023-11-06 17:53:07 +08:00
11 changed files with 462 additions and 7 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

@@ -18,6 +18,7 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
public string parent_id { get; set; }
public string material_id { get; set; }
public string material_code { get; set; }
public string workstation_id { get; set; }
public List<MaterialPreparationPlanDDOutput> children { get; set; } = new List<MaterialPreparationPlanDDOutput>();
}

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