生产任务单代码调整

This commit is contained in:
DEVICE8\12494
2023-05-16 14:16:59 +08:00
parent ed87bd712c
commit e7e2cea7bd
7 changed files with 249 additions and 12 deletions

View File

@@ -33,9 +33,9 @@ namespace Tnb.ProductionMgr.Entities.Dto
/// </summary>
public string mold_type_code { get; set; }
/// <summary>
/// 型腔
/// 可用台
/// </summary>
public int? cavity_qty { get; set; }
public int available_stations { get; set; }
public string mold_id { get; set;}
}
}

View File

@@ -0,0 +1,59 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
{
/// <summary>
/// 组装、包装排产输入参数
/// </summary>
public class PackSchedlingCrInput
{
/// <summary>
/// bom任务集合
/// </summary>
public List<PackSchedlingItem> items{ get; set; }
}
public class PackSchedlingItem
{
/// <summary>
/// 工单Id
/// </summary>
public string mo_id { get; set; }
/// <summary>
/// 生产bomId
/// </summary>
public string bom_id { get; set; }
/// <summary>
/// 工序id
/// </summary>
public string process_id { get; set; }
/// <summary>
/// 产线Id
/// </summary>
public string workline_id { get; set; }
/// <summary>
/// 物料Id
/// </summary>
public string material_id { get; set; }
/// <summary>
/// 生产任务单号
/// </summary>
public string mo_task_code { get; set; }
/// <summary>
/// 物料编码
/// </summary>
public string material_code { get; set; }
/// <summary>
/// 物料名称
/// </summary>
public string material_name { get; set; }
/// <summary>
/// bom产出料数量
/// </summary>
public string qty { get; set; }
}
}

View File

@@ -11,6 +11,14 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
/// </summary>
public class PackingSchedulingListOutput
{
/// <summary>
/// 工单Id
/// </summary>
public string mo_id { get; set; }
/// <summary>
/// 工序Id
/// </summary>
public string process_id { get; set; }
/// <summary>
/// 产线Id
/// </summary>
@@ -24,6 +32,10 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
/// </summary>
public string mo_task_code { get; set; }
/// <summary>
/// 物料Id
/// </summary>
public string material_id { get; set; }
/// <summary>
/// 物料编码
/// </summary>
public string material_code { get; set; }
@@ -32,6 +44,10 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
/// </summary>
public string material_name { get; set; }
/// <summary>
/// 工序名称
/// </summary>
public string process_name { get; set; }
/// <summary>
/// 产出数量
/// </summary>
public string qty { get; set; }

View File

@@ -0,0 +1,46 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
{
/// <summary>
/// 拆解组装包装排产输入参数
/// </summary>
public class UnPackSchedlingInput
{
/// <summary>
/// 工单Id
/// </summary>
public string mo_id { get; set; }
/// <summary>
/// 生产任务Id
/// </summary>
public string mo_task_id { get; set; }
/// <summary>
/// 生产bom Id
/// </summary>
public string bom_id { get; set; }
/// <summary>
/// 产线Id
/// </summary>
public string workline_id { get; set; }
/// <summary>
/// Desc:预计开始时间
/// Default:
/// Nullable:True
/// </summary>
public DateTime? estimated_start_date { get; set; }
/// <summary>
/// Desc:预计结束时间
/// Default:
/// Nullable:True
/// </summary>
public DateTime? estimated_end_date { get; set; }
}
}

View File

@@ -177,6 +177,10 @@ namespace Tnb.ProductionMgr.Entities
/// Nullable:True
/// </summary>
public string modify_id { get; set; }
/// <summary>
/// 模具型号
/// </summary>
public string mold_type_code { get; set; }
}
}