optimize(ebom): 优化提示语
This commit is contained in:
parent
87c5567376
commit
1adb6dc3c6
|
|
@ -2173,7 +2173,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
||||||
// }
|
// }
|
||||||
VUtils.isTure(parent.getMaterialNo().startsWith("31")
|
VUtils.isTure(parent.getMaterialNo().startsWith("31")
|
||||||
&& delChildList.stream().anyMatch(d -> !Objects.equals(d.getVirtualPartType(), VirtualPackageTypeEnum.UN_VIRTUAL_PACKAGE.getValue())))
|
&& delChildList.stream().anyMatch(d -> !Objects.equals(d.getVirtualPartType(), VirtualPackageTypeEnum.UN_VIRTUAL_PACKAGE.getValue())))
|
||||||
.throwMessage("不能删除31码下的虚拟包");
|
.throwMessage("请重新生成发货包");
|
||||||
|
|
||||||
//检查有bom数据关系是否可以删?
|
//检查有bom数据关系是否可以删?
|
||||||
// List<BomNewEbomParentVO> check2List = delList.stream().filter(u -> Objects.equals(EBomSourceEnum.FROM_BOM.getValue(), u.getSource())
|
// List<BomNewEbomParentVO> check2List = delList.stream().filter(u -> Objects.equals(EBomSourceEnum.FROM_BOM.getValue(), u.getSource())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue