schangxiang@126.com
2025-09-17 60dd1afc3e8f94aa1b23211b6738d35b47294382
DEmon/iWareDataCore/BASE/Service/InOutListService.cs
@@ -54,6 +54,15 @@
                {
                    List<BASEInOutListDetail> inldlst = new List<BASEInOutListDetail>();
                    msg = "";
                    //验证单号是否已经存在 【Editby shaocx,2025-09-17】
                    var findInOutList = DbModel.BASEInOutLists.FirstOrDefault(x => x.listno == iol.ListNo);
                    if (findInOutList != null)
                    {
                        msg = $"单号{iol.ListNo}已存在";
                        return -1;
                    }
                    iol.InOutListDetail.ForEach(x => { inldlst.Add(x.ToOrm()); });
                    BASEInOutList biol = new BASEInOutList();
                    biol = iol.ToOrm();