StandardInterface/MES.Service/service/CgthSqManager.cs
@@ -67,7 +67,8 @@ YsFs = dto.Ys_fs, //验收方式 Bz = dto.bz, //备注 Erpid = dto.ERPID, //单据头id CreateDate=DateTime.Now, Ydid=dto.yd_id, CreateDate =DateTime.Now, }; var single = base.GetSingle(it => it.Erpid == entity.Erpid); if (single != null) entity.Id = single.Id; @@ -92,6 +93,7 @@ Eid = dto.eid, //单据头id Flot=dto.flot, //批号 Fmto=dto.fmoto, //计划跟踪号 YdflId = dto.ydfl_id, //源单分录id Quantity = decimal.TryParse(dto.quantity, out var qtyVal) ? qtyVal : null, //数量 };