2 天以前 3be684af887afe4c0e45f281cc53adfef6f12b78
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/sale/vo/order/ErpSaleOrderRespVO.java
@@ -104,6 +104,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 = "巧克力")