contentoh-components-library 21.2.16 → 21.2.19
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/dist/components/organisms/DashboardMetric/index.js +3 -3
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +195 -53
- package/dist/components/pages/RetailerProductEdition/index.js +4 -4
- package/package.json +1 -1
- package/src/components/organisms/DashboardMetric/index.js +4 -7
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +497 -52
- package/src/components/pages/RetailerProductEdition/index.js +4 -3
- package/dist/components/atoms/ListCommercialRetailers/ListCommercialRetailers.stories.js +0 -36
- package/dist/components/atoms/ListCommercialRetailers/index.js +0 -64
- package/dist/components/atoms/ListCommercialRetailers/styles.js +0 -20
- package/dist/components/atoms/MenuCommercialRetailers/MenuCommercialRetailers.stories.js +0 -37
- package/dist/components/atoms/MenuCommercialRetailers/index.js +0 -25
- package/dist/components/atoms/MenuCommercialRetailers/styles.js +0 -20
- package/dist/components/atoms/MenuProductImage/MenuProductImage.stories.js +0 -28
- package/dist/components/atoms/MenuProductImage/index.js +0 -88
- package/dist/components/atoms/MenuProductImage/styles.js +0 -20
- package/dist/components/molecules/ApproveRejetPanel/ApproveRejetPanel.stories.js +0 -25
- package/dist/components/molecules/ApproveRejetPanel/index.js +0 -49
- package/dist/components/molecules/ApproveRejetPanel/styles.js +0 -18
- package/dist/components/molecules/SignInLoginCreationApp/SignInLogin.stories.js +0 -28
- package/dist/components/molecules/SignInLoginCreationApp/index.js +0 -270
- package/dist/components/molecules/SignInLoginCreationApp/styles.js +0 -20
|
@@ -16,92 +16,537 @@ RetailerProductEditionDefault.args = {
|
|
|
16
16
|
Imágenes: false,
|
|
17
17
|
},
|
|
18
18
|
token:
|
|
19
|
-
"
|
|
19
|
+
"eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJjN2U1YTZhNC0yYjNmLTRkNTQtYWY5OC05ZTA5YTRjYmMwMWUiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwiY29nbml0bzp1c2VybmFtZSI6ImM3ZTVhNmE0LTJiM2YtNGQ1NC1hZjk4LTllMDlhNGNiYzAxZSIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiIyYjcyOTIzYS04MWMzLTQ0NTYtODE1ZC1kMzI5ZWVkMDRmZmMiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY2MTg5ODYzNSwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY2MTkwMjIzNSwiaWF0IjoxNjYxODk4NjM1LCJlbWFpbCI6Imtpa2lqZTE0NjdAbXRsY3ouY29tIn0.EcQE9cjvjfyl4JlNVh57wlvDAxem7glTCJwZNLHs-oZj1Q0M_Sg1h24ISsES1WD_OjNaYjub46xU3rNH-i3IgA386H4hC3cfXzAkc82dxkhEcaRcUrAC9q8HUmoxT70XQpY40L2h2-DMjVm9Ka8C2JsFsgxVe-ulH2SpAXHk8Lt60qGYwoAdupP5jtJXBVMQKLKkWceAYrckWl-3AMq6uJLciB30zVQxMxjQ0EF8ZpldGDV8ypurZ2HkEtBZudepo2spBYj50L1IJ8oE-bBujcauOEzHw7kHFtBoL0W4xsjcBGiH9ejV7ULoWPO7AJr8MTZh1CVGkAYs1LmCWDAuHw",
|
|
20
20
|
productSelected: {
|
|
21
21
|
services: {
|
|
22
|
-
datasheets:
|
|
23
|
-
descriptions:
|
|
22
|
+
datasheets: 0,
|
|
23
|
+
descriptions: 0,
|
|
24
24
|
images: 1,
|
|
25
25
|
},
|
|
26
|
-
orderId:
|
|
27
|
-
status: "
|
|
28
|
-
datasheet_status: "
|
|
26
|
+
orderId: 2612,
|
|
27
|
+
status: "CA",
|
|
28
|
+
datasheet_status: "NS",
|
|
29
29
|
prio: "none",
|
|
30
30
|
version: 2,
|
|
31
|
-
description_status: "
|
|
32
|
-
images_status: "
|
|
31
|
+
description_status: "NS",
|
|
32
|
+
images_status: "IE",
|
|
33
33
|
article: {
|
|
34
|
-
id_article:
|
|
35
|
-
id_category: "
|
|
36
|
-
name: "
|
|
37
|
-
upc: "
|
|
38
|
-
timestamp: "2022-
|
|
39
|
-
id_user:
|
|
34
|
+
id_article: 79732,
|
|
35
|
+
id_category: "42",
|
|
36
|
+
name: "Bolos Naviesferas 6p 96g Bolsa RIC",
|
|
37
|
+
upc: "7500810012130",
|
|
38
|
+
timestamp: "2022-08-22T19:34:16.000Z",
|
|
39
|
+
id_user: 467,
|
|
40
40
|
status: "NULL",
|
|
41
41
|
active: 1,
|
|
42
|
-
company_id:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
42
|
+
company_id: 229,
|
|
43
|
+
SKU: null,
|
|
44
|
+
Descripcion: null,
|
|
45
|
+
Proveedor: null,
|
|
46
|
+
id_proveedor: 0,
|
|
47
|
+
company_name: "BIMBO SA DE CV",
|
|
48
|
+
country: null,
|
|
49
|
+
id_order: 2612,
|
|
50
|
+
id_datasheet_especialist: null,
|
|
51
|
+
id_datasheet_facilitator: null,
|
|
52
|
+
id_description_especialist: null,
|
|
53
|
+
id_description_facilitator: null,
|
|
54
|
+
id_images_especialist: 427,
|
|
55
|
+
id_images_facilitator: 160,
|
|
56
|
+
id_auditor: 9,
|
|
53
57
|
id_recepcionist: null,
|
|
54
|
-
category: "
|
|
55
|
-
missingAttributes:
|
|
56
|
-
missingDescriptions:
|
|
57
|
-
missingImages:
|
|
58
|
+
category: "Abarrotes|Botanas, Golosinas y Chocolates|Confitería",
|
|
59
|
+
missingAttributes: 208,
|
|
60
|
+
missingDescriptions: 9,
|
|
61
|
+
missingImages: 8,
|
|
58
62
|
},
|
|
59
63
|
retailers: [
|
|
60
64
|
{
|
|
61
|
-
id:
|
|
62
|
-
name: "Walmart
|
|
65
|
+
id: 4,
|
|
66
|
+
name: "Walmart Super y Superama",
|
|
63
67
|
country: "México",
|
|
64
68
|
id_region: 1,
|
|
65
69
|
active: 1,
|
|
70
|
+
percentage: 37.5,
|
|
71
|
+
image:
|
|
72
|
+
"https://content-management-images.s3.amazonaws.com/retailers/4.png",
|
|
73
|
+
services: [
|
|
74
|
+
"IE",
|
|
75
|
+
"NA",
|
|
76
|
+
"NA",
|
|
77
|
+
"NA",
|
|
78
|
+
"NA",
|
|
79
|
+
"NA",
|
|
80
|
+
"NA",
|
|
81
|
+
"NA",
|
|
82
|
+
"NA",
|
|
83
|
+
"NA",
|
|
84
|
+
"NA",
|
|
85
|
+
"NA",
|
|
86
|
+
"NA",
|
|
87
|
+
"NA",
|
|
88
|
+
"NA",
|
|
89
|
+
"NA",
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: 5,
|
|
94
|
+
name: "Chedraui",
|
|
95
|
+
country: "México",
|
|
96
|
+
id_region: 1,
|
|
97
|
+
active: 1,
|
|
98
|
+
percentage: 35.29411764705882,
|
|
99
|
+
image:
|
|
100
|
+
"https://content-management-images.s3.amazonaws.com/retailers/5.png",
|
|
101
|
+
services: [
|
|
102
|
+
"NA",
|
|
103
|
+
"CA",
|
|
104
|
+
"NA",
|
|
105
|
+
"NA",
|
|
106
|
+
"NA",
|
|
107
|
+
"NA",
|
|
108
|
+
"NA",
|
|
109
|
+
"NA",
|
|
110
|
+
"NA",
|
|
111
|
+
"NA",
|
|
112
|
+
"NA",
|
|
113
|
+
"NA",
|
|
114
|
+
"NA",
|
|
115
|
+
"NA",
|
|
116
|
+
"NA",
|
|
117
|
+
"NA",
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: 6,
|
|
122
|
+
name: "HEB",
|
|
123
|
+
country: "México",
|
|
124
|
+
id_region: 1,
|
|
125
|
+
active: 1,
|
|
126
|
+
percentage: 38.46153846153846,
|
|
127
|
+
image:
|
|
128
|
+
"https://content-management-images.s3.amazonaws.com/retailers/6.png",
|
|
129
|
+
services: [
|
|
130
|
+
"NA",
|
|
131
|
+
"NA",
|
|
132
|
+
"CA",
|
|
133
|
+
"NA",
|
|
134
|
+
"NA",
|
|
135
|
+
"NA",
|
|
136
|
+
"NA",
|
|
137
|
+
"NA",
|
|
138
|
+
"NA",
|
|
139
|
+
"NA",
|
|
140
|
+
"NA",
|
|
141
|
+
"NA",
|
|
142
|
+
"NA",
|
|
143
|
+
"NA",
|
|
144
|
+
"NA",
|
|
145
|
+
"NA",
|
|
146
|
+
],
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
id: 9,
|
|
150
|
+
name: "Amazon",
|
|
151
|
+
country: "México",
|
|
152
|
+
id_region: 1,
|
|
153
|
+
active: 1,
|
|
154
|
+
percentage: 34.72222222222222,
|
|
155
|
+
image:
|
|
156
|
+
"https://content-management-images.s3.amazonaws.com/retailers/9.png",
|
|
157
|
+
services: [
|
|
158
|
+
"NA",
|
|
159
|
+
"NA",
|
|
160
|
+
"NA",
|
|
161
|
+
"CA",
|
|
162
|
+
"NA",
|
|
163
|
+
"NA",
|
|
164
|
+
"NA",
|
|
165
|
+
"NA",
|
|
166
|
+
"NA",
|
|
167
|
+
"NA",
|
|
168
|
+
"NA",
|
|
169
|
+
"NA",
|
|
170
|
+
"NA",
|
|
171
|
+
"NA",
|
|
172
|
+
"NA",
|
|
173
|
+
"NA",
|
|
174
|
+
],
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: 13,
|
|
178
|
+
name: "Soriana",
|
|
179
|
+
country: "México",
|
|
180
|
+
id_region: 1,
|
|
181
|
+
active: 1,
|
|
182
|
+
percentage: 40,
|
|
183
|
+
image:
|
|
184
|
+
"https://content-management-images.s3.amazonaws.com/retailers/13.png",
|
|
185
|
+
services: [
|
|
186
|
+
"NA",
|
|
187
|
+
"NA",
|
|
188
|
+
"NA",
|
|
189
|
+
"NA",
|
|
190
|
+
"CA",
|
|
191
|
+
"NA",
|
|
192
|
+
"NA",
|
|
193
|
+
"NA",
|
|
194
|
+
"NA",
|
|
195
|
+
"NA",
|
|
196
|
+
"NA",
|
|
197
|
+
"NA",
|
|
198
|
+
"NA",
|
|
199
|
+
"NA",
|
|
200
|
+
"NA",
|
|
201
|
+
"NA",
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
id: 16,
|
|
206
|
+
name: "Rappi",
|
|
207
|
+
country: "México",
|
|
208
|
+
id_region: 1,
|
|
209
|
+
active: 1,
|
|
210
|
+
percentage: 36.666666666666664,
|
|
211
|
+
image:
|
|
212
|
+
"https://content-management-images.s3.amazonaws.com/retailers/16.png",
|
|
213
|
+
services: [
|
|
214
|
+
"NA",
|
|
215
|
+
"NA",
|
|
216
|
+
"NA",
|
|
217
|
+
"NA",
|
|
218
|
+
"NA",
|
|
219
|
+
"CA",
|
|
220
|
+
"NA",
|
|
221
|
+
"NA",
|
|
222
|
+
"NA",
|
|
223
|
+
"NA",
|
|
224
|
+
"NA",
|
|
225
|
+
"NA",
|
|
226
|
+
"NA",
|
|
227
|
+
"NA",
|
|
228
|
+
"NA",
|
|
229
|
+
"NA",
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
id: 17,
|
|
234
|
+
name: "Genérico",
|
|
235
|
+
country: "México",
|
|
236
|
+
id_region: 1,
|
|
237
|
+
active: 1,
|
|
238
|
+
percentage: 34.78260869565217,
|
|
239
|
+
image:
|
|
240
|
+
"https://content-management-images.s3.amazonaws.com/retailers/17.png",
|
|
241
|
+
services: [
|
|
242
|
+
"NA",
|
|
243
|
+
"NA",
|
|
244
|
+
"NA",
|
|
245
|
+
"NA",
|
|
246
|
+
"NA",
|
|
247
|
+
"NA",
|
|
248
|
+
"CA",
|
|
249
|
+
"NA",
|
|
250
|
+
"NA",
|
|
251
|
+
"NA",
|
|
252
|
+
"NA",
|
|
253
|
+
"NA",
|
|
254
|
+
"NA",
|
|
255
|
+
"NA",
|
|
256
|
+
"NA",
|
|
257
|
+
"NA",
|
|
258
|
+
],
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
id: 24,
|
|
262
|
+
name: "Alsuper",
|
|
263
|
+
country: "México",
|
|
264
|
+
id_region: 1,
|
|
265
|
+
active: 1,
|
|
266
|
+
percentage: 37.5,
|
|
267
|
+
image:
|
|
268
|
+
"https://content-management-images.s3.amazonaws.com/retailers/24.png",
|
|
269
|
+
services: [
|
|
270
|
+
"NA",
|
|
271
|
+
"NA",
|
|
272
|
+
"NA",
|
|
273
|
+
"NA",
|
|
274
|
+
"NA",
|
|
275
|
+
"NA",
|
|
276
|
+
"NA",
|
|
277
|
+
"CA",
|
|
278
|
+
"NA",
|
|
279
|
+
"NA",
|
|
280
|
+
"NA",
|
|
281
|
+
"NA",
|
|
282
|
+
"NA",
|
|
283
|
+
"NA",
|
|
284
|
+
"NA",
|
|
285
|
+
"NA",
|
|
286
|
+
],
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
id: 25,
|
|
290
|
+
name: "Merqueo(México)",
|
|
291
|
+
country: "México",
|
|
292
|
+
id_region: 1,
|
|
293
|
+
active: 1,
|
|
294
|
+
percentage: 100,
|
|
295
|
+
image:
|
|
296
|
+
"https://content-management-images.s3.amazonaws.com/retailers/25.png",
|
|
297
|
+
services: [
|
|
298
|
+
"NA",
|
|
299
|
+
"NA",
|
|
300
|
+
"NA",
|
|
301
|
+
"NA",
|
|
302
|
+
"NA",
|
|
303
|
+
"NA",
|
|
304
|
+
"NA",
|
|
305
|
+
"NA",
|
|
306
|
+
"CA",
|
|
307
|
+
"NA",
|
|
308
|
+
"NA",
|
|
309
|
+
"NA",
|
|
310
|
+
"NA",
|
|
311
|
+
"NA",
|
|
312
|
+
"NA",
|
|
313
|
+
"NA",
|
|
314
|
+
],
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
id: 28,
|
|
318
|
+
name: "Farmacias Benavides",
|
|
319
|
+
country: "México",
|
|
320
|
+
id_region: 1,
|
|
321
|
+
active: 1,
|
|
322
|
+
percentage: 100,
|
|
323
|
+
image:
|
|
324
|
+
"https://content-management-images.s3.amazonaws.com/retailers/28.png",
|
|
325
|
+
services: [
|
|
326
|
+
"NA",
|
|
327
|
+
"NA",
|
|
328
|
+
"NA",
|
|
329
|
+
"NA",
|
|
330
|
+
"NA",
|
|
331
|
+
"NA",
|
|
332
|
+
"NA",
|
|
333
|
+
"NA",
|
|
334
|
+
"NA",
|
|
335
|
+
"CA",
|
|
336
|
+
"NA",
|
|
337
|
+
"NA",
|
|
338
|
+
"NA",
|
|
339
|
+
"NA",
|
|
340
|
+
"NA",
|
|
341
|
+
"NA",
|
|
342
|
+
],
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
id: 39,
|
|
346
|
+
name: "Justo",
|
|
347
|
+
country: "México",
|
|
348
|
+
id_region: 1,
|
|
349
|
+
active: 1,
|
|
350
|
+
percentage: 35.416666666666664,
|
|
351
|
+
image:
|
|
352
|
+
"https://content-management-images.s3.amazonaws.com/retailers/39.png",
|
|
353
|
+
services: [
|
|
354
|
+
"NA",
|
|
355
|
+
"NA",
|
|
356
|
+
"NA",
|
|
357
|
+
"NA",
|
|
358
|
+
"NA",
|
|
359
|
+
"NA",
|
|
360
|
+
"NA",
|
|
361
|
+
"NA",
|
|
362
|
+
"NA",
|
|
363
|
+
"NA",
|
|
364
|
+
"CA",
|
|
365
|
+
"NA",
|
|
366
|
+
"NA",
|
|
367
|
+
"NA",
|
|
368
|
+
"NA",
|
|
369
|
+
"NA",
|
|
370
|
+
],
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
id: 44,
|
|
374
|
+
name: "Calimax",
|
|
375
|
+
country: "México",
|
|
376
|
+
id_region: 1,
|
|
377
|
+
active: 1,
|
|
378
|
+
percentage: 100,
|
|
379
|
+
image:
|
|
380
|
+
"https://content-management-images.s3.amazonaws.com/retailers/44.png",
|
|
381
|
+
services: [
|
|
382
|
+
"NA",
|
|
383
|
+
"NA",
|
|
384
|
+
"NA",
|
|
385
|
+
"NA",
|
|
386
|
+
"NA",
|
|
387
|
+
"NA",
|
|
388
|
+
"NA",
|
|
389
|
+
"NA",
|
|
390
|
+
"NA",
|
|
391
|
+
"NA",
|
|
392
|
+
"NA",
|
|
393
|
+
"CA",
|
|
394
|
+
"NA",
|
|
395
|
+
"NA",
|
|
396
|
+
"NA",
|
|
397
|
+
"NA",
|
|
398
|
+
],
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
id: 45,
|
|
402
|
+
name: "Casa Ley",
|
|
403
|
+
country: "México",
|
|
404
|
+
id_region: 1,
|
|
405
|
+
active: 1,
|
|
406
|
+
percentage: 100,
|
|
407
|
+
image:
|
|
408
|
+
"https://content-management-images.s3.amazonaws.com/retailers/45.png",
|
|
409
|
+
services: [
|
|
410
|
+
"NA",
|
|
411
|
+
"NA",
|
|
412
|
+
"NA",
|
|
413
|
+
"NA",
|
|
414
|
+
"NA",
|
|
415
|
+
"NA",
|
|
416
|
+
"NA",
|
|
417
|
+
"NA",
|
|
418
|
+
"NA",
|
|
419
|
+
"NA",
|
|
420
|
+
"NA",
|
|
421
|
+
"NA",
|
|
422
|
+
"CA",
|
|
423
|
+
"NA",
|
|
424
|
+
"NA",
|
|
425
|
+
"NA",
|
|
426
|
+
],
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
id: 46,
|
|
430
|
+
name: "S-Mart",
|
|
431
|
+
country: "México",
|
|
432
|
+
id_region: 1,
|
|
433
|
+
active: 1,
|
|
434
|
+
percentage: 100,
|
|
435
|
+
image:
|
|
436
|
+
"https://content-management-images.s3.amazonaws.com/retailers/46.png",
|
|
437
|
+
services: [
|
|
438
|
+
"NA",
|
|
439
|
+
"NA",
|
|
440
|
+
"NA",
|
|
441
|
+
"NA",
|
|
442
|
+
"NA",
|
|
443
|
+
"NA",
|
|
444
|
+
"NA",
|
|
445
|
+
"NA",
|
|
446
|
+
"NA",
|
|
447
|
+
"NA",
|
|
448
|
+
"NA",
|
|
449
|
+
"NA",
|
|
450
|
+
"NA",
|
|
451
|
+
"CA",
|
|
452
|
+
"NA",
|
|
453
|
+
"NA",
|
|
454
|
+
],
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
id: 56,
|
|
458
|
+
name: "JOKR",
|
|
459
|
+
country: "Mexico",
|
|
460
|
+
id_region: 1,
|
|
461
|
+
active: 1,
|
|
462
|
+
percentage: 100,
|
|
463
|
+
image:
|
|
464
|
+
"https://content-management-images.s3.amazonaws.com/retailers/56.png",
|
|
465
|
+
services: [
|
|
466
|
+
"NA",
|
|
467
|
+
"NA",
|
|
468
|
+
"NA",
|
|
469
|
+
"NA",
|
|
470
|
+
"NA",
|
|
471
|
+
"NA",
|
|
472
|
+
"NA",
|
|
473
|
+
"NA",
|
|
474
|
+
"NA",
|
|
475
|
+
"NA",
|
|
476
|
+
"NA",
|
|
477
|
+
"NA",
|
|
478
|
+
"NA",
|
|
479
|
+
"NA",
|
|
480
|
+
"CA",
|
|
481
|
+
"NA",
|
|
482
|
+
],
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
id: 65,
|
|
486
|
+
name: "Súper Aki",
|
|
487
|
+
country: "México",
|
|
488
|
+
id_region: 1,
|
|
489
|
+
active: 1,
|
|
490
|
+
percentage: 100,
|
|
491
|
+
image:
|
|
492
|
+
"https://content-management-images.s3.amazonaws.com/retailers/65.png",
|
|
493
|
+
services: [
|
|
494
|
+
"NA",
|
|
495
|
+
"NA",
|
|
496
|
+
"NA",
|
|
497
|
+
"NA",
|
|
498
|
+
"NA",
|
|
499
|
+
"NA",
|
|
500
|
+
"NA",
|
|
501
|
+
"NA",
|
|
502
|
+
"NA",
|
|
503
|
+
"NA",
|
|
504
|
+
"NA",
|
|
505
|
+
"NA",
|
|
506
|
+
"NA",
|
|
507
|
+
"NA",
|
|
508
|
+
"NA",
|
|
509
|
+
"CA",
|
|
510
|
+
],
|
|
66
511
|
},
|
|
67
512
|
],
|
|
68
|
-
country:
|
|
69
|
-
upc: "
|
|
513
|
+
country: null,
|
|
514
|
+
upc: "7500810012130",
|
|
70
515
|
},
|
|
71
516
|
location: {
|
|
72
517
|
product: { articleId: 109485, versionId: 3 },
|
|
73
518
|
},
|
|
74
519
|
user: {
|
|
75
|
-
id_user:
|
|
76
|
-
name: "
|
|
77
|
-
last_name: "
|
|
78
|
-
email: "
|
|
79
|
-
position:
|
|
520
|
+
id_user: 427,
|
|
521
|
+
name: "Especialista Edición",
|
|
522
|
+
last_name: " ",
|
|
523
|
+
email: "kikije1467@mtlcz.com",
|
|
524
|
+
position: "Tester",
|
|
80
525
|
telephone: null,
|
|
81
526
|
country: null,
|
|
82
|
-
id_company:
|
|
83
|
-
id_cognito: "
|
|
527
|
+
id_company: 254,
|
|
528
|
+
id_cognito: "c7e5a6a4-2b3f-4d54-af98-9e09a4cbc01e",
|
|
84
529
|
birth_Date: null,
|
|
85
530
|
about_me: null,
|
|
86
531
|
zip_code: null,
|
|
87
532
|
address: null,
|
|
88
533
|
job: null,
|
|
89
534
|
id_stripe: null,
|
|
90
|
-
id_role:
|
|
535
|
+
id_role: 8,
|
|
91
536
|
active: 1,
|
|
92
537
|
is_retailer: 0,
|
|
93
|
-
email_notify:
|
|
538
|
+
email_notify: null,
|
|
94
539
|
membership: {
|
|
95
|
-
id:
|
|
96
|
-
start_date: "
|
|
97
|
-
end_date: "
|
|
98
|
-
planID:
|
|
99
|
-
plan: "
|
|
100
|
-
name: "Plan
|
|
101
|
-
user_limit: "
|
|
102
|
-
products_limit: "
|
|
103
|
-
type: "
|
|
540
|
+
id: 750,
|
|
541
|
+
start_date: "2022-01-07T21:32:54.000Z",
|
|
542
|
+
end_date: "2023-01-07T21:32:54.000Z",
|
|
543
|
+
planID: 6,
|
|
544
|
+
plan: "prod_KvGd6YSTJyR3AP",
|
|
545
|
+
name: "Plan Small",
|
|
546
|
+
user_limit: "10",
|
|
547
|
+
products_limit: "1000",
|
|
548
|
+
type: "Enterprise",
|
|
104
549
|
},
|
|
105
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
550
|
+
src: "https://content-management-profile-prod.s3.amazonaws.com/id-427/427.png?1661898636177",
|
|
106
551
|
},
|
|
107
552
|
};
|
|
@@ -777,8 +777,10 @@ export const RetailerProductEdition = ({
|
|
|
777
777
|
});
|
|
778
778
|
}
|
|
779
779
|
if (res.data.statusCode === 200) {
|
|
780
|
-
const { newStatus, newOrderStatus } = JSON.parse(
|
|
781
|
-
|
|
780
|
+
const { newStatus, newOrderStatus, newArticleStatus } = JSON.parse(
|
|
781
|
+
res.data.body
|
|
782
|
+
);
|
|
783
|
+
if (newOrderStatus) productTemp.status = newArticleStatus[articleId];
|
|
782
784
|
productTemp[`${concept}_status`] = newStatus;
|
|
783
785
|
await loadData();
|
|
784
786
|
if (message) setMessage(message);
|
|
@@ -1400,7 +1402,6 @@ export const RetailerProductEdition = ({
|
|
|
1400
1402
|
</>
|
|
1401
1403
|
)}
|
|
1402
1404
|
</div>
|
|
1403
|
-
{console.log(userAssigned(activeTab), auditorAssigned())}
|
|
1404
1405
|
{(userAssigned(activeTab) || auditorAssigned()) &&
|
|
1405
1406
|
product[`${getConcept(activeTab)}_status`] !== "NS" && (
|
|
1406
1407
|
<div className="commentary-box">
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.ListCommercialRetailersDefault = void 0;
|
|
7
|
-
|
|
8
|
-
var _index = require("./index");
|
|
9
|
-
|
|
10
|
-
var _default = {
|
|
11
|
-
title: "Components/atoms/ListCommercialRetailers",
|
|
12
|
-
component: _index.ListCommercialRetailers
|
|
13
|
-
};
|
|
14
|
-
exports.default = _default;
|
|
15
|
-
|
|
16
|
-
var Template = function Template(args) {
|
|
17
|
-
return /*#__PURE__*/React.createElement(_index.ListCommercialRetailers, args);
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
var ListCommercialRetailersDefault = Template.bind({});
|
|
21
|
-
exports.ListCommercialRetailersDefault = ListCommercialRetailersDefault;
|
|
22
|
-
ListCommercialRetailersDefault.args = {
|
|
23
|
-
retailersAvailable: [{
|
|
24
|
-
id: 54,
|
|
25
|
-
name: "Construrama",
|
|
26
|
-
country: "México",
|
|
27
|
-
id_region: 1,
|
|
28
|
-
active: 1
|
|
29
|
-
}, {
|
|
30
|
-
id: 4,
|
|
31
|
-
name: "Walmart Super y Superama"
|
|
32
|
-
}, {
|
|
33
|
-
id: 6,
|
|
34
|
-
name: "HEB"
|
|
35
|
-
}]
|
|
36
|
-
};
|