optimize(ebom): 优化提示语

This commit is contained in:
曹鹏飞 2024-07-01 09:47:24 +08:00
parent 87c5567376
commit 1adb6dc3c6
1 changed files with 1 additions and 1 deletions

View File

@ -2173,7 +2173,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
// }
VUtils.isTure(parent.getMaterialNo().startsWith("31")
&& delChildList.stream().anyMatch(d -> !Objects.equals(d.getVirtualPartType(), VirtualPackageTypeEnum.UN_VIRTUAL_PACKAGE.getValue())))
.throwMessage("不能删除31码下的虚拟");
.throwMessage("请重新生成发货");
//检查有bom数据关系是否可以删
// List<BomNewEbomParentVO> check2List = delList.stream().filter(u -> Objects.equals(EBomSourceEnum.FROM_BOM.getValue(), u.getSource())