44424 PCN:工单判可疑的码,扫描工单检验通过后,在扫描装配件工步时扫描判可疑码,工单标记为可疑

uat_temp_xw_202502100000_44424
xiangwei.zhang 3 months ago
parent 7526830899
commit f55285ef76

@ -510,7 +510,7 @@ public class MesInputDefectRecordService implements IMesInputDefectRecordService
srcNo = version.getReceiveInventoryPoint();
}
String destLocateNo = getDestLocateNo(model, org);
if(headModel && !Objects.equals(srcNo, destLocateNo)) {
if(!Objects.equals(srcNo, destLocateNo)) {
throw new ImppBusiException(String.format("【%s】该条码需要完成质检,再重新录入电子化检验", model.getSn()));
}
}
@ -643,11 +643,9 @@ public class MesInputDefectRecordService implements IMesInputDefectRecordService
if (version != null) {
srcNo = version.getReceiveInventoryPoint();
}
if (headModel ) {
String destLocateNo = getDestLocateNo(model, org);
if (!Objects.equals(srcNo, destLocateNo)) {
throw new ImppBusiException(String.format("【%s】该条码需要完成质检,再重新录入电子化检验", model.getSn()));
}
String destLocateNo = getDestLocateNo(model, org);
if (!Objects.equals(srcNo, destLocateNo)) {
throw new ImppBusiException(String.format("【%s】该条码需要完成质检,再重新录入电子化检验", model.getSn()));
}
}

Loading…
Cancel
Save