|
|
|
@ -969,9 +969,8 @@ public class WmsEnumUtil {
|
|
|
|
|
INSTOCKED(30, "入库"),
|
|
|
|
|
PICKED(40, "配料"),
|
|
|
|
|
OUT_STOCK(50, "出库"),
|
|
|
|
|
FRAZE(60, "冻结"),
|
|
|
|
|
SCRAPED(70, "报废"),
|
|
|
|
|
COMMING(80, "在途");
|
|
|
|
|
FRAZE(60, "报废"),
|
|
|
|
|
COMMING(70, "在途");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String description;
|
|
|
|
@ -1980,4 +1979,49 @@ public class WmsEnumUtil {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 数据状态
|
|
|
|
|
* 1 启用
|
|
|
|
|
* 2 禁用
|
|
|
|
|
* 3 全部
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum DATA_STATUS {
|
|
|
|
|
ENABLE(1, "启用", "fa fa-success cell-fa fa-check"),
|
|
|
|
|
DISABLE(2, "禁用", "fa fa-disabled cell-fa fa-times-circle"),
|
|
|
|
|
LOCKING(3, "全部", "fa cell-fa fa-lock");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String code;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
DATA_STATUS(int value, String code, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.code = code;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getValue() {
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return code;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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].getCode();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|