|
|
|
@ -1888,7 +1888,7 @@ public class WmsEnumUtil {
|
|
|
|
|
STEP_SEQ("STEP_SEQ", "步骤调用序号"),
|
|
|
|
|
MOVE_ORDER_NO("MOVE_ORDER_NO", "移库单单号"),
|
|
|
|
|
QC_ORDER_NO("QC_ORDER_NO", "质检单单号"),
|
|
|
|
|
ORDER_NO("ORDER_NO", "盘点主表序号");
|
|
|
|
|
CHECK_ORDER_NO("CHECK_ORDER_NO", "盘点主表序号");
|
|
|
|
|
|
|
|
|
|
private String code;
|
|
|
|
|
private String description;
|
|
|
|
@ -2068,4 +2068,88 @@ public class WmsEnumUtil {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 数据状态
|
|
|
|
|
*/
|
|
|
|
|
@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 description;
|
|
|
|
|
private String code;
|
|
|
|
|
|
|
|
|
|
DATA_STATUS(int value, String code, String description){
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.description = description;
|
|
|
|
|
this.code = code;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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].getDescription();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 打印模板
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum PRINT_TEMPLATE {
|
|
|
|
|
SN_PRINT_TEMPLATE(10, "SN_PRINT_TEMPLATE", "条码打印模板"),
|
|
|
|
|
ORDER_PRINT_TEMPLATE(20, "ORDER_PRINT_TEMPLATE", "订单打印模板"),
|
|
|
|
|
RC_BACK_PRINT_TEMPLATE(30, "RC_BACK_PRINT_TEMPLATE", "收货回执打印模板");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String code;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
PRINT_TEMPLATE(int value, String code, String description){
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.description = description;
|
|
|
|
|
this.code = code;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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].getDescription();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|