9 小时以前 1b3fd46c7ccbf636208bcf098c5588441bb71f78
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package cn.iocoder.yudao.module.mes.controller.admin.wm.productsales.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - MES 销售出库扫码拣货 Response VO")
@Data
public class MesWmProductSalesScanRespVO {
 
    @Schema(description = "识别类型:PALLET-托盘码,BAG-袋码", example = "BAG")
    private String scanType;
 
    @Schema(description = "扫描的码编号", example = "12")
    private Long codeId;
 
    @Schema(description = "扫描内容(袋码或托盘码)", example = "PC2026081920-0001")
    private String scanContent;
 
    @Schema(description = "物料ID", example = "1")
    private Long itemId;
 
    @Schema(description = "物料编码", example = "ITEM001")
    private String itemCode;
 
    @Schema(description = "物料名称", example = "稻种")
    private String itemName;
 
    @Schema(description = "批次ID", example = "1")
    private Long batchId;
 
    @Schema(description = "批次号", example = "PC2026081920")
    private String batchCode;
 
    @Schema(description = "库存记录ID", example = "1")
    private Long materialStockId;
 
    @Schema(description = "可出库数量", example = "50.00")
    private BigDecimal availableQuantity;
 
    @Schema(description = "本袋/本托实际数量", example = "50.00")
    private BigDecimal scanQuantity;
 
    @Schema(description = "本次出库数量", example = "50.00")
    private BigDecimal outboundQuantity;
 
    @Schema(description = "是否已扫描过(幂等返回已有明细)", example = "false")
    private Boolean alreadyScanned;
 
    @Schema(description = "生成的销售出库明细ID(幂等返回时亦有值)", example = "100")
    private Long detailId;
 
    @Schema(description = "仓库ID", example = "1")
    private Long warehouseId;
 
    @Schema(description = "库区ID", example = "1")
    private Long locationId;
 
    @Schema(description = "库位ID", example = "1")
    private Long areaId;
 
    @Schema(description = "是否托盘展开(托盘码必为 true)", example = "false")
    private Boolean palletExpanded;
 
    @Schema(description = "绑定的袋码数量(托盘展开时返回)", example = "100")
    private Integer bagCount;
 
    @Schema(description = "已累加出库的袋码数量(托盘展开时返回)", example = "0")
    private Integer inboundBagCount;
 
    @Schema(description = "操作信息提示", example = "扫码成功")
    private String message;
 
}