constant.ts
3.72 KB
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
export const MAIN_ORDER_COLUMNS = [
{
title: '订单列表',
width: 120,
dataIndex: 'name',
search: false,
},
{
title: '订单编号',
dataIndex: 'id',
valueType: 'text',
hideInTable: true,
},
{
title: '销售代表',
dataIndex: 'salesCode',
valueType: 'text',
hideInTable: true,
},
{
title: '收货人',
dataIndex: 'customerName',
valueType: 'text',
hideInTable: true,
},
{
title: '收货人联系电话',
dataIndex: 'customerContactNumber',
valueType: 'text',
hideInTable: true,
},
{
title: '单位',
dataIndex: 'institution',
valueType: 'text',
hideInTable: true,
},
{
title: '单位联系人',
dataIndex: 'institutionContactName',
valueType: 'text',
hideInTable: true,
},
{
title: '收货人地址',
dataIndex: 'customerShippingAddress',
valueType: 'text',
hideInTable: true,
},
{
title: '商品名称',
dataIndex: 'productName',
valueType: 'text',
hideInTable: true,
},
{
title: '商品参数',
dataIndex: 'parameters',
valueType: 'text',
hideInTable: true,
},
{
title: '订单状态',
dataIndex: 'orderStatus',
valueType: 'text',
hideInTable: true,
},
{
title: '支付方式',
dataIndex: 'paymentStatus',
valueType: 'text',
hideInTable: true,
},
{
title: '物流方式',
dataIndex: 'logisticsMethod',
valueType: 'text',
hideInTable: true,
},
{
title: '支付渠道',
dataIndex: 'paymentChannel',
valueType: 'text',
hideInTable: true,
},
{
title: '银行名称',
dataIndex: 'bank',
valueType: 'text',
hideInTable: true,
},
{
title: '支付流水',
dataIndex: 'paymentTransactionId',
valueType: 'text',
hideInTable: true,
},
{
title: '所属部门',
dataIndex: 'productBelongBusiness',
valueType: 'text',
hideInTable: true,
},
{
title: '创建日期',
dataIndex: 'createTime',
valueType: 'dateRange',
hideInTable: true,
search: {
transform: (value) => {
return {
startTime: value[0],
endTime: value[1],
};
},
},
},
{
title: '开票状态',
dataIndex: 'invoicingStatus',
valueType: 'text',
hideInTable: true,
},
{
title: '开票日期',
dataIndex: 'invoicingTime',
valueType: 'dateRange',
hideInTable: true,
search: {
transform: (value) => {
return {
startTime: value[0],
endTime: value[1],
};
},
},
},
];
export const SUB_ORDER_COLUMNS = [
{ title: 'ID', dataIndex: 'id', key: 'id' },
{ title: '商品编码', dataIndex: 'productCode', key: 'productCode' },
{ title: '商品名称', dataIndex: 'productName', key: 'productName' },
{ title: '商品参数', dataIndex: 'parameters', key: 'parameters' },
{ title: '商品数量', dataIndex: 'quantity', key: 'quantity' },
{
title: '子订单金额(¥)',
dataIndex: 'subOrderPayment',
key: 'subOrderPayment',
},
{
title: '支付方式',
dataIndex: 'paymentMethod',
key: 'paymentMethod',
},
{
title: '支付渠道',
dataIndex: 'paymentChannel',
key: 'paymentChannel',
},
{
title: '支付流水',
dataIndex: 'paymentTransactionId',
key: 'paymentTransactionId',
},
{
title: '物流方式',
dataIndex: 'logisticsMethod',
key: 'logisticsMethod',
},
{ title: '物流单号', dataIndex: 'serialNumber', key: 'serialNumber' },
{
title: '开票状态',
dataIndex: 'invoicingStatus',
key: 'invoicingStatus',
component: 'tag',
},
{
title: '订单状态',
dataIndex: 'orderStatus',
key: 'orderStatus',
component: 'tag',
},
];