forked from sfms3.0/sfms3.0
12 changed files with 247 additions and 102 deletions
@ -1,8 +0,0 @@ |
|||||
/** |
|
||||
* system 模块下,我们放通用业务,支撑上层的核心业务。 |
|
||||
* 例如说:用户、部门、权限、数据字典等等 |
|
||||
* |
|
||||
* 1. Controller URL:以 /system/ 开头,避免和其它 Module 冲突 |
|
||||
* 2. DataObject 表名:以 system_ 开头,方便在数据库中区分 |
|
||||
*/ |
|
||||
package com.win.module.system; |
|
@ -0,0 +1,113 @@ |
|||||
|
package com.win.module.wms.controller.purchaseclaimRequest.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import com.win.module.wms.enums.DictTypeConstants; |
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
import lombok.experimental.Accessors; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 采购索赔申请子 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@AllArgsConstructor |
||||
|
@NoArgsConstructor |
||||
|
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
||||
|
public class PurchaseclaimRequestImportVO { |
||||
|
|
||||
|
@ExcelProperty("发货单号") |
||||
|
private String asnNumber; |
||||
|
|
||||
|
@ExcelProperty("要货计划单号") |
||||
|
private String ppNumber; |
||||
|
|
||||
|
@ExcelProperty("供应商代码") |
||||
|
private String supplierCode; |
||||
|
|
||||
|
@ExcelProperty("单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@ExcelProperty("业务类型") |
||||
|
private String businessType; |
||||
|
|
||||
|
@ExcelProperty("申请时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime requestTime; |
||||
|
|
||||
|
@ExcelProperty("截止时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime dueTime; |
||||
|
|
||||
|
@ExcelProperty("部门") |
||||
|
private String departmentCode; |
||||
|
|
||||
|
@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(DictTypeConstants.PURCHASE_RETURN_REASON) |
||||
|
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(DictTypeConstants.UOM) |
||||
|
private String uom; |
||||
|
|
||||
|
@ExcelProperty("备注") |
||||
|
private String remark; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue