gaoluyang
2026-10-30 685fd776aa5e0afefcd233f3ee2e12fc217fda62
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/sale/vo/order/ErpSaleOrderSaveReqVO.java
@@ -2,6 +2,7 @@
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;
import java.math.BigDecimal;
@@ -41,11 +42,11 @@
    @Schema(description = "定金金额,单位:元", example = "7127")
    private BigDecimal depositPrice;
    @Schema(description = "附件地址", example = "https://www.iocoder.cn")
    private String fileUrl;
    @Schema(description = "备注", example = "你猜")
    private String remark;
    @Schema(description = "附件 blobId 列表", example = "[1, 2, 3]")
    private List<Long> blobIds;
    @Schema(description = "订单清单列表")
    private List<Item> items;
@@ -59,6 +60,10 @@
        @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "3113")
        @NotNull(message = "产品编号不能为空")
        private Long productId;
        @Schema(description = "销售产品明细手工录入的盘号")
        @Size(max = 128, message = "盘号不能超过128个字符")
        private String reelNo;
        @Schema(description = "产品单位单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "3113")
        @NotNull(message = "产品单位单位不能为空")
@@ -74,9 +79,12 @@
        @Schema(description = "税率,百分比", example = "99.88")
        private BigDecimal taxPercent;
        @Schema(description = "是否需要生产(0=否 1=是)", example = "1")
        private Integer needProduction;
        @Schema(description = "备注", example = "随便")
        private String remark;
    }
}
}