【发运配料界面显示将单据数量改为剩余配料数量。

】bug7063
yun-zuoyi
puxiao.liao 5 years ago
parent 423b81609a
commit 0453363336

@ -110,6 +110,7 @@ public class WmsEnumUtil {
/** /**
* *
*/ */
@Deprecated
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PRIORITY { public enum PRIORITY {
NORMAL(1, "正常"), URGENT(2, "紧急"); 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) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ -205,7 +238,8 @@ public class WmsEnumUtil {
RECEIPT(20, "RECEIPT", "处理中"), RECEIPT(20, "RECEIPT", "处理中"),
RECEIPT_FINISH(30, "RECEIPT_FINISH", "已完成"), RECEIPT_FINISH(30, "RECEIPT_FINISH", "已完成"),
CLOSED(40, "CLOSED", "已关闭"), CLOSED(40, "CLOSED", "已关闭"),
CANCELLED(50, "CANCELLED", "已取消"); CANCELLED(50, "CANCELLED", "已取消"),
FINISH_PRODUCT_SHIPING_PICKED(60, "FINISH_PRODUCT_SHIPING_PICKED", "配料完成");
private int value; private int value;
private String code; private String code;

Loading…
Cancel
Save