|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.wms.bean;
|
|
|
|
|
package cn.estsh.i3plus.pojo.model.wms;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.wms.bean.WmsOptionModel;
|
|
|
|
|
import cn.estsh.i3plus.pojo.wms.bean.WmsTransType;
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
@ -43,19 +45,7 @@ public class WmsActionResponseBean<Obj> implements Serializable {
|
|
|
|
|
public String message;
|
|
|
|
|
|
|
|
|
|
@ApiParam("列表信息")
|
|
|
|
|
public List<String> informations;
|
|
|
|
|
public List<String> getInformations(){
|
|
|
|
|
if(informations == null){
|
|
|
|
|
informations= new ArrayList<>();
|
|
|
|
|
}
|
|
|
|
|
return informations;
|
|
|
|
|
}
|
|
|
|
|
public void setInformation(List<String> list){
|
|
|
|
|
if(list == null){
|
|
|
|
|
list = new ArrayList<>();
|
|
|
|
|
}
|
|
|
|
|
informations = list;
|
|
|
|
|
}
|
|
|
|
|
public List<WmsMessageStyleModel> informations;
|
|
|
|
|
|
|
|
|
|
@ApiParam("可选项")
|
|
|
|
|
public List<WmsOptionModel> options;
|
|
|
|
@ -88,50 +78,42 @@ public class WmsActionResponseBean<Obj> implements Serializable {
|
|
|
|
|
*/
|
|
|
|
|
@ApiParam(value = "是否需要选择单号")
|
|
|
|
|
public Boolean toSelected = false;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 默认为true,如果这个值为true就禁用按钮否则可用,
|
|
|
|
|
*/
|
|
|
|
|
@ApiParam(value = "按钮是否禁用")
|
|
|
|
|
public Boolean isBtnDisabled = true;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 默认为true,如果这个值为true就禁用按钮否则可用,
|
|
|
|
|
*/
|
|
|
|
|
@ApiParam(value = "按钮是否禁用")
|
|
|
|
|
public Boolean isDetailsBtnDisabled = true;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 默认为true,如果这个值为true就禁用按钮否则可用,
|
|
|
|
|
* 与 toSelected 属性配合使用,
|
|
|
|
|
* 选择数据后把选中行的 keyColumn 字段的值写入界面输入框并触发回车事件
|
|
|
|
|
*/
|
|
|
|
|
@ApiParam(value = "按钮是否禁用")
|
|
|
|
|
public Boolean isCommitBtnDisabled = true;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "关键字段列名")
|
|
|
|
|
public String keyColumn;
|
|
|
|
|
/**
|
|
|
|
|
* 默认为true,如果这个值为true就禁用按钮否则可用,
|
|
|
|
|
*/
|
|
|
|
|
@ApiParam(value = "输入框是否禁用")
|
|
|
|
|
public Boolean isInputBtnDisabled = false;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 与 toSelected 属性配合使用,
|
|
|
|
|
* 选择数据后把选中行的 keyColumn 字段的值写入界面输入框并触发回车事件
|
|
|
|
|
*/
|
|
|
|
|
@ApiParam(value = "关键字段列名")
|
|
|
|
|
public String keyColumn;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "是否完成流程操作")
|
|
|
|
|
public Boolean isComplete = false;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "交易类型信息")
|
|
|
|
|
public WmsTransType wmsTransType;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "是否自动开窗")
|
|
|
|
|
public Boolean isAutoOpenWindow = false;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "正则校验")
|
|
|
|
|
private String regularCheck;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "正则校验失败提示")
|
|
|
|
|
private String regularCheckFailMsg;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "搜索KEY")
|
|
|
|
|
public String searchKey;
|
|
|
|
|
|
|
|
|
|
@ApiParam(value = "分组KEY")
|
|
|
|
|
public String groupKey;
|
|
|
|
|
|
|
|
|
|
public WmsActionResponseBean(Boolean codeStatus, String message) {
|
|
|
|
|
this.codeStatus = codeStatus;
|
|
|
|
|
this.message = message;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WmsActionResponseBean(String percent, String message, List<String> informations, Obj details, Boolean codeStatus, Map<String, Obj> barCode) {
|
|
|
|
|
public WmsActionResponseBean(String percent, String message, List<WmsMessageStyleModel> informations, Obj details, Boolean codeStatus, Map<String, Obj> barCode) {
|
|
|
|
|
this.percent = percent;
|
|
|
|
|
this.message = message;
|
|
|
|
|
this.informations = informations;
|
|
|
|
@ -140,7 +122,7 @@ public class WmsActionResponseBean<Obj> implements Serializable {
|
|
|
|
|
this.barCode = barCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WmsActionResponseBean(String percent, String message, List<String> informations, Obj details, Boolean codeStatus) {
|
|
|
|
|
public WmsActionResponseBean(String percent, String message, List<WmsMessageStyleModel> informations, Obj details, Boolean codeStatus) {
|
|
|
|
|
this.percent = percent;
|
|
|
|
|
this.message = message;
|
|
|
|
|
this.informations = informations;
|
|
|
|
@ -148,8 +130,7 @@ public class WmsActionResponseBean<Obj> implements Serializable {
|
|
|
|
|
this.codeStatus = codeStatus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WmsActionResponseBean(String percent, String message, List<String> informations, Obj details, Boolean codeStatus, Boolean isBtnDisabled) {
|
|
|
|
|
this.isBtnDisabled = isBtnDisabled;
|
|
|
|
|
public WmsActionResponseBean(String percent, String message, List<WmsMessageStyleModel> informations, Obj details, Boolean codeStatus, Boolean isBtnDisabled) {
|
|
|
|
|
this.percent = percent;
|
|
|
|
|
this.message = message;
|
|
|
|
|
this.informations = informations;
|