chengsc
2024-11-03 5ce969ed34e91c931cce38e2feb5d2c208633a96
Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
@@ -3357,9 +3357,9 @@
                    var needQty = detail.Qty - detail.AllotQty;
                    //分配的出库数量
                    var outQty = model.StockList.Select(s => s.Qty).ToList().Sum();
                    if (outQty != needQty)
                    if (outQty < needQty)
                    {
                        throw new Exception("操作失败,出库数量与计划数量不一致!");
                        throw new Exception("操作失败,出库数量不能大于计划数量!");
                    }
                }