forked from sfms3.0/sfms3.0
5 changed files with 179 additions and 9 deletions
@ -0,0 +1,107 @@ |
|||||
|
package com.win.module.wms.controller.purchaseclaimRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 采购索赔申请子 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PurchaseclaimRequestDetailImportVO { |
||||
|
|
||||
|
@ExcelProperty("发货单号") |
||||
|
private String asnNumber; |
||||
|
|
||||
|
@ExcelProperty("要货计划单号") |
||||
|
private String ppNumber; |
||||
|
|
||||
|
@ExcelProperty("供应商代码") |
||||
|
private String supplierCode; |
||||
|
|
||||
|
@ExcelProperty("单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@ExcelProperty("业务类型") |
||||
|
private String businessType; |
||||
|
|
||||
|
@ExcelProperty("申请时间") |
||||
|
private LocalDateTime requestTime; |
||||
|
|
||||
|
@ExcelProperty("截止时间") |
||||
|
private LocalDateTime dueTime; |
||||
|
|
||||
|
@ExcelProperty("部门") |
||||
|
private String departmentCode; |
||||
|
|
||||
|
@ExcelProperty(value = "状态", converter = DictConvert.class) |
||||
|
@DictFormat("request_status") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
||||
|
private String status; |
||||
|
|
||||
|
@ExcelProperty("自动提交") |
||||
|
private String autoCommit; |
||||
|
|
||||
|
@ExcelProperty("自动通过") |
||||
|
private String autoAgree; |
||||
|
|
||||
|
@ExcelProperty("自动执行") |
||||
|
private String autoExecute; |
||||
|
|
||||
|
@ExcelProperty("直接生成记录") |
||||
|
private String directCreateRecord; |
||||
|
|
||||
|
@ExcelProperty("批次") |
||||
|
private String batch; |
||||
|
|
||||
|
@ExcelProperty("替代批次") |
||||
|
private String altBatch; |
||||
|
|
||||
|
@ExcelProperty("订单号") |
||||
|
private String poNumber; |
||||
|
|
||||
|
@ExcelProperty("订单行") |
||||
|
private String poLine; |
||||
|
|
||||
|
@ExcelProperty(value = "原因", converter = DictConvert.class) |
||||
|
@DictFormat("purchase_return_reason") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
||||
|
private String reason; |
||||
|
|
||||
|
@ExcelProperty("单价") |
||||
|
private BigDecimal singlePrice; |
||||
|
|
||||
|
@ExcelProperty("金额") |
||||
|
private BigDecimal amount; |
||||
|
|
||||
|
@ExcelProperty("物品代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@ExcelProperty("物品名称") |
||||
|
private String itemName; |
||||
|
|
||||
|
@ExcelProperty("物品描述1") |
||||
|
private String itemDesc1; |
||||
|
|
||||
|
@ExcelProperty("物品描述2") |
||||
|
private String itemDesc2; |
||||
|
|
||||
|
@ExcelProperty("项目代码") |
||||
|
private String projectCode; |
||||
|
|
||||
|
@ExcelProperty("数量") |
||||
|
private BigDecimal qty; |
||||
|
|
||||
|
@ExcelProperty(value = "计量单位", converter = DictConvert.class) |
||||
|
@DictFormat("uom") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
||||
|
private String uom; |
||||
|
|
||||
|
@ExcelProperty("备注") |
||||
|
private String remark; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue