diff --git a/ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMo.cs b/ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMo.cs index ba7b9354..58366665 100644 --- a/ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMo.cs +++ b/ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMo.cs @@ -248,6 +248,10 @@ public partial class PrdMo : BaseEntity /// public int erp_lineno { get; set; } /// + /// erp表体pk值 + /// + public string erp_line_pk { get; set; } + /// /// 工单pk值 /// public string erp_mo_pk { get; set; } diff --git a/ProductionMgr/Tnb.ProductionMgr/MesForErpService.cs b/ProductionMgr/Tnb.ProductionMgr/MesForErpService.cs index a5982343..8d6a5ce1 100644 --- a/ProductionMgr/Tnb.ProductionMgr/MesForErpService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/MesForErpService.cs @@ -101,6 +101,7 @@ namespace Tnb.ProductionMgr item.create_time = DateTime.Now; item.mo_status = DictConst.ToBeScheduledId; item.erp_mo_pk = item.erp_mo_pk; + item.erp_line_pk = item.erp_line_pk; item.erp_lineno = item.erp_lineno; moList.Add(item);