Browse Source
采购订单前端页面新增导出按钮,新增导出全部和导出选择的前端方法 新增 以供应商和物料为主要数据展示导出的采购订单Vo用于采购订单的导出 采购Controller层新增 导出采购订单子表列表和导出全部采购订单子表列表后端接口 采购订单新增 查询所有可用的采购订单数据后端方法;新增 通过采购订单号数组查询采购订单集合后端方法;新增处理需要导出的采购订单数据后端方法,实现通过使用map,处理采购订单号,绑定采购订单和采购订单子表的关系,然后填充生成 ExportPurchaseOrderVo 列表 采购订单子表新增 通过采购订单号集合查询采购订单子表列表后端方法dev
liuxiaoxu
6 days ago
11 changed files with 352 additions and 27 deletions
@ -0,0 +1,90 @@ |
|||||
|
package com.ruoyi.purchase.domain.Vo; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.ruoyi.common.annotation.Excel; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* 以供应商和物料为主要数据展示导出的采购订单Vo |
||||
|
* */ |
||||
|
@Data |
||||
|
public class ExportPurchaseOrderVo{ |
||||
|
|
||||
|
/** 采购订购单号 */ |
||||
|
@Excel(name = "采购订购单号") |
||||
|
private String purchaseOrderCode; |
||||
|
|
||||
|
/** 供应商ID */ |
||||
|
@Excel(name = "供应商ID") |
||||
|
private String supplierCode; |
||||
|
|
||||
|
/** 供应商名称 */ |
||||
|
@Excel(name = "供应商名称") |
||||
|
private String supplierName; |
||||
|
|
||||
|
/** 不含税总价(RMB) */ |
||||
|
@Excel(name = "不含税总价(RMB)") |
||||
|
private BigDecimal noRmbSum; |
||||
|
|
||||
|
/** 含税总价(RMB) */ |
||||
|
@Excel(name = "含税总价(RMB)") |
||||
|
private BigDecimal rmbSum; |
||||
|
|
||||
|
/** 料号 */ |
||||
|
@Excel(name = "料号") |
||||
|
private String materialNo; |
||||
|
|
||||
|
/** 物料名称 */ |
||||
|
@Excel(name = "物料名称") |
||||
|
private String materialName; |
||||
|
|
||||
|
/** 物料品牌 */ |
||||
|
@Excel(name = "物料品牌") |
||||
|
private String materialBrand; |
||||
|
|
||||
|
/** 物料单位 */ |
||||
|
@Excel(name = "物料单位", dictType = "sys_unit_class") |
||||
|
private String materialUnit; |
||||
|
|
||||
|
/** 物料描述 */ |
||||
|
@Excel(name = "物料描述") |
||||
|
private String materialDescribe; |
||||
|
|
||||
|
/** 物料加工方式 */ |
||||
|
@Excel(name = "物料加工方式", dictType = "processMethod") |
||||
|
private String materialProcessMethod; |
||||
|
|
||||
|
/** 物料型号 */ |
||||
|
@Excel(name = "物料型号") |
||||
|
private String materialModel; |
||||
|
|
||||
|
|
||||
|
/** 物料不含税总价(RMB) */ |
||||
|
@Excel(name = "物料不含税总价") |
||||
|
private BigDecimal materialNormbSum; |
||||
|
|
||||
|
/** 物料含税总价(RMB) */ |
||||
|
@Excel(name = "物料含税总价") |
||||
|
private BigDecimal materialRmbSum; |
||||
|
|
||||
|
/** 计划采购数 */ |
||||
|
@Excel(name = "计划采购数") |
||||
|
private Integer planPurchaseNum; |
||||
|
|
||||
|
/** 实际采购数 */ |
||||
|
@Excel(name = "实际采购数") |
||||
|
private Integer actualPurchaseNum; |
||||
|
|
||||
|
/** 共享库存占用数 */ |
||||
|
@Excel(name = "共享库存占用数") |
||||
|
private Integer sharedInventoryOccupancyNum; |
||||
|
|
||||
|
/** 计划交付时间 */ |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
|
@Excel(name = "计划交付时间", width = 30, dateFormat = "yyyy-MM-dd") |
||||
|
private Date planDeliveryTime; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue