|
|
@ -17,78 +17,78 @@ import com.chanko.yunxi.mes.framework.excel.core.convert.DictConvert;
|
|
|
|
public class PurchaseOrderRespVO {
|
|
|
|
public class PurchaseOrderRespVO {
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "自增字段,唯一", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
@Schema(description = "自增字段,唯一", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
@ExcelProperty("自增字段,唯一")
|
|
|
|
|
|
|
|
private Long id;
|
|
|
|
private Long id;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "采购单号", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
@Schema(description = "采购单号", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
@ExcelProperty("采购单号")
|
|
|
|
@ExcelProperty("采购单号")
|
|
|
|
private String purchaseNo;
|
|
|
|
private String purchaseNo;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "创建时间")
|
|
|
|
|
|
|
|
@ExcelProperty("单据日期")
|
|
|
|
|
|
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "供应商id")
|
|
|
|
@Schema(description = "供应商id")
|
|
|
|
@ExcelProperty("供应商id")
|
|
|
|
|
|
|
|
private Long supplierId;
|
|
|
|
private Long supplierId;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "供应商名称")
|
|
|
|
@Schema(description = "供应商名称")
|
|
|
|
@ExcelProperty("供应商")
|
|
|
|
@ExcelProperty("供应商")
|
|
|
|
private String supplierName;
|
|
|
|
private String supplierName;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "采购合同号")
|
|
|
|
|
|
|
|
@ExcelProperty("采购合同号")
|
|
|
|
|
|
|
|
private String contractNo;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "采购单类型,1按物料需求计划采购,2备库采购")
|
|
|
|
@Schema(description = "采购单类型,1按物料需求计划采购,2备库采购")
|
|
|
|
@ExcelProperty(value = "采购单类型,1按物料需求计划采购,2备库采购", converter = DictConvert.class)
|
|
|
|
@ExcelProperty(value = "采购单类型", converter = DictConvert.class)
|
|
|
|
@DictFormat("heli_project_purchase_order_type") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
|
|
|
@DictFormat("heli_project_purchase_order_type") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
|
|
|
private Integer purchaseType;
|
|
|
|
private Integer purchaseType;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "供应商id")
|
|
|
|
|
|
|
|
@ExcelProperty("供应商id")
|
|
|
|
|
|
|
|
private Long projectMaterialPlanId;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "物料需求计划单号")
|
|
|
|
@Schema(description = "物料需求计划单号")
|
|
|
|
@ExcelProperty("物料需求计划单号")
|
|
|
|
@ExcelProperty("物料需求计划单号")
|
|
|
|
private String materialPlanNp;
|
|
|
|
private String materialPlanNo;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "采购物类型,1物料,2加工件", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
@Schema(description = "采购物类型,1物料,2加工件", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
@ExcelProperty(value = "采购物类型,1物料,2加工件", converter = DictConvert.class)
|
|
|
|
@ExcelProperty(value = "采购物料类型", converter = DictConvert.class)
|
|
|
|
@DictFormat("heli_project_purchase_goods_type") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
|
|
|
@DictFormat("heli_project_purchase_goods_type") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
|
|
|
private Integer goodsType;
|
|
|
|
private Integer goodsType;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "采购合同号")
|
|
|
|
|
|
|
|
@ExcelProperty("采购合同号")
|
|
|
|
|
|
|
|
private String contractNo;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "物料需求计划id")
|
|
|
|
|
|
|
|
private Long projectMaterialPlanId;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "结算币种")
|
|
|
|
@Schema(description = "结算币种")
|
|
|
|
@ExcelProperty("结算币种")
|
|
|
|
@ExcelProperty(value ="结算币种",converter = DictConvert.class)
|
|
|
|
|
|
|
|
@DictFormat("heli_currency")
|
|
|
|
private Integer currencyType;
|
|
|
|
private Integer currencyType;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "税率")
|
|
|
|
|
|
|
|
@ExcelProperty("税率")
|
|
|
|
|
|
|
|
private Integer taxRatio;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "暂估价金额")
|
|
|
|
@Schema(description = "暂估价金额")
|
|
|
|
@ExcelProperty("暂估价金额")
|
|
|
|
@ExcelProperty("暂估价金额(元)")
|
|
|
|
private BigDecimal estimatedPrice;
|
|
|
|
private BigDecimal estimatedPrice;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "实际价金额")
|
|
|
|
@Schema(description = "实际价金额")
|
|
|
|
@ExcelProperty("实际价金额")
|
|
|
|
@ExcelProperty("实际价金额(元)")
|
|
|
|
private BigDecimal actualPrice;
|
|
|
|
private BigDecimal actualPrice;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "税率")
|
|
|
|
|
|
|
|
@ExcelProperty("税率(%)")
|
|
|
|
|
|
|
|
private Integer taxRatio;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "状态,1已保存,2已送审,3已审核,4已打回 ,默认是1")
|
|
|
|
@Schema(description = "状态,1已保存,2已送审,3已审核,4已打回 ,默认是1")
|
|
|
|
@ExcelProperty(value = "状态,1已保存,2已送审,3已审核,4已打回 ,默认是1", converter = DictConvert.class)
|
|
|
|
@ExcelProperty(value = "单据状态", converter = DictConvert.class)
|
|
|
|
@DictFormat("heli_purchase_order_status") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
|
|
|
@DictFormat("heli_purchase_order_status") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
|
|
|
private Integer status;
|
|
|
|
private Integer status;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "送审人")
|
|
|
|
@Schema(description = "送审人")
|
|
|
|
@ExcelProperty("送审人")
|
|
|
|
|
|
|
|
private Long submitUserId;
|
|
|
|
private Long submitUserId;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "送审时间")
|
|
|
|
@Schema(description = "送审时间")
|
|
|
|
@ExcelProperty("送审时间")
|
|
|
|
|
|
|
|
private LocalDateTime submitTime;
|
|
|
|
private LocalDateTime submitTime;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "审核人")
|
|
|
|
@Schema(description = "审核人")
|
|
|
|
@ExcelProperty("审核人")
|
|
|
|
|
|
|
|
private Long auditor;
|
|
|
|
private Long auditor;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "审核时间")
|
|
|
|
@Schema(description = "审核时间")
|
|
|
|
@ExcelProperty("审核时间")
|
|
|
|
|
|
|
|
private LocalDateTime auditTime;
|
|
|
|
private LocalDateTime auditTime;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "备注")
|
|
|
|
@Schema(description = "备注")
|
|
|
@ -96,11 +96,8 @@ public class PurchaseOrderRespVO {
|
|
|
|
private String description;
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "创建者")
|
|
|
|
@Schema(description = "创建者")
|
|
|
|
@ExcelProperty("创建者")
|
|
|
|
|
|
|
|
private String creator;
|
|
|
|
private String creator;
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "创建时间")
|
|
|
|
|
|
|
|
@ExcelProperty("创建时间")
|
|
|
|
|
|
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|