package com.ximai.mes.constant;

import java.util.Arrays;
import java.util.List;

public class WorkorderConst {
    // 普通工单
    public static String WORK_ORDER_PRODUCT_TYPE = "product";
    // 打样工单
    public static String WORK_ORDER_PROTO_TYPE = "prototype";
    public static String WORK_ORDER_COMPLEMENTS_TYPE = "complements";
    // RESTRUCTURING
    public static String WORK_ORDER_RESTRUCTURING_TYPE = "restructuring";

    public static List<String> SAP_REBACK01_WORK_ORDER_TYPE_LIST = Arrays.asList("ZB06", "ZB03");

    public static class WorkOrderErrorConst {
        public static String ERROR_1 = "无数据传输";
        public static String ERROR_2 = "bom,无对应产品信息";
        public static String ERROR_3 = "请在抬头传输任务清单组键值或组计数器";
        public static String ERROR_4 = "工序无物料对应信息";
        public static String ERROR_5 = "无匹配生产版本";
        public static String ERROR_6 = "数据已经存在不能存重复添加";
        public static String ERROR_7 = "工单已经排产不能更新";
        public static String ERROR_8 = "工单不存在,无法操作";
        public static String ERROR_9 = "未报工数量不够扣减,无法操作";
        public static String ERROR_10 = "工单已取消或者已完工,无法操作";

    }
}
