|
|
|
@ -52,7 +52,8 @@ public class ProductionPlanServiceImpl implements ProductionPlanService { |
|
|
|
|
|
|
|
private static final String STATUS_PLAN = "已排产"; |
|
|
|
private static final String STATUS_PROCESSING = "进行中"; |
|
|
|
private static final String STATUS_DONE = "已完成"; ////1 |
|
|
|
private static final String STATUS_DONE = "已完成"; |
|
|
|
/// /1 |
|
|
|
private static final String NODE_STATUS_NOT_START = "未开始"; |
|
|
|
private static final String NODE_STATUS_PROCESSING = "进行中"; |
|
|
|
private static final String NODE_STATUS_DONE = "已完成"; |
|
|
|
@ -584,10 +585,18 @@ public class ProductionPlanServiceImpl implements ProductionPlanService { |
|
|
|
nodeList.add(buildNode("pack", "打包", 5)); |
|
|
|
return nodeList; |
|
|
|
} |
|
|
|
nodeList.add(buildNode("stocking", "仓库配料", 1)); |
|
|
|
nodeList.add(buildNode("assy", "组装", 2)); |
|
|
|
nodeList.add(buildNode("inspect", "检验", 3)); |
|
|
|
nodeList.add(buildNode("pack", "打包", 4)); |
|
|
|
if (ORDER_TYPE_RENOVATION.equals(orderType)) { |
|
|
|
nodeList.add(buildNode("stocking", "仓库配料", 1)); |
|
|
|
nodeList.add(buildNode("assy", "组装", 2)); |
|
|
|
nodeList.add(buildNode("inspect", "检验", 3)); |
|
|
|
nodeList.add(buildNode("pack", "打包", 4)); |
|
|
|
return nodeList; |
|
|
|
} |
|
|
|
if (ORDER_TYPE_MACHINING.equals(orderType)) { |
|
|
|
nodeList.add(buildNode("assy", "机加工生产", 1)); |
|
|
|
nodeList.add(buildNode("inspect", "机加工检验", 2)); |
|
|
|
return nodeList; |
|
|
|
} |
|
|
|
return nodeList; |
|
|
|
} |
|
|
|
|
|
|
|
@ -736,18 +745,18 @@ public class ProductionPlanServiceImpl implements ProductionPlanService { |
|
|
|
return null; |
|
|
|
} |
|
|
|
if (ORDER_TYPE_MACHINING.equals(orderType)) { |
|
|
|
if ("stocking".equals(nodeCode)) { |
|
|
|
return "LC_MACHINING_STOCKING"; |
|
|
|
} |
|
|
|
//if ("stocking".equals(nodeCode)) { |
|
|
|
// return "LC_MACHINING_STOCKING"; |
|
|
|
//} |
|
|
|
if ("assy".equals(nodeCode)) { |
|
|
|
return "LC_MACHINING_ASSY"; |
|
|
|
} |
|
|
|
if ("inspect".equals(nodeCode)) { |
|
|
|
return "LC_MACHINING_INSPECT"; |
|
|
|
} |
|
|
|
if ("pack".equals(nodeCode)) { |
|
|
|
return "LC_MACHINING_PACK"; |
|
|
|
} |
|
|
|
//if ("pack".equals(nodeCode)) { |
|
|
|
// return "LC_MACHINING_PACK"; |
|
|
|
//} |
|
|
|
return null; |
|
|
|
} |
|
|
|
return null; |
|
|
|
|