| | |
| | | package cn.iocoder.yudao.module.erp.controller.admin.purchase.vo.invoice; |
| | | |
| | | import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; |
| | | import cn.iocoder.yudao.framework.excel.core.convert.DictConvert; |
| | | import cn.iocoder.yudao.module.erp.controller.admin.purchase.vo.order.ErpPurchaseOrderRespVO; |
| | | import cn.iocoder.yudao.module.erp.enums.DictTypeConstants; |
| | | import cn.iocoder.yudao.module.system.api.storage.dto.StorageBlobRespDTO; |
| | | import cn.idev.excel.annotation.ExcelIgnoreUnannotated; |
| | | import cn.idev.excel.annotation.ExcelProperty; |
| | |
| | | @ExcelProperty("供应商名称") |
| | | private String supplierName; |
| | | |
| | | @Schema(description = "采购订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "17386") |
| | | @Schema(description = "采购订单编号(主订单,即分摊明细第一张)", example = "17386") |
| | | @ExcelProperty("采购订单编号") |
| | | private Long purchaseOrderId; |
| | | @Schema(description = "采购订单信息") |
| | | private ErpPurchaseOrderRespVO order; |
| | | |
| | | @Schema(description = "关联采购订单号(多张时以 、 拼接)", example = "CGDD20260101001、CGDD20260101002") |
| | | @ExcelProperty("采购订单号") |
| | | private String orderNos; |
| | | @Schema(description = "关联采购订单数量", example = "2") |
| | | private Integer orderCount; |
| | | @Schema(description = "采购订单分摊明细") |
| | | private List<ErpPurchaseInvoiceOrderRespVO> orderAllocations; |
| | | |
| | | @Schema(description = "发票号码", example = "02564178") |
| | | @ExcelProperty("发票号码") |
| | |
| | | @Schema(description = "来票日期", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-02-02") |
| | | @ExcelProperty("来票日期") |
| | | private LocalDateTime invoiceTime; |
| | | |
| | | @Schema(description = "审批状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0") |
| | | @ExcelProperty(value = "审批状态", converter = DictConvert.class) |
| | | @DictFormat(DictTypeConstants.AUDIT_STATUS) |
| | | private Integer auditStatus; |
| | | |
| | | @Schema(description = "工作流编号", example = "1043") |
| | | @ExcelProperty("工作流编号") |
| | | private String processInstanceId; |
| | | |
| | | @Schema(description = "备注", example = "备注") |
| | | @ExcelProperty("备注") |