JIS物料拉动 规则校验设置颜色

tags/yfai-mes-ext-v2.3
gsz 8 months ago
parent d02f6ef9fb
commit 286c1c9b59

@ -235,7 +235,11 @@ public class MesPullingOrderInfoService extends BaseMesService<MesPullingOrderIn
pullingOrderPartInfo.setLocation(partInfo.getPullAddr());//todo
pullingOrderPartInfo.setStatus(MesExtEnumUtil.PULL_ORDER_PART_STATUS.UN_SENTED.getValue());///明细已送料为1未送料为0
pullingOrderPartInfo.setCustPartNo(pullingOrder.getCustPartNo());
pullingOrderPartInfo.setColor(10);
if (partInfo.getScanValidationType() == 10) {
pullingOrderPartInfo.setColor(MesExtEnumUtil.PART_PULL_DETAIL_COLOR.WHITE.getCode());
} else {
pullingOrderPartInfo.setColor(MesExtEnumUtil.PART_PULL_DETAIL_COLOR.RED.getCode());
}
pullingOrderPartInfo.setCarSeries(partInfo.getCarSeries());
ConvertBean.serviceModelInitialize(pullingOrderPartInfo, userName);

Loading…
Cancel
Save