forked from sfms3.0/sfms3.0
5 changed files with 155 additions and 62 deletions
@ -0,0 +1,89 @@ |
|||
package com.win.module.wms.controller.supplieritem.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.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import lombok.ToString; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
|
|||
/** |
|||
* 采购索赔申请子 Excel VO |
|||
* |
|||
* @author 超级管理员 |
|||
*/ |
|||
@Data |
|||
@ToString(callSuper = true) |
|||
public class SupplieriteamImportErrorVO { |
|||
@ExcelProperty("供应商代码") |
|||
private String supplierCode; |
|||
|
|||
@ExcelProperty("物料代码") |
|||
private String itemCode; |
|||
|
|||
@ExcelProperty("供应商物料代码") |
|||
private String supplierItemCode; |
|||
|
|||
@ExcelProperty(value = "计量单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.UOM) |
|||
private String supplierUom; |
|||
|
|||
@ExcelProperty("转换率") |
|||
private BigDecimal convertRate; |
|||
|
|||
@ExcelProperty(value = "供应商包装单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.PACK_UNIT) |
|||
private String packUnit; |
|||
|
|||
@ExcelProperty("供应商包装数量") |
|||
private BigDecimal packQty; |
|||
|
|||
@ExcelProperty(value = "供应商代替包装单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.PACK_UNIT) |
|||
private String altPackUnit; |
|||
|
|||
@ExcelProperty("供应商代替包装数量") |
|||
private BigDecimal altPackQty; |
|||
|
|||
@ExcelProperty("每器具包装数") |
|||
private Integer packQtyOfContainer; |
|||
|
|||
@ExcelProperty("默认收货仓库") |
|||
private String defaultWarehouseCode; |
|||
|
|||
@ExcelProperty("默认收货库位") |
|||
private String defaultLocationCode; |
|||
|
|||
@ExcelProperty(value = "包装结算方式", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.SETTLEMENT_TYPE) |
|||
private String settlementType; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty("备注") |
|||
private String remark; |
|||
|
|||
@ExcelProperty(value = "导入状态", index = 0) |
|||
private String importStatus; |
|||
|
|||
@ExcelProperty(value = "导入说明", index = 1) |
|||
private String importRemark; |
|||
|
|||
|
|||
} |
Loading…
Reference in new issue