|
|
|
@ -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);
|
|
|
|
|