| | |
| | | @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("合计数量") |
| | | private BigDecimal totalCount; |
| | |
| | | @ExcelProperty("产品信息") |
| | | private String productNames; |
| | | |
| | | @Schema(description = "产品编号信息", example = "MDM001,MDM002") |
| | | @ExcelProperty("产品编号") |
| | | private String productCodes; |
| | | |
| | | // ========== 采购入库 ========== |
| | | |
| | | @Schema(description = "采购入库数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00") |
| | |
| | | @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; |
| | | |