|
|
|
@ -2442,6 +2442,7 @@ public class WmsEnumUtil {
|
|
|
|
|
public enum IMPORT_ORDER_TYPE {
|
|
|
|
|
PO("PO", "要货计划"),
|
|
|
|
|
ASN("ASN", "ASN"),
|
|
|
|
|
INSTRUCTIONS("INSTRUCTIONS", "指令"),
|
|
|
|
|
SCATTERED_OUT("C00", "零星出库指令"),
|
|
|
|
|
SCATTERED_INT("C01", "零星入指令"),
|
|
|
|
|
NC_DISMANTLING_PICKING("C02", "NC拆解领料"),
|
|
|
|
@ -2778,11 +2779,11 @@ public class WmsEnumUtil {
|
|
|
|
|
LOCK_QTY("lockQty", "锁定数量"),
|
|
|
|
|
SCRAP_QTY("scrapQty", "报废数量");
|
|
|
|
|
|
|
|
|
|
private String code;
|
|
|
|
|
private String value;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
STOCK_QUAN_QTY_TYPE(String code, String description) {
|
|
|
|
|
this.code = code;
|
|
|
|
|
STOCK_QUAN_QTY_TYPE(String value, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2791,16 +2792,16 @@ public class WmsEnumUtil {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return code;
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getValue() {
|
|
|
|
|
return code;
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static STOCK_QUAN_QTY_TYPE codeOf(String code) {
|
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
|
if (values()[i].code.equals(code)) {
|
|
|
|
|
if (values()[i].value.equals(code)) {
|
|
|
|
|
return values()[i];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -2810,7 +2811,7 @@ public class WmsEnumUtil {
|
|
|
|
|
public static String getDescription(String code) {
|
|
|
|
|
String tmp = null;
|
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
|
if (values()[i].code == code) {
|
|
|
|
|
if (values()[i].value == code) {
|
|
|
|
|
tmp = values()[i].description;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|