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
package com.ruoyi.sales.vo;
 
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.sales.pojo.SalesLedgerProduct;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
@Data
public class ShippingNoteVo {
    @Excel(name = "客户名称", cellType = Excel.ColumnType.STRING)
    private String customerName;
 
    @Excel(name = "送货地址", cellType = Excel.ColumnType.STRING)
    private String companyAddress;
 
    @Excel(name = "联系人", cellType = Excel.ColumnType.STRING)
    private String contactPerson;
 
    @Excel(name = "联系电话", cellType = Excel.ColumnType.STRING)
    private String contactPhone;
 
    @Excel(name = "公司电话", cellType = Excel.ColumnType.STRING)
    private String companyPhone;
 
    @Excel(name = "单据编号", cellType = Excel.ColumnType.STRING)
    private String salesContractNo;
 
    @Excel(name = "送货日期", cellType = Excel.ColumnType.STRING)
    private String deliveryDate;
 
    @Excel(name = "产品信息", type = Excel.Type.EXPORT)
    private List<SalesLedgerProductVo> products;
 
    @Excel(name = "合计数量", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal totalQuantity;
 
    @Data
    public static class SalesLedgerProductVo {
        @Excel(name = "序号", cellType = Excel.ColumnType.NUMERIC)
        private Integer serialNumber;
 
        @Excel(name = "物料编号", cellType = Excel.ColumnType.STRING)
        private String materialCode;
 
        @Excel(name = "产品类别", cellType = Excel.ColumnType.STRING)
        private String productCategory;
 
        @Excel(name = "规格型号", cellType = Excel.ColumnType.STRING)
        private String specificationModel;
 
        @Excel(name = "单位", cellType = Excel.ColumnType.STRING)
        private String unit;
 
        @Excel(name = "数量", cellType = Excel.ColumnType.NUMERIC)
        private BigDecimal quantity;
 
        @Excel(name = "订单号", cellType = Excel.ColumnType.STRING)
        private String orderNo;
    }
}