tuqin
2026-11-03 9494075e6d9d2a4b2b884b4ed740dee0c434734c
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
package cn.iocoder.yudao.module.trade.controller.admin.foreign.vo;
 
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
 
@Schema(description = "管理后台 - 外贸订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TradeForeignOrderRespVO {
 
    @Schema(description = "编号", example = "1024")
    @ExcelProperty("编号")
    private Long id;
    @Schema(description = "外贸订单号", example = "WMDD20260916000001")
    @ExcelProperty("外贸订单号")
    private String no;
 
    @Schema(description = "客户编号")
    private Long customerId;
    @Schema(description = "客户名称")
    @ExcelProperty("客户")
    private String customerName;
    @Schema(description = "业务员用户编号")
    private Long saleUserId;
    @Schema(description = "业务员名称")
    @ExcelProperty("业务员")
    private String saleUserName;
 
    @Schema(description = "订单日期")
    @ExcelProperty("订单日期")
    private LocalDateTime orderTime;
    @Schema(description = "国别")
    @ExcelProperty("国别")
    private String country;
    @Schema(description = "币种")
    @ExcelProperty("币种")
    private String currency;
    @Schema(description = "汇率")
    @ExcelProperty("汇率")
    private BigDecimal exchangeRate;
    @Schema(description = "出货模式")
    private Integer deliveryMode;
    @Schema(description = "出货模式名")
    @ExcelProperty("出货模式")
    private String deliveryModeName;
    @Schema(description = "港口")
    @ExcelProperty("港口")
    private String port;
    @Schema(description = "收汇账期(天)")
    @ExcelProperty("收汇账期")
    private Integer receiveTerm;
    @Schema(description = "关联报价单号")
    @ExcelProperty("关联报价单号")
    private String quotationNo;
    @Schema(description = "港口入库批次号")
    @ExcelProperty("港口入库批次号")
    private String portBatchCode;
 
    @Schema(description = "合计数量")
    @ExcelProperty("合计数量")
    private BigDecimal totalCount;
    @Schema(description = "外币合计")
    @ExcelProperty("外币合计")
    private BigDecimal totalForeignPrice;
    @Schema(description = "人民币合计")
    @ExcelProperty("人民币合计")
    private BigDecimal totalPrice;
 
    @Schema(description = "已收汇外币金额")
    private BigDecimal receivedForeignAmount;
    @Schema(description = "未收汇外币金额")
    private BigDecimal unreceivedForeignAmount;
 
    @Schema(description = "状态")
    private Integer status;
    @Schema(description = "状态名")
    @ExcelProperty("状态")
    private String statusName;
    @Schema(description = "工作流编号")
    private String processInstanceId;
    @Schema(description = "出库状态")
    private Integer outStatus;
    @Schema(description = "已出库数量")
    private BigDecimal outCount;
    @Schema(description = "厂区出库单编号")
    private Long outProductSalesId;
    @Schema(description = "厂区出库单号")
    private String outProductSalesCode;
 
    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;
    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
    @Schema(description = "创建人")
    private String creator;
    @Schema(description = "创建人名字")
    @ExcelProperty("创建人")
    private String creatorName;
 
    @Schema(description = "缺失必填单据数量(0 表示单据齐全)")
    private Integer missingDocCount;
    @Schema(description = "缺失的必填单据名称列表")
    private List<String> missingDocs;
 
    @Schema(description = "明细列表")
    private List<Item> items;
 
    @Schema(description = "外贸订单明细")
    @Data
    public static class Item {
        @Schema(description = "编号")
        private Long id;
        @Schema(description = "物料编号")
        private Long itemId;
        @Schema(description = "物料编码")
        private String itemCode;
        @Schema(description = "物料名称")
        private String itemName;
        @Schema(description = "规格型号")
        private String itemSpecification;
        @Schema(description = "计量单位编号")
        private Long itemUnitId;
        @Schema(description = "计量单位")
        private String itemUnitName;
        @Schema(description = "外币单价")
        private BigDecimal foreignPrice;
        @Schema(description = "汇率")
        private BigDecimal exchangeRate;
        @Schema(description = "人民币单价")
        private BigDecimal itemPrice;
        @Schema(description = "数量")
        private BigDecimal count;
        @Schema(description = "外币小计")
        private BigDecimal totalForeignPrice;
        @Schema(description = "人民币小计")
        private BigDecimal totalPrice;
        @Schema(description = "批次号")
        private String batchCode;
        @Schema(description = "已出库数量")
        private BigDecimal outCount;
        @Schema(description = "备注")
        private String remark;
    }
 
}