zhaowc
2025-04-01 1650f3fe1467d21074b597042861c46f3a8c4447
Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs
@@ -1308,13 +1308,13 @@
                //判断物料是否含有类别信息
                if (string.IsNullOrWhiteSpace(sku.CategoryNo))
                {
                    throw new Exception($"物料:{sku.SkuNo}未查询到类别信息");
                    throw new Exception($"物料:{sku.SkuNo}未查询到逻辑库区信息");
                }
                var skuCategory = skuCategoryList.FirstOrDefault(m => m.CategoryNo == sku.CategoryNo);
                if (skuCategory == null)
                {
                    throw new Exception($"未在类别信息中查询到物料:{sku.SkuNo}包含的类别");
                    throw new Exception($"未在逻辑库区中查询到物料:{sku.SkuNo}包含的逻辑库区");
                }
                var areaStr = skuCategory.AreaNo.Split(",");
@@ -2076,13 +2076,13 @@
                    //判断物料是否含有类别信息
                    if (string.IsNullOrWhiteSpace(sku.CategoryNo))
                    {
                        throw new Exception($"物料:{sku.SkuNo}未查询到类别信息");
                        throw new Exception($"物料:{sku.SkuNo}未查询到逻辑库区信息");
                    }
                    var skuCategory = skuCategoryList.FirstOrDefault(m => m.CategoryNo == sku.CategoryNo);
                    if (skuCategory == null)
                    {
                        throw new Exception($"未在类别信息中查询到物料:{sku.SkuNo}包含的类别");
                        throw new Exception($"未在逻辑库区中查询到物料:{sku.SkuNo}包含的逻辑库区");
                    }
                    var areaStr = skuCategory.AreaNo.Split(",");
@@ -3038,13 +3038,13 @@
                    //判断物料是否含有类别信息
                    if (string.IsNullOrWhiteSpace(sku.CategoryNo))
                    {
                        throw new Exception($"物料:{sku.SkuNo}未查询到类别信息");
                        throw new Exception($"物料:{sku.SkuNo}未查询到逻辑库区信息");
                    }
                    var skuCategory = Db.Queryable<SysMaterialCategory>().First(m => m.IsDel == "0" && m.CategoryNo == sku.CategoryNo);
                    if (skuCategory == null)
                    {
                        throw new Exception($"未在类别信息中查询到物料:{sku.SkuNo}包含的类别");
                        throw new Exception($"未在逻辑库区中查询到物料:{sku.SkuNo}包含的逻辑库区");
                    }
                    var areaStr = skuCategory.AreaNo.Split(",");