hao
2025-06-03 0747214832e5a0fa8474ea244df70e5a4594b225
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,        //数量
                };