SET 单位不确认
This commit is contained in:
parent
12fa508e49
commit
ee18b73cfb
|
|
@ -138,7 +138,7 @@ public class CheckEBomException {
|
||||||
&& !Objects.equals(vo.getUserRootIs(), 1) && !Objects.equals(vo.getRootIsForWaitReview(), 1)) {
|
&& !Objects.equals(vo.getUserRootIs(), 1) && !Objects.equals(vo.getRootIsForWaitReview(), 1)) {
|
||||||
vo.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_8.getValue());
|
vo.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_8.getValue());
|
||||||
} else if ((!StrUtil.equals("KG", StringUtil.toUpperCase(vo.getMaterialUnit()))
|
} else if ((!StrUtil.equals("KG", StringUtil.toUpperCase(vo.getMaterialUnit()))
|
||||||
&& !StrUtil.equals(StringUtil.toUpperCase(vo.getMaterialUnit()), "PC"))
|
&& !StrUtil.equals(StringUtil.toUpperCase(vo.getMaterialUnit()), "PC") && !StrUtil.equals(StringUtil.toUpperCase(vo.getMaterialUnit()), "SET") )
|
||||||
&& (StrUtil.isBlank(vo.getExceptionTag()) || (!vo.getExceptionTag().contains("16")) && !vo.getExceptionTag().contains("12"))
|
&& (StrUtil.isBlank(vo.getExceptionTag()) || (!vo.getExceptionTag().contains("16")) && !vo.getExceptionTag().contains("12"))
|
||||||
&& Objects.equals(vo.getSource(), EBomSourceEnum.FROM_BOM.getValue())) {
|
&& Objects.equals(vo.getSource(), EBomSourceEnum.FROM_BOM.getValue())) {
|
||||||
vo.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_12.getValue());
|
vo.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_12.getValue());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue