@teamias/rex-design 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +43 -0
- package/dist/components/action-buttons/action-buttons.d.ts +2 -0
- package/dist/components/action-buttons/action-buttons.js +182 -0
- package/dist/components/action-buttons/demo/index.d.ts +2 -0
- package/dist/components/action-buttons/demo/index.js +69 -0
- package/dist/components/action-buttons/index.d.ts +3 -0
- package/dist/components/action-buttons/index.js +3 -0
- package/dist/components/action-buttons/modules/handlerFilter.d.ts +2 -0
- package/dist/components/action-buttons/modules/handlerFilter.js +62 -0
- package/dist/components/action-buttons/types.d.ts +96 -0
- package/dist/components/action-buttons/types.js +3 -0
- package/dist/components/base-form/base-form.d.ts +3 -0
- package/dist/components/base-form/base-form.js +260 -0
- package/dist/components/base-form/demo/index.d.ts +4 -0
- package/dist/components/base-form/demo/index.js +515 -0
- package/dist/components/base-form/index.d.ts +4 -0
- package/dist/components/base-form/index.js +4 -0
- package/dist/components/base-form/locales/en-US.json +21 -0
- package/dist/components/base-form/locales/zh-CN.json +21 -0
- package/dist/components/base-form/locales.index.d.ts +42 -0
- package/dist/components/base-form/locales.index.js +4 -0
- package/dist/components/base-form/modules/dependencyUtils.d.ts +13 -0
- package/dist/components/base-form/modules/dependencyUtils.js +43 -0
- package/dist/components/base-form/modules/handlerData.d.ts +8 -0
- package/dist/components/base-form/modules/handlerData.js +59 -0
- package/dist/components/base-form/modules/renderComponentNode.d.ts +11 -0
- package/dist/components/base-form/modules/renderComponentNode.js +607 -0
- package/dist/components/base-form/modules/valuesToFields.d.ts +10 -0
- package/dist/components/base-form/modules/valuesToFields.js +18 -0
- package/dist/components/base-form/style/index.d.ts +3 -0
- package/dist/components/base-form/style/index.js +8 -0
- package/dist/components/base-form/types.d.ts +181 -0
- package/dist/components/base-form/types.js +10 -0
- package/dist/components/base-list-table/base-list-table.d.ts +33 -0
- package/dist/components/base-list-table/base-list-table.js +292 -0
- package/dist/components/base-list-table/demo/BasicBaseListTable.d.ts +2 -0
- package/dist/components/base-list-table/demo/BasicBaseListTable.js +1469 -0
- package/dist/components/base-list-table/demo/NoData.d.ts +2 -0
- package/dist/components/base-list-table/demo/NoData.js +55 -0
- package/dist/components/base-list-table/demo/TableMaxRowCount.d.ts +2 -0
- package/dist/components/base-list-table/demo/TableMaxRowCount.js +1696 -0
- package/dist/components/base-list-table/demo/VirtualDemo.d.ts +2 -0
- package/dist/components/base-list-table/demo/VirtualDemo.js +548 -0
- package/dist/components/base-list-table/index.d.ts +1 -0
- package/dist/components/base-list-table/index.js +1 -0
- package/dist/components/base-list-table/style/index.d.ts +5 -0
- package/dist/components/base-list-table/style/index.js +17 -0
- package/dist/components/base-table/base-table.d.ts +51 -0
- package/dist/components/base-table/base-table.js +291 -0
- package/dist/components/base-table/components/BaseTableRow.d.ts +1 -0
- package/dist/components/base-table/components/BaseTableRow.js +129 -0
- package/dist/components/base-table/demo/BaseTableAll.d.ts +2 -0
- package/dist/components/base-table/demo/BaseTableAll.js +66 -0
- package/dist/components/base-table/demo/BaseTableBasic.d.ts +2 -0
- package/dist/components/base-table/demo/BaseTableBasic.js +58 -0
- package/dist/components/base-table/demo/BaseTableIndex.d.ts +2 -0
- package/dist/components/base-table/demo/BaseTableIndex.js +57 -0
- package/dist/components/base-table/demo/BaseTableRowSelect.d.ts +2 -0
- package/dist/components/base-table/demo/BaseTableRowSelect.js +45 -0
- package/dist/components/base-table/demo/tableData.d.ts +332 -0
- package/dist/components/base-table/demo/tableData.js +293 -0
- package/dist/components/base-table/index.d.ts +1 -0
- package/dist/components/base-table/index.js +1 -0
- package/dist/components/base-table/style/index.d.ts +3 -0
- package/dist/components/base-table/style/index.js +9 -0
- package/dist/components/data-cell/data-cell.d.ts +3 -0
- package/dist/components/data-cell/data-cell.js +17 -0
- package/dist/components/data-cell/demo/index.d.ts +2 -0
- package/dist/components/data-cell/demo/index.js +332 -0
- package/dist/components/data-cell/index.d.ts +2 -0
- package/dist/components/data-cell/index.js +2 -0
- package/dist/components/data-cell/modules/cellItemMap.d.ts +3 -0
- package/dist/components/data-cell/modules/cellItemMap.js +374 -0
- package/dist/components/data-cell/style/index.d.ts +7 -0
- package/dist/components/data-cell/style/index.js +23 -0
- package/dist/components/data-cell/types.d.ts +192 -0
- package/dist/components/data-cell/types.js +1 -0
- package/dist/components/icons/assets/icon-park--arrow-up.svg +7 -0
- package/dist/components/icons/assets/index.d.ts +4 -0
- package/dist/components/icons/assets/index.js +9 -0
- package/dist/components/icons/assets/svg-spinners--blocks-shuffle-3.svg +21 -0
- package/dist/components/icons/demo/index.d.ts +2 -0
- package/dist/components/icons/demo/index.js +43 -0
- package/dist/components/icons/icons.d.ts +39 -0
- package/dist/components/icons/icons.js +251 -0
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/components/icons/index.js +1 -0
- package/dist/components/icons/style/index.d.ts +2 -0
- package/dist/components/icons/style/index.js +5 -0
- package/dist/components/media-viewer/demo/index.d.ts +2 -0
- package/dist/components/media-viewer/demo/index.js +23 -0
- package/dist/components/media-viewer/index.d.ts +1 -0
- package/dist/components/media-viewer/index.js +1 -0
- package/dist/components/media-viewer/media-viewer.d.ts +48 -0
- package/dist/components/media-viewer/media-viewer.js +119 -0
- package/dist/components/media-viewer/style/index.d.ts +6 -0
- package/dist/components/media-viewer/style/index.js +31 -0
- package/dist/hooks/request-fields-container/demo/index.d.ts +2 -0
- package/dist/hooks/request-fields-container/demo/index.js +36 -0
- package/dist/hooks/request-fields-container/index.d.ts +4 -0
- package/dist/hooks/request-fields-container/index.js +3 -0
- package/dist/hooks/request-fields-container/request-fields-container-context-provider.d.ts +22 -0
- package/dist/hooks/request-fields-container/request-fields-container-context-provider.js +134 -0
- package/dist/hooks/request-fields-container/request-fields-container-context.d.ts +39 -0
- package/dist/hooks/request-fields-container/request-fields-container-context.js +5 -0
- package/dist/hooks/request-fields-container/request-fields-container-hoc.d.ts +4 -0
- package/dist/hooks/request-fields-container/request-fields-container-hoc.js +31 -0
- package/dist/hooks/request-fields-container/use-request-fields-container.d.ts +22 -0
- package/dist/hooks/request-fields-container/use-request-fields-container.js +131 -0
- package/dist/hooks/rex-pro-config-provider/demo/index.d.ts +2 -0
- package/dist/hooks/rex-pro-config-provider/demo/index.js +61 -0
- package/dist/hooks/rex-pro-config-provider/index.d.ts +2 -0
- package/dist/hooks/rex-pro-config-provider/index.js +2 -0
- package/dist/hooks/rex-pro-config-provider/rex-pro-config-context.d.ts +27 -0
- package/dist/hooks/rex-pro-config-provider/rex-pro-config-context.js +33 -0
- package/dist/hooks/rex-pro-config-provider/rex-pro-config-provider.d.ts +6 -0
- package/dist/hooks/rex-pro-config-provider/rex-pro-config-provider.js +24 -0
- package/dist/hooks/rex-pro-config-provider/use-rex-pro-config-provider.d.ts +2 -0
- package/dist/hooks/rex-pro-config-provider/use-rex-pro-config-provider.js +11 -0
- package/dist/hooks/use-state-data/demo/index.d.ts +2 -0
- package/dist/hooks/use-state-data/demo/index.js +135 -0
- package/dist/hooks/use-state-data/index.d.ts +1 -0
- package/dist/hooks/use-state-data/index.js +1 -0
- package/dist/hooks/use-state-data/use-state-data.d.ts +11 -0
- package/dist/hooks/use-state-data/use-state-data.js +64 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -0
- package/dist/types/svg.d.ts +4 -0
- package/dist/utils/locales/en-US.json +13 -0
- package/dist/utils/locales/index.d.ts +26 -0
- package/dist/utils/locales/index.js +4 -0
- package/dist/utils/locales/zh-CN.json +13 -0
- package/package.json +90 -0
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
export declare const tableData: {
|
|
2
|
+
items: ({
|
|
3
|
+
key: string;
|
|
4
|
+
id: {
|
|
5
|
+
type: string;
|
|
6
|
+
props: {
|
|
7
|
+
value: number;
|
|
8
|
+
width: number;
|
|
9
|
+
};
|
|
10
|
+
extra: {
|
|
11
|
+
colSpan: number;
|
|
12
|
+
};
|
|
13
|
+
}[];
|
|
14
|
+
store_name: ({
|
|
15
|
+
type: string;
|
|
16
|
+
props: {
|
|
17
|
+
label: string;
|
|
18
|
+
value: string;
|
|
19
|
+
width: number;
|
|
20
|
+
items?: undefined;
|
|
21
|
+
};
|
|
22
|
+
} | {
|
|
23
|
+
type: string;
|
|
24
|
+
props: {
|
|
25
|
+
label: string;
|
|
26
|
+
items: {
|
|
27
|
+
type: string;
|
|
28
|
+
value: string;
|
|
29
|
+
copyable: boolean;
|
|
30
|
+
tooltip: string;
|
|
31
|
+
style: {};
|
|
32
|
+
}[];
|
|
33
|
+
value?: undefined;
|
|
34
|
+
width?: undefined;
|
|
35
|
+
};
|
|
36
|
+
})[];
|
|
37
|
+
planuser: {
|
|
38
|
+
type: string;
|
|
39
|
+
props: {
|
|
40
|
+
label: string;
|
|
41
|
+
value: string;
|
|
42
|
+
width: number;
|
|
43
|
+
};
|
|
44
|
+
}[];
|
|
45
|
+
label: {
|
|
46
|
+
type: string;
|
|
47
|
+
props: {
|
|
48
|
+
value: string;
|
|
49
|
+
};
|
|
50
|
+
}[];
|
|
51
|
+
detail_id?: undefined;
|
|
52
|
+
is_checkbox?: undefined;
|
|
53
|
+
status_name?: undefined;
|
|
54
|
+
goods_spu_info?: undefined;
|
|
55
|
+
goods_image?: undefined;
|
|
56
|
+
goods_sku_info?: undefined;
|
|
57
|
+
factory?: undefined;
|
|
58
|
+
asin?: undefined;
|
|
59
|
+
goods_sales?: undefined;
|
|
60
|
+
goods_dms?: undefined;
|
|
61
|
+
gross_margin?: undefined;
|
|
62
|
+
goods_rma?: undefined;
|
|
63
|
+
goods_stock?: undefined;
|
|
64
|
+
usable_stock?: undefined;
|
|
65
|
+
having_stock?: undefined;
|
|
66
|
+
unsellable_stock?: undefined;
|
|
67
|
+
plan_quantity?: undefined;
|
|
68
|
+
process_ing_quantity?: undefined;
|
|
69
|
+
ship_wait_quantity?: undefined;
|
|
70
|
+
shiping_num?: undefined;
|
|
71
|
+
overseas_stock?: undefined;
|
|
72
|
+
shiped_error_quantity?: undefined;
|
|
73
|
+
time_info?: undefined;
|
|
74
|
+
p_remark?: undefined;
|
|
75
|
+
quantity?: undefined;
|
|
76
|
+
quantity_modify?: undefined;
|
|
77
|
+
bom_data?: undefined;
|
|
78
|
+
} | {
|
|
79
|
+
key: string;
|
|
80
|
+
id: number;
|
|
81
|
+
detail_id: number;
|
|
82
|
+
is_checkbox: number;
|
|
83
|
+
status_name: ({
|
|
84
|
+
type: string;
|
|
85
|
+
props: {
|
|
86
|
+
value: number;
|
|
87
|
+
};
|
|
88
|
+
extra: {
|
|
89
|
+
rowSpan: number;
|
|
90
|
+
};
|
|
91
|
+
} | {
|
|
92
|
+
type: string;
|
|
93
|
+
props: {
|
|
94
|
+
value: string;
|
|
95
|
+
};
|
|
96
|
+
extra?: undefined;
|
|
97
|
+
})[];
|
|
98
|
+
goods_spu_info: ({
|
|
99
|
+
type: string;
|
|
100
|
+
props: {
|
|
101
|
+
label: string;
|
|
102
|
+
value: {
|
|
103
|
+
type: string;
|
|
104
|
+
props: {
|
|
105
|
+
label: string;
|
|
106
|
+
value: string;
|
|
107
|
+
ellipsis: number;
|
|
108
|
+
copyable: boolean;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
ellipsis?: undefined;
|
|
112
|
+
copyable?: undefined;
|
|
113
|
+
};
|
|
114
|
+
extra: {
|
|
115
|
+
rowSpan: number;
|
|
116
|
+
};
|
|
117
|
+
} | {
|
|
118
|
+
type: string;
|
|
119
|
+
props: {
|
|
120
|
+
label: string;
|
|
121
|
+
value: string;
|
|
122
|
+
ellipsis: number;
|
|
123
|
+
copyable: boolean;
|
|
124
|
+
};
|
|
125
|
+
extra?: undefined;
|
|
126
|
+
} | {
|
|
127
|
+
type: string;
|
|
128
|
+
props: {
|
|
129
|
+
label: string;
|
|
130
|
+
value: string;
|
|
131
|
+
ellipsis?: undefined;
|
|
132
|
+
copyable?: undefined;
|
|
133
|
+
};
|
|
134
|
+
extra?: undefined;
|
|
135
|
+
})[];
|
|
136
|
+
store_name: {
|
|
137
|
+
type: string;
|
|
138
|
+
props: {
|
|
139
|
+
value: string;
|
|
140
|
+
};
|
|
141
|
+
}[];
|
|
142
|
+
goods_image: {
|
|
143
|
+
type: string;
|
|
144
|
+
props: {
|
|
145
|
+
value: string;
|
|
146
|
+
};
|
|
147
|
+
}[];
|
|
148
|
+
goods_sku_info: ({
|
|
149
|
+
type: string;
|
|
150
|
+
props: {
|
|
151
|
+
label: string;
|
|
152
|
+
value: string;
|
|
153
|
+
color?: undefined;
|
|
154
|
+
};
|
|
155
|
+
} | {
|
|
156
|
+
type: string;
|
|
157
|
+
props: {
|
|
158
|
+
value: string;
|
|
159
|
+
label?: undefined;
|
|
160
|
+
color?: undefined;
|
|
161
|
+
};
|
|
162
|
+
} | {
|
|
163
|
+
type: string;
|
|
164
|
+
props: {
|
|
165
|
+
value: string;
|
|
166
|
+
color: string;
|
|
167
|
+
label?: undefined;
|
|
168
|
+
};
|
|
169
|
+
})[];
|
|
170
|
+
planuser: {
|
|
171
|
+
type: string;
|
|
172
|
+
props: {
|
|
173
|
+
value: string;
|
|
174
|
+
};
|
|
175
|
+
}[];
|
|
176
|
+
factory: {
|
|
177
|
+
type: string;
|
|
178
|
+
props: {
|
|
179
|
+
label: string;
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
182
|
+
}[];
|
|
183
|
+
asin: ({
|
|
184
|
+
type: string;
|
|
185
|
+
props: {
|
|
186
|
+
value: string;
|
|
187
|
+
separator?: undefined;
|
|
188
|
+
items?: undefined;
|
|
189
|
+
};
|
|
190
|
+
} | {
|
|
191
|
+
type: string;
|
|
192
|
+
props: {
|
|
193
|
+
separator: string;
|
|
194
|
+
items: ({
|
|
195
|
+
label: string;
|
|
196
|
+
value: string;
|
|
197
|
+
action: string;
|
|
198
|
+
style: {
|
|
199
|
+
color: string;
|
|
200
|
+
};
|
|
201
|
+
} | {
|
|
202
|
+
label: string;
|
|
203
|
+
value: string;
|
|
204
|
+
action: string;
|
|
205
|
+
style?: undefined;
|
|
206
|
+
})[];
|
|
207
|
+
value?: undefined;
|
|
208
|
+
};
|
|
209
|
+
})[];
|
|
210
|
+
goods_sales: {
|
|
211
|
+
type: string;
|
|
212
|
+
props: {
|
|
213
|
+
value: string;
|
|
214
|
+
};
|
|
215
|
+
}[];
|
|
216
|
+
goods_dms: {
|
|
217
|
+
type: string;
|
|
218
|
+
props: {
|
|
219
|
+
value: string;
|
|
220
|
+
};
|
|
221
|
+
}[];
|
|
222
|
+
gross_margin: {
|
|
223
|
+
type: string;
|
|
224
|
+
props: {
|
|
225
|
+
value: string;
|
|
226
|
+
};
|
|
227
|
+
}[];
|
|
228
|
+
goods_rma: {
|
|
229
|
+
type: string;
|
|
230
|
+
props: {
|
|
231
|
+
value: string;
|
|
232
|
+
};
|
|
233
|
+
}[];
|
|
234
|
+
goods_stock: {
|
|
235
|
+
type: string;
|
|
236
|
+
props: {
|
|
237
|
+
value: number;
|
|
238
|
+
};
|
|
239
|
+
}[];
|
|
240
|
+
usable_stock: {
|
|
241
|
+
type: string;
|
|
242
|
+
props: {
|
|
243
|
+
value: number;
|
|
244
|
+
};
|
|
245
|
+
}[];
|
|
246
|
+
having_stock: {
|
|
247
|
+
type: string;
|
|
248
|
+
props: {
|
|
249
|
+
value: number;
|
|
250
|
+
};
|
|
251
|
+
}[];
|
|
252
|
+
unsellable_stock: {
|
|
253
|
+
type: string;
|
|
254
|
+
props: {
|
|
255
|
+
value: number;
|
|
256
|
+
};
|
|
257
|
+
}[];
|
|
258
|
+
plan_quantity: {
|
|
259
|
+
type: string;
|
|
260
|
+
props: {
|
|
261
|
+
value: number;
|
|
262
|
+
};
|
|
263
|
+
}[];
|
|
264
|
+
process_ing_quantity: {
|
|
265
|
+
type: string;
|
|
266
|
+
props: {
|
|
267
|
+
value: number;
|
|
268
|
+
};
|
|
269
|
+
}[];
|
|
270
|
+
ship_wait_quantity: {
|
|
271
|
+
type: string;
|
|
272
|
+
props: {
|
|
273
|
+
value: number;
|
|
274
|
+
};
|
|
275
|
+
}[];
|
|
276
|
+
shiping_num: {
|
|
277
|
+
type: string;
|
|
278
|
+
props: {
|
|
279
|
+
value: number;
|
|
280
|
+
};
|
|
281
|
+
}[];
|
|
282
|
+
overseas_stock: {
|
|
283
|
+
type: string;
|
|
284
|
+
props: {
|
|
285
|
+
value: number;
|
|
286
|
+
};
|
|
287
|
+
}[];
|
|
288
|
+
shiped_error_quantity: {
|
|
289
|
+
type: string;
|
|
290
|
+
props: {
|
|
291
|
+
value: number;
|
|
292
|
+
};
|
|
293
|
+
}[];
|
|
294
|
+
time_info: {
|
|
295
|
+
type: string;
|
|
296
|
+
props: {
|
|
297
|
+
value: string;
|
|
298
|
+
};
|
|
299
|
+
}[];
|
|
300
|
+
p_remark: {
|
|
301
|
+
type: string;
|
|
302
|
+
props: {
|
|
303
|
+
value: string;
|
|
304
|
+
};
|
|
305
|
+
}[];
|
|
306
|
+
quantity: {
|
|
307
|
+
type: string;
|
|
308
|
+
props: {
|
|
309
|
+
value: number;
|
|
310
|
+
};
|
|
311
|
+
}[];
|
|
312
|
+
quantity_modify: {
|
|
313
|
+
type: string;
|
|
314
|
+
props: {
|
|
315
|
+
value: number;
|
|
316
|
+
};
|
|
317
|
+
}[];
|
|
318
|
+
bom_data: {
|
|
319
|
+
type: string;
|
|
320
|
+
props: {
|
|
321
|
+
value: string;
|
|
322
|
+
};
|
|
323
|
+
}[];
|
|
324
|
+
label?: undefined;
|
|
325
|
+
})[];
|
|
326
|
+
page: {
|
|
327
|
+
total_items: number;
|
|
328
|
+
current_page: number;
|
|
329
|
+
page_size: number;
|
|
330
|
+
total_pages: number;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
export var tableData = {
|
|
2
|
+
items: [{
|
|
3
|
+
"key": "parent_1075",
|
|
4
|
+
"id": [{
|
|
5
|
+
"type": "text",
|
|
6
|
+
"props": {
|
|
7
|
+
"value": 1075,
|
|
8
|
+
"width": 200
|
|
9
|
+
},
|
|
10
|
+
"extra": {
|
|
11
|
+
"colSpan": 28
|
|
12
|
+
}
|
|
13
|
+
}],
|
|
14
|
+
"store_name": [{
|
|
15
|
+
"type": "text",
|
|
16
|
+
"props": {
|
|
17
|
+
"label": "目的仓",
|
|
18
|
+
"value": "国内备货仓国内备货仓国内备货仓国内备货仓",
|
|
19
|
+
"width": 200
|
|
20
|
+
}
|
|
21
|
+
}, {
|
|
22
|
+
type: 'group-v2',
|
|
23
|
+
props: {
|
|
24
|
+
label: '目的仓v2',
|
|
25
|
+
items: [{
|
|
26
|
+
type: 'text',
|
|
27
|
+
value: '国内备货仓国内备货仓国内备货仓国内备货仓v2',
|
|
28
|
+
copyable: true,
|
|
29
|
+
tooltip: '国内备货仓国内备货仓\n国内备货仓国内\n备货仓v2',
|
|
30
|
+
style: {
|
|
31
|
+
// maxWidth: '50px',
|
|
32
|
+
}
|
|
33
|
+
}]
|
|
34
|
+
}
|
|
35
|
+
}],
|
|
36
|
+
"planuser": [{
|
|
37
|
+
"type": "text",
|
|
38
|
+
"props": {
|
|
39
|
+
"label": "计划员",
|
|
40
|
+
"value": "",
|
|
41
|
+
"width": 200
|
|
42
|
+
}
|
|
43
|
+
}],
|
|
44
|
+
"label": [{
|
|
45
|
+
"type": "tag",
|
|
46
|
+
"props": {
|
|
47
|
+
"value": "加工"
|
|
48
|
+
}
|
|
49
|
+
}]
|
|
50
|
+
}, {
|
|
51
|
+
"key": "1075_1102",
|
|
52
|
+
"id": 1075,
|
|
53
|
+
"detail_id": 1102,
|
|
54
|
+
"is_checkbox": 2,
|
|
55
|
+
"status_name": [{
|
|
56
|
+
"type": "text",
|
|
57
|
+
"props": {
|
|
58
|
+
"value": 1075
|
|
59
|
+
},
|
|
60
|
+
"extra": {
|
|
61
|
+
"rowSpan": 2
|
|
62
|
+
}
|
|
63
|
+
}, {
|
|
64
|
+
"type": "tag",
|
|
65
|
+
"props": {
|
|
66
|
+
"value": "待处理"
|
|
67
|
+
}
|
|
68
|
+
}],
|
|
69
|
+
"goods_spu_info": [{
|
|
70
|
+
"type": "text",
|
|
71
|
+
"props": {
|
|
72
|
+
"label": "SPU",
|
|
73
|
+
"value": {
|
|
74
|
+
"type": "link",
|
|
75
|
+
"props": {
|
|
76
|
+
"label": "CO576911",
|
|
77
|
+
"value": "/",
|
|
78
|
+
ellipsis: 1,
|
|
79
|
+
copyable: true
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"extra": {
|
|
84
|
+
"rowSpan": 2
|
|
85
|
+
}
|
|
86
|
+
}, {
|
|
87
|
+
"type": "text",
|
|
88
|
+
"props": {
|
|
89
|
+
"label": "品名",
|
|
90
|
+
"value": "跨境新款车载垃圾桶带盖多功能车家两用置物收纳桶迷你汽车垃圾桶",
|
|
91
|
+
ellipsis: 2,
|
|
92
|
+
copyable: true
|
|
93
|
+
}
|
|
94
|
+
}, {
|
|
95
|
+
"type": "text",
|
|
96
|
+
"props": {
|
|
97
|
+
"label": "买手",
|
|
98
|
+
"value": "222"
|
|
99
|
+
}
|
|
100
|
+
}],
|
|
101
|
+
"store_name": [{
|
|
102
|
+
"type": "text",
|
|
103
|
+
"props": {
|
|
104
|
+
"value": "国内备货仓"
|
|
105
|
+
}
|
|
106
|
+
}],
|
|
107
|
+
"goods_image": [{
|
|
108
|
+
"type": "img",
|
|
109
|
+
"props": {
|
|
110
|
+
"value": "http://image.spocoo.com/881a5f295d399a1bfab9cd9a03173801.jpg"
|
|
111
|
+
}
|
|
112
|
+
}],
|
|
113
|
+
"goods_sku_info": [{
|
|
114
|
+
"type": "link",
|
|
115
|
+
"props": {
|
|
116
|
+
"label": "CO576911_01",
|
|
117
|
+
"value": "/"
|
|
118
|
+
}
|
|
119
|
+
}, {
|
|
120
|
+
"type": "text",
|
|
121
|
+
"props": {
|
|
122
|
+
"value": "跨境新款车载垃圾桶带盖多功能车家两用置物收纳桶迷你汽车垃圾桶 黑色"
|
|
123
|
+
}
|
|
124
|
+
}, {
|
|
125
|
+
"type": "tag",
|
|
126
|
+
"props": {
|
|
127
|
+
"value": "加",
|
|
128
|
+
"color": "red"
|
|
129
|
+
}
|
|
130
|
+
}],
|
|
131
|
+
"planuser": [{
|
|
132
|
+
"type": "text",
|
|
133
|
+
"props": {
|
|
134
|
+
"value": ""
|
|
135
|
+
}
|
|
136
|
+
}],
|
|
137
|
+
"factory": [{
|
|
138
|
+
"type": "link",
|
|
139
|
+
"props": {
|
|
140
|
+
"label": "CO576911_01",
|
|
141
|
+
"value": "/"
|
|
142
|
+
}
|
|
143
|
+
}],
|
|
144
|
+
"asin": [{
|
|
145
|
+
"type": "text",
|
|
146
|
+
"props": {
|
|
147
|
+
"value": "0 / 0"
|
|
148
|
+
}
|
|
149
|
+
}, {
|
|
150
|
+
"type": "link-group",
|
|
151
|
+
"props": {
|
|
152
|
+
separator: '----',
|
|
153
|
+
items: [{
|
|
154
|
+
"label": "ssss",
|
|
155
|
+
value: 'http://',
|
|
156
|
+
action: 'url',
|
|
157
|
+
style: {
|
|
158
|
+
color: 'red'
|
|
159
|
+
}
|
|
160
|
+
}, {
|
|
161
|
+
"label": "ssss",
|
|
162
|
+
value: 'http://',
|
|
163
|
+
action: 'url'
|
|
164
|
+
}]
|
|
165
|
+
}
|
|
166
|
+
}],
|
|
167
|
+
"goods_sales": [{
|
|
168
|
+
"type": "text",
|
|
169
|
+
"props": {
|
|
170
|
+
"value": "0 / 0 / 0 / / "
|
|
171
|
+
}
|
|
172
|
+
}],
|
|
173
|
+
"goods_dms": [{
|
|
174
|
+
"type": "text",
|
|
175
|
+
"props": {
|
|
176
|
+
"value": "0 / 0"
|
|
177
|
+
}
|
|
178
|
+
}],
|
|
179
|
+
"gross_margin": [{
|
|
180
|
+
"type": "text",
|
|
181
|
+
"props": {
|
|
182
|
+
"value": "0 / 0 / 0 / 0 / 0"
|
|
183
|
+
}
|
|
184
|
+
}],
|
|
185
|
+
"goods_rma": [{
|
|
186
|
+
"type": "text",
|
|
187
|
+
"props": {
|
|
188
|
+
"value": "0 / 0 / 0 / 0 / 0"
|
|
189
|
+
}
|
|
190
|
+
}],
|
|
191
|
+
"goods_stock": [{
|
|
192
|
+
"type": "text",
|
|
193
|
+
"props": {
|
|
194
|
+
"value": 0
|
|
195
|
+
}
|
|
196
|
+
}],
|
|
197
|
+
"usable_stock": [{
|
|
198
|
+
"type": "text",
|
|
199
|
+
"props": {
|
|
200
|
+
"value": 0
|
|
201
|
+
}
|
|
202
|
+
}],
|
|
203
|
+
"having_stock": [{
|
|
204
|
+
"type": "text",
|
|
205
|
+
"props": {
|
|
206
|
+
"value": 0
|
|
207
|
+
}
|
|
208
|
+
}],
|
|
209
|
+
"unsellable_stock": [{
|
|
210
|
+
"type": "text",
|
|
211
|
+
"props": {
|
|
212
|
+
"value": 0
|
|
213
|
+
}
|
|
214
|
+
}],
|
|
215
|
+
"plan_quantity": [{
|
|
216
|
+
"type": "text",
|
|
217
|
+
"props": {
|
|
218
|
+
"value": 0
|
|
219
|
+
}
|
|
220
|
+
}],
|
|
221
|
+
"process_ing_quantity": [{
|
|
222
|
+
"type": "text",
|
|
223
|
+
"props": {
|
|
224
|
+
"value": 0
|
|
225
|
+
}
|
|
226
|
+
}],
|
|
227
|
+
"ship_wait_quantity": [{
|
|
228
|
+
"type": "text",
|
|
229
|
+
"props": {
|
|
230
|
+
"value": 0
|
|
231
|
+
}
|
|
232
|
+
}],
|
|
233
|
+
"shiping_num": [{
|
|
234
|
+
"type": "text",
|
|
235
|
+
"props": {
|
|
236
|
+
"value": 0
|
|
237
|
+
}
|
|
238
|
+
}],
|
|
239
|
+
"overseas_stock": [{
|
|
240
|
+
"type": "text",
|
|
241
|
+
"props": {
|
|
242
|
+
"value": 0
|
|
243
|
+
}
|
|
244
|
+
}],
|
|
245
|
+
"shiped_error_quantity": [{
|
|
246
|
+
"type": "text",
|
|
247
|
+
"props": {
|
|
248
|
+
"value": 0
|
|
249
|
+
}
|
|
250
|
+
}],
|
|
251
|
+
"time_info": [{
|
|
252
|
+
"type": "text",
|
|
253
|
+
"props": {
|
|
254
|
+
"value": "1970-01-01 08:00:00(黄盛)"
|
|
255
|
+
}
|
|
256
|
+
}, {
|
|
257
|
+
"type": "text",
|
|
258
|
+
"props": {
|
|
259
|
+
"value": "2025-03-12 15:54:26(黄盛)"
|
|
260
|
+
}
|
|
261
|
+
}],
|
|
262
|
+
"p_remark": [{
|
|
263
|
+
"type": "text",
|
|
264
|
+
"props": {
|
|
265
|
+
"value": ""
|
|
266
|
+
}
|
|
267
|
+
}],
|
|
268
|
+
"quantity": [{
|
|
269
|
+
"type": "text",
|
|
270
|
+
"props": {
|
|
271
|
+
"value": 0
|
|
272
|
+
}
|
|
273
|
+
}],
|
|
274
|
+
"quantity_modify": [{
|
|
275
|
+
"type": "text",
|
|
276
|
+
"props": {
|
|
277
|
+
"value": 103
|
|
278
|
+
}
|
|
279
|
+
}],
|
|
280
|
+
"bom_data": [{
|
|
281
|
+
"type": "text",
|
|
282
|
+
"props": {
|
|
283
|
+
"value": "0 / 0"
|
|
284
|
+
}
|
|
285
|
+
}]
|
|
286
|
+
}],
|
|
287
|
+
page: {
|
|
288
|
+
total_items: 2,
|
|
289
|
+
current_page: 0,
|
|
290
|
+
page_size: 0,
|
|
291
|
+
total_pages: 0
|
|
292
|
+
}
|
|
293
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './base-table';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./base-table";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TableParentRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, never>> & string;
|
|
3
|
+
export declare const TableParentRowCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export var TableParentRow = styled.tr.withConfig({
|
|
3
|
+
displayName: "TableParentRow",
|
|
4
|
+
componentId: "rex-design-aaf4__sc-v3ps7s-0"
|
|
5
|
+
})(["&.base-table-parent-row{background:#f4f7fa;> td{background:#f4f7fa !important;}> td:not(.ant-table-selection-column){border-right-color:#f4f7fa !important;}.data-cell-row-text-value{width:auto;white-space:nowrap;}}"]);
|
|
6
|
+
export var TableParentRowCell = styled.td.withConfig({
|
|
7
|
+
displayName: "TableParentRowCell",
|
|
8
|
+
componentId: "rex-design-aaf4__sc-v3ps7s-1"
|
|
9
|
+
})(["&.base-table-parent-row-td{z-index:2;position:sticky !important;border-right-color:#ddd !important;left:0;> div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;}}"]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { cellItemMap } from "./modules/cellItemMap";
|
|
3
|
+
import { Wrapper } from "./style";
|
|
4
|
+
export var DataCell = function DataCell(_ref) {
|
|
5
|
+
var items = _ref.items,
|
|
6
|
+
onClick = _ref.onClick;
|
|
7
|
+
// const arr = items.map(ii => cellItemMap[ii.type](ii, onClick));
|
|
8
|
+
// return arr.map((node, index) => <div key={index} className={`data-cell-row-item ${ii.type}`}>{node}</div>);
|
|
9
|
+
return items.map(function (item, index) {
|
|
10
|
+
var _cellItemMap$item$typ;
|
|
11
|
+
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
12
|
+
key: index,
|
|
13
|
+
style: item.rootStyle,
|
|
14
|
+
className: "data-cell-row-item ".concat(item.type)
|
|
15
|
+
}, (_cellItemMap$item$typ = cellItemMap[item.type]) === null || _cellItemMap$item$typ === void 0 ? void 0 : _cellItemMap$item$typ.call(cellItemMap, item, onClick));
|
|
16
|
+
});
|
|
17
|
+
};
|