物料出库申请 + bug

This commit is contained in:
2023-11-07 09:56:32 +08:00
parent 1dbb17f103
commit e394333110
7 changed files with 164 additions and 14 deletions

View File

@@ -0,0 +1,29 @@
namespace Tnb.ProductionMgr.Entities.Dto
{
public class MaterialOutstockInput
{
/// <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<MaterialOutstockDInput> details { get; set; } = new List<MaterialOutstockDInput>();
}
public class MaterialOutstockDInput
{
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

@@ -127,10 +127,6 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
/// </summary>
public string? act_end_date { get; set; }
/// <summary>
/// 挤出件类型
/// </summary>
public string? tube { get; set; }
/// <summary>
/// 最小包装
/// </summary>
public decimal? minpacking { get; set; }
@@ -154,5 +150,10 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
/// 称重点位名称
/// </summary>
public string? weight_name { get; set; }
/// <summary>
/// 物料分类ID
/// </summary>
public string category_id { get; set; } = string.Empty;
}
}