|
@@ -116,7 +116,8 @@ public class InOutStorageBomServiceImpl extends ServiceImpl<InOutStorageBomMappe
|
|
|
|| ObjectUtil.equals(item.getDetailType(), InDetailTypeEnum.GIVE_BACK.getKey()))) {
|
|
|
return true;
|
|
|
} else if (ObjectUtil.equals(dto.getType(), InOutTypeEnum.OUT.getKey())
|
|
|
- && ObjectUtil.equals(item.getDetailType(), OutDetailTypeEnum.PRODUCTION.getKey())) {
|
|
|
+ && (ObjectUtil.equals(item.getDetailType(), OutDetailTypeEnum.PRODUCTION.getKey())
|
|
|
+ || ObjectUtil.equals(item.getDetailType(), OutDetailTypeEnum.ALLOT.getKey()))) {
|
|
|
return true;
|
|
|
}
|
|
|
return false;
|