|
|
package com.glxp.api.res.inout;
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
|
|
|
@Data
|
|
|
@ApiModel("扫码单据列表信息")
|
|
|
public class IoOrderResponse {
|
|
|
@ApiModelProperty(value = "单据ID主键")
|
|
|
private Integer id;
|
|
|
|
|
|
/**
|
|
|
* 单据号
|
|
|
*/
|
|
|
@ApiModelProperty(value = "单据号")
|
|
|
private String billNo;
|
|
|
|
|
|
/**
|
|
|
* 手持终端订单号
|
|
|
*/
|
|
|
private String corpOrderId;
|
|
|
|
|
|
/**
|
|
|
* 主业务类型
|
|
|
*/
|
|
|
private String mainAction;
|
|
|
|
|
|
/**
|
|
|
* 业务类型
|
|
|
*/
|
|
|
private String action;
|
|
|
|
|
|
/**
|
|
|
* 单据类型名称
|
|
|
*/
|
|
|
private String billTypeName;
|
|
|
|
|
|
/**
|
|
|
* 往来单位
|
|
|
*/
|
|
|
private String fromCorp;
|
|
|
|
|
|
/**
|
|
|
* 往来部门
|
|
|
*/
|
|
|
private String fromDeptCode;
|
|
|
|
|
|
/**
|
|
|
* 往来仓库
|
|
|
*/
|
|
|
private String fromInvCode;
|
|
|
|
|
|
/**
|
|
|
* 单据来源(1.UDIMS平台;2.网页新增;3.pda已校验;4.pda未校验;5.pc端扫码精灵)
|
|
|
*/
|
|
|
private Integer fromType;
|
|
|
|
|
|
/**
|
|
|
* 1:草稿;2:已提交待处理;3:处理成功待校验;3:处理异常;4:校验成功待审核;5:校验失败;6:审核通过;7:审核拒绝
|
|
|
*/
|
|
|
private Integer status;
|
|
|
|
|
|
/**
|
|
|
* 1.草稿;2:已提交;3:已审核
|
|
|
*/
|
|
|
private Integer dealStatus;
|
|
|
|
|
|
/**
|
|
|
* -1: "草稿",
|
|
|
* 1: "等待处理",
|
|
|
* 1: "等待处理",
|
|
|
* 2: "等待校验",
|
|
|
* 3: "校验异常",
|
|
|
* 4: "校验成功",
|
|
|
*/
|
|
|
private String checkStatus;
|
|
|
|
|
|
/**
|
|
|
* 创建人
|
|
|
*/
|
|
|
private String createUser;
|
|
|
|
|
|
/**
|
|
|
* 创建时间
|
|
|
*/
|
|
|
private Date createTime;
|
|
|
|
|
|
/**
|
|
|
* 更新人
|
|
|
*/
|
|
|
private String updateUser;
|
|
|
|
|
|
/**
|
|
|
* 更新时间
|
|
|
*/
|
|
|
private Date updateTime;
|
|
|
|
|
|
/**
|
|
|
* 核对时间
|
|
|
*/
|
|
|
private Date checkTime;
|
|
|
|
|
|
/**
|
|
|
* 验收人
|
|
|
*/
|
|
|
private String reviewUser;
|
|
|
|
|
|
/**
|
|
|
* 验收时间
|
|
|
*/
|
|
|
private Date auditTime;
|
|
|
|
|
|
/**
|
|
|
* ID
|
|
|
*/
|
|
|
private Long customerId;
|
|
|
|
|
|
/**
|
|
|
* 部门编码
|
|
|
*/
|
|
|
private String deptCode;
|
|
|
|
|
|
/**
|
|
|
* 仓库编码
|
|
|
*/
|
|
|
private String invCode;
|
|
|
|
|
|
/**
|
|
|
* 单据流转
|
|
|
*/
|
|
|
private Boolean outChangeEnable;
|
|
|
|
|
|
/**
|
|
|
* 单据流转上级单号
|
|
|
*/
|
|
|
private String originUllageSupNo;
|
|
|
|
|
|
/**
|
|
|
* 单据流转下级单号
|
|
|
*/
|
|
|
private String ullageSupNo;
|
|
|
|
|
|
/**
|
|
|
* 平衡补单单号
|
|
|
*/
|
|
|
private String supplementNo;
|
|
|
|
|
|
/**
|
|
|
* 第三方系统单号(提交后返回)
|
|
|
*/
|
|
|
private String thirdBillNo;
|
|
|
|
|
|
/**
|
|
|
* 复制单据单号,多个单号之间使用,隔开
|
|
|
*/
|
|
|
private String replicateNo;
|
|
|
|
|
|
/**
|
|
|
* 单据打印备注
|
|
|
*/
|
|
|
private String printRemark;
|
|
|
|
|
|
/**
|
|
|
* 单据备注
|
|
|
*/
|
|
|
private String remark;
|
|
|
|
|
|
/**
|
|
|
* 创建人名称
|
|
|
*/
|
|
|
private String createUserName;
|
|
|
|
|
|
/**
|
|
|
* 更新人名称
|
|
|
*/
|
|
|
private String updateUserName;
|
|
|
|
|
|
/**
|
|
|
* 审核人名称
|
|
|
*/
|
|
|
private String reviewUserName;
|
|
|
|
|
|
private String checkUserName;
|
|
|
|
|
|
/**
|
|
|
* 往来单位名称
|
|
|
*/
|
|
|
private String fromCorpName;
|
|
|
|
|
|
/**
|
|
|
* 往来仓库名称
|
|
|
*/
|
|
|
private String fromInvName;
|
|
|
|
|
|
/**
|
|
|
* 当前部门名称
|
|
|
*/
|
|
|
private String deptName;
|
|
|
|
|
|
/**
|
|
|
* 当前仓库名称
|
|
|
*/
|
|
|
private String invName;
|
|
|
|
|
|
/**
|
|
|
* 往来名称
|
|
|
*/
|
|
|
private String fromName;
|
|
|
/**
|
|
|
* 单据类型:1.业务单据,2:扫码单据,3.正常处理单据 只有草稿,异常,待处理
|
|
|
*/
|
|
|
private Integer orderType;
|
|
|
private Integer syncStatus;
|
|
|
private String fromReceiveBillNo;
|
|
|
private String fromThrBillNo;
|
|
|
//是否可以补单
|
|
|
private boolean enableSupplementOrder;
|
|
|
|
|
|
private String customerName;
|
|
|
|
|
|
/**
|
|
|
* 导出状态/上传状态(0.未导出,1.已导出,2.导出失败)
|
|
|
*/
|
|
|
private Integer exportStatus;
|
|
|
|
|
|
private Integer deliveryStatus;
|
|
|
private Integer processStatus;
|
|
|
private int inCodeStatus;
|
|
|
|
|
|
private Integer allCout;
|
|
|
|
|
|
private Integer partCount;
|
|
|
|
|
|
//总金额
|
|
|
private BigDecimal allAmount;
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 校验信息
|
|
|
*/
|
|
|
private String errMsg;
|
|
|
|
|
|
|
|
|
private Integer busType; //1:正常;2:送货;3.到货
|
|
|
|
|
|
private String relKey; //关联单据唯一键
|
|
|
private Integer suppleCount; //补单次数
|
|
|
|
|
|
|
|
|
public String getFromName() {
|
|
|
|
|
|
|
|
|
if (StrUtil.isNotEmpty(fromInvName))
|
|
|
return fromInvName;
|
|
|
if (StrUtil.isNotEmpty(fromCorpName))
|
|
|
return fromCorpName;
|
|
|
return fromName;
|
|
|
}
|
|
|
}
|