|
|
|
@ -110,6 +110,7 @@ public class WmsEnumUtil {
|
|
|
|
|
/**
|
|
|
|
|
* 移库单主表:优先级
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum PRIORITY {
|
|
|
|
|
NORMAL(1, "正常"), URGENT(2, "紧急");
|
|
|
|
@ -142,6 +143,38 @@ public class WmsEnumUtil {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 移库单主表:优先级 (PRIORITY_NEW)
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum PRIORITY_NEW {
|
|
|
|
|
URGENT(1, "紧急"), NORMAL(2, "正常");
|
|
|
|
|
private int value;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
PRIORITY_NEW(int value, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getValue() {
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String valueOf(int val) {
|
|
|
|
|
String tmp = null;
|
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
|
if (values()[i].value == val) {
|
|
|
|
|
tmp = values()[i].description;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 主表信息 单据类型
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
@ -205,7 +238,8 @@ public class WmsEnumUtil {
|
|
|
|
|
RECEIPT(20, "RECEIPT", "处理中"),
|
|
|
|
|
RECEIPT_FINISH(30, "RECEIPT_FINISH", "已完成"),
|
|
|
|
|
CLOSED(40, "CLOSED", "已关闭"),
|
|
|
|
|
CANCELLED(50, "CANCELLED", "已取消");
|
|
|
|
|
CANCELLED(50, "CANCELLED", "已取消"),
|
|
|
|
|
FINISH_PRODUCT_SHIPING_PICKED(60, "FINISH_PRODUCT_SHIPING_PICKED", "配料完成");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String code;
|
|
|
|
@ -925,8 +959,8 @@ public class WmsEnumUtil {
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum TASK_INFO_STATUS {
|
|
|
|
|
CREATE(10, 10, "创建"), FINISH(20, 20, "处理中"),
|
|
|
|
|
FAIL(30, 30, "已处理"), CLOSE(40, 40, "已关闭");
|
|
|
|
|
CREATE(10, 10, "创建"), HANDLEING(20, 20, "处理中"),
|
|
|
|
|
FINISH(30, 30, "已处理"), CLOSE(40, 40, "已关闭");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private int code;
|
|
|
|
@ -981,7 +1015,6 @@ public class WmsEnumUtil {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 业务表:库存条码状态
|
|
|
|
|
* 10=创建,20=质检中,30=待入库,40=入库,50=配料,60=出库,70=报废,80=在途
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum STOCK_SN_STATUS {
|
|
|
|
@ -991,7 +1024,7 @@ public class WmsEnumUtil {
|
|
|
|
|
INSTOCKED(40, "入库"),
|
|
|
|
|
PICKED(50, "配料"),
|
|
|
|
|
OUT_STOCK(60, "出库"),
|
|
|
|
|
//SCRAP(70, "报废"),
|
|
|
|
|
SCRAP(70,"报废"),
|
|
|
|
|
COMMING(80, "在途");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
@ -4656,7 +4689,7 @@ public class WmsEnumUtil {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计划拉动明细表状态创建
|
|
|
|
|
* 计划拉动主表状态创建
|
|
|
|
|
* 默认为 10
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
@ -4709,4 +4742,40 @@ public class WmsEnumUtil {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计划拉动明细表状态创建
|
|
|
|
|
* 默认为 10
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum VENDOR_TYPE {
|
|
|
|
|
VENDOR(10, "供应商"), CARRIERS(20, "承运商");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
VENDOR_TYPE(int value, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getValue() {
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String valueOfDescription(int val) {
|
|
|
|
|
String tmp = null;
|
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
|
if (values()[i].value == val) {
|
|
|
|
|
tmp = values()[i].description;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|