修复bug

This commit is contained in:
18942506660
2023-12-27 11:46:44 +08:00
parent 0e914ae2c1
commit 9c286f7dcb

View File

@@ -233,8 +233,15 @@ namespace WMS.Web.Domain.Entitys
} }
else else
{
foreach (var erpd in d.ErpDetails)
{
erpd.Id = 0;
erpd.DetailId = 0;
}
details_new.Add(d); details_new.Add(d);
} }
}
this.CreateTime = list.Max(o => o.CreateTime);//取最新的时间 this.CreateTime = list.Max(o => o.CreateTime);//取最新的时间
this.OperatorId = creatorId; this.OperatorId = creatorId;
this.OperateTime = DateTime.Now; this.OperateTime = DateTime.Now;