【 bug 7581 1.在同批次条码提示中增加一个库位。2.同批次按钮做全局变量属性'单库位','单人',如果为'单库位'保持现在逻辑不变,如果为'单人'则显示当前用户责任区下所有同批次条码(不限制库位)】

yun-zuoyi
曾贞一 5 years ago
parent 089a753be6
commit fe72dc26d9

@ -5030,4 +5030,39 @@ public class WmsEnumUtil {
return valueOf(val);
}
}
/**
* -
* 10
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum QUERY_RANGE_TYPE {
LOCATE(10, "库位"), AREA_OWNER(20, "责任区域");
private int value;
private String description;
QUERY_RANGE_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;
}
}
}
Loading…
Cancel
Save