16 小时以前 f61043f70c126c4b464a4ebc7dd635fcf7b679df
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/sale/vo/order/ErpSaleOrderRespVO.java
@@ -2,6 +2,7 @@
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.module.system.api.storage.dto.StorageBlobRespDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
@@ -72,13 +73,12 @@
    @Schema(description = "定金金额,单位:元", requiredMode = Schema.RequiredMode.REQUIRED, example = "7127")
    private BigDecimal depositPrice;
    @Schema(description = "附件地址", example = "https://www.iocoder.cn")
    @ExcelProperty("附件地址")
    private String fileUrl;
    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;
    @Schema(description = "附件列表")
    private List<StorageBlobRespDTO> attachmentList;
    @Schema(description = "创建人", example = "芋道")
    private String creator;
@@ -103,6 +103,25 @@
    @Schema(description = "出库状态", example = "0")
    private Integer outStatus;
    // ========== 发货通知 ==========
    @Schema(description = "是否已生成发货通知单", example = "false")
    private Boolean hasSalesNotice;
    @Schema(description = "是否可以生成发货通知单(有需要生产且未完成的明细时为 false)", example = "true")
    private Boolean canCreateSalesNotice;
    @Schema(description = "是否有需要生产的明细(0=否 1=是)", example = "1")
    private Integer needProduction;
    // ========== 生产关联 ==========
    @Schema(description = "生产状态:0-未完成,1-已完成", example = "1")
    private Integer productionStatus;
    @Schema(description = "生产完成时间")
    private LocalDateTime productionFinishTime;
    @Data
    public static class Item {
@@ -137,6 +156,14 @@
        @Schema(description = "销售出库数量", example = "100.00")
        private BigDecimal outCount;
        // ========== 生产关联 ==========
        @Schema(description = "是否需要生产(0=否 1=是)", example = "1")
        private Integer needProduction;
        @Schema(description = "关联的 MPS 编号", example = "1024")
        private Long mpsId;
        // ========== 关联字段 ==========
        @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "巧克力")