检验位置调整
This commit is contained in:
parent
f8ff0b753d
commit
666007b169
|
@ -74,12 +74,6 @@ public class ChkCanUnApproveRule
|
||||||
ExceptionUtils.wrappBusinessException(message);
|
ExceptionUtils.wrappBusinessException(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
//校验是否已经生成了到货检验单-华丰动力
|
|
||||||
if (isHaveDhjyd(aggVO)) {
|
|
||||||
String vbillcode = aggVO.getHVO().getVbillcode();//到货单单据号
|
|
||||||
ExceptionUtils.wrappBusinessException("到货单"+vbillcode+"已经生成检验单无法收回!");
|
|
||||||
}
|
|
||||||
|
|
||||||
ArriveItemVO[] itemVOArray = aggVO.getBVO();
|
ArriveItemVO[] itemVOArray = aggVO.getBVO();
|
||||||
for (int i = 0; i < itemVOArray.length; i++) {
|
for (int i = 0; i < itemVOArray.length; i++) {
|
||||||
|
|
||||||
|
@ -128,6 +122,13 @@ public class ChkCanUnApproveRule
|
||||||
NCLangRes4VoTransl.getNCLangRes().getStrByID("4004040_0", "04004040-0192"));
|
NCLangRes4VoTransl.getNCLangRes().getStrByID("4004040_0", "04004040-0192"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//校验是否已经生成了到货检验单-华丰动力
|
||||||
|
if (isHaveDhjyd(aggVO)) {
|
||||||
|
String vbillcode = aggVO.getHVO().getVbillcode();//到货单单据号
|
||||||
|
ExceptionUtils.wrappBusinessException("到货单"+vbillcode+"已经生成检验单无法收回!");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<String> getHIDSourceFrom(ArriveVO[] vos, IBillType bt) {
|
private List<String> getHIDSourceFrom(ArriveVO[] vos, IBillType bt) {
|
||||||
|
|
Loading…
Reference in New Issue