| | |
| | | |
| | | @Schema(description = "供应商编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1724") |
| | | private Long supplierId; |
| | | @Schema(description = "供应商名称", example = "芋道") |
| | | @Schema(description = "供应商名称", example = "超级管理员") |
| | | @ExcelProperty("供应商名称") |
| | | private String supplierName; |
| | | |
| | |
| | | @Schema(description = "采购时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @ExcelProperty("采购时间") |
| | | private LocalDateTime orderTime; |
| | | |
| | | // ========== 采购台账 ========== |
| | | |
| | | @Schema(description = "采购类型:1生产 2办公用品 3其他", example = "1") |
| | | @ExcelProperty(value = "采购类型", converter = DictConvert.class) |
| | | @DictFormat(DictTypeConstants.PURCHASE_TYPE) |
| | | private Integer purchaseType; |
| | | |
| | | @Schema(description = "合同号(客户手工输入,不自动生成)", example = "HT2026110001") |
| | | @ExcelProperty("合同号") |
| | | private String contractNo; |
| | | |
| | | @Schema(description = "项目名称(非必填)", example = "1号产线改造") |
| | | @ExcelProperty("项目名称") |
| | | private String projectName; |
| | | |
| | | @Schema(description = "付款日期") |
| | | @ExcelProperty("付款日期") |
| | | private LocalDateTime paymentDate; |
| | | |
| | | @Schema(description = "付款方式:1电汇 2汇票 3现金 4手机支付", example = "1") |
| | | @ExcelProperty(value = "付款方式", converter = DictConvert.class) |
| | | @DictFormat(DictTypeConstants.PAYMENT_METHOD) |
| | | private Integer paymentMethod; |
| | | |
| | | @Schema(description = "合计数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "15663") |
| | | @ExcelProperty("合计数量") |
| | |
| | | |
| | | @Schema(description = "合计税额,单位:元", requiredMode = Schema.RequiredMode.REQUIRED, example = "7127") |
| | | private BigDecimal totalTaxPrice; |
| | | |
| | | @Schema(description = "剩余可开票金额(订单总金额 - 已来票金额),单位:元", example = "100.00") |
| | | private BigDecimal remainInvoicePrice; |
| | | |
| | | @Schema(description = "优惠率,百分比", requiredMode = Schema.RequiredMode.REQUIRED, example = "99.88") |
| | | private BigDecimal discountPercent; |
| | |
| | | @Schema(description = "附件列表") |
| | | private List<StorageBlobRespDTO> attachmentList; |
| | | |
| | | @Schema(description = "创建人", example = "芋道") |
| | | @Schema(description = "创建人", example = "超级管理员") |
| | | private String creator; |
| | | @Schema(description = "创建人名称", example = "芋道") |
| | | @Schema(description = "创建人名称", example = "超级管理员") |
| | | private String creatorName; |
| | | |
| | | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| | |
| | | @Schema(description = "产品信息", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @ExcelProperty("产品信息") |
| | | private String productNames; |
| | | |
| | | @Schema(description = "产品编号信息", example = "MDM001,MDM002") |
| | | @ExcelProperty("产品编号") |
| | | private String productCodes; |
| | | |
| | | // ========== 采购入库 ========== |
| | | |
| | |
| | | @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "3113") |
| | | private Long productId; |
| | | |
| | | @Schema(description = "产品编号(MDM 物料编码)", example = "MDM001") |
| | | private String productCode; |
| | | |
| | | @Schema(description = "产品单位单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "3113") |
| | | private Long productUnitId; |
| | | |
| | |
| | | @Schema(description = "税额,单位:元", example = "100.00") |
| | | private BigDecimal taxPrice; |
| | | |
| | | @Schema(description = "合计产品金额,单位:元", example = "100.00") |
| | | private BigDecimal totalProductPrice; |
| | | |
| | | @Schema(description = "价税合计,单位:元", example = "100.00") |
| | | private BigDecimal totalPrice; |
| | | |
| | | @Schema(description = "备注", example = "随便") |
| | | private String remark; |
| | | |