2 天以前 3be684af887afe4c0e45f281cc53adfef6f12b78
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/sale/vo/order/ErpSaleOrderRespVO.java
@@ -98,13 +98,30 @@
    // ========== 销售出库 ==========
    @Schema(description = "销售出库数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
    @Schema(description = "销售出库数量", example = "100.00")
    private BigDecimal outCount;
    // ========== 销售退货(出库)) ==========
    @Schema(description = "出库状态", example = "0")
    private Integer outStatus;
    @Schema(description = "销售退货数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
    private BigDecimal returnCount;
    // ========== 发货通知 ==========
    @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 {
@@ -136,13 +153,16 @@
        // ========== 销售出库 ==========
        @Schema(description = "销售出库数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
        @Schema(description = "销售出库数量", example = "100.00")
        private BigDecimal outCount;
        // ========== 销售退货(入库)) ==========
        // ========== 生产关联 ==========
        @Schema(description = "销售退货数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
        private BigDecimal returnCount;
        @Schema(description = "是否需要生产(0=否 1=是)", example = "1")
        private Integer needProduction;
        @Schema(description = "关联的 MPS 编号", example = "1024")
        private Long mpsId;
        // ========== 关联字段 ==========
@@ -154,8 +174,8 @@
        private String productUnitName;
        @Schema(description = "库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
        private BigDecimal stockCount; // 该字段仅仅在“详情”和“编辑”时使用
        private BigDecimal stockCount; // 该字段仅仅在详情和编辑时使用
    }
}
}