云
2 天以前 704265308b1227dbada5a36b2027b588c062ded2
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productsales/vo/MesWmProductSalesScanReqVO.java
@@ -6,6 +6,7 @@
import lombok.Data;
import java.math.BigDecimal;
import java.util.List;
@Schema(description = "管理后台 - MES 销售出库扫码拣货 Request VO")
@Data
@@ -15,11 +16,17 @@
    @NotNull(message = "销售出库单ID不能为空")
    private Long salesId;
    @Schema(description = "扫描内容(袋码或托盘码)", requiredMode = Schema.RequiredMode.REQUIRED, example = "PC2026081920-0001")
    @Schema(description = "扫描内容(袋码、托盘码或生产批次码)", requiredMode = Schema.RequiredMode.REQUIRED, example = "PC2026081920-0001")
    @NotEmpty(message = "扫描内容不能为空")
    private String scanContent;
    @Schema(description = "本次出库数量(为空则取该袋码/整托全部数量)", example = "50")
    @Schema(description = "本次拣货袋数,必须与所选袋码数量相同", example = "50")
    private BigDecimal quantity;
}
    @jakarta.validation.constraints.Pattern(regexp = "BAG|PALLET|BATCH", message = "扫码类型无效")
    private String scanType;
    @Schema(description = "本次明确选中的袋码 ID;托盘和批次必须选择")
    private List<@NotNull Long> bagIds;
}