|
|
|
@ -138,8 +138,11 @@ public class MesSortShippingCheckService implements IMesSortShippingCheckService
|
|
|
|
|
if (!Objects.isNull(model.getIsPass()) && Objects.equals(MesPcnExtConstWords.ONE, model.getIsPass())) {
|
|
|
|
|
skipShippingDetails(model, model.getUserInfo(), orderManagement);
|
|
|
|
|
//扫描条码
|
|
|
|
|
} else{
|
|
|
|
|
model = ((IMesShippingScanStrategyService) SpringContextsUtil.getBean(MesExtEnumUtil.SHIPPING_GROUP_CONFIRM_PART_TYPE.valueOfServiceImpl(Integer.parseInt(shippingGroup.getConfirmPartType())))).doScan(model,orderManagement,shippingGroup);
|
|
|
|
|
} else {
|
|
|
|
|
if (StringUtils.isEmpty(shippingGroup.getConfirmPartType())) {
|
|
|
|
|
MesPcnException.throwMesBusiException("零件发运组【%s】扫描确认方式未维护,请检查数据!");
|
|
|
|
|
}
|
|
|
|
|
model = ((IMesShippingScanStrategyService) SpringContextsUtil.getBean(MesExtEnumUtil.SHIPPING_GROUP_CONFIRM_PART_TYPE.valueOfServiceImpl(Integer.parseInt(shippingGroup.getConfirmPartType())))).doScan(model, orderManagement, shippingGroup);
|
|
|
|
|
}
|
|
|
|
|
model.setDetailList(model.getDetailList());
|
|
|
|
|
//当前发运单全部扫描完成 并且不需要扫位置码
|
|
|
|
|