@things-factory/operato-mms 3.6.42 → 3.6.48
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.
|
@@ -458,58 +458,66 @@ class ShopeeOrderInitBatchPopup extends localize(i18next)(LitElement) {
|
|
|
458
458
|
records = marketplaceOrders.map(itm => {
|
|
459
459
|
switch (this._type) {
|
|
460
460
|
case 'pickup':
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
this.addressList
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
461
|
+
if (itm.fullLogisticsDetail?.pickup?.length > 0) {
|
|
462
|
+
return {
|
|
463
|
+
...itm,
|
|
464
|
+
rowOptionPickupAddress: {
|
|
465
|
+
options: [
|
|
466
|
+
{
|
|
467
|
+
display: '',
|
|
468
|
+
value: ''
|
|
469
|
+
},
|
|
470
|
+
...itm.fullLogisticsDetail.logisticsDetail.pickup.map(pickup => {
|
|
471
|
+
const addressDetail = {
|
|
472
|
+
display: pickup.address + ' ,' + pickup.city + ' ,' + pickup.zipcode + ' ,' + pickup.state,
|
|
473
|
+
value: pickup.addressId.toString(),
|
|
474
|
+
timeSlot: pickup.timeSlot
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
if (!this.addressList.map(list => list.value).includes(addressDetail.value)) {
|
|
478
|
+
this.addressList = Array.from(new Set([...this.addressList, addressDetail]))
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
return addressDetail
|
|
482
|
+
})
|
|
483
|
+
]
|
|
484
|
+
}
|
|
483
485
|
}
|
|
486
|
+
} else {
|
|
487
|
+
return
|
|
484
488
|
}
|
|
485
489
|
|
|
486
490
|
case 'dropoff':
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
this.addressList
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
491
|
+
if (itm.fullLogisticsDetail?.dropoff?.length > 0) {
|
|
492
|
+
return {
|
|
493
|
+
...itm,
|
|
494
|
+
requiredBranch: itm.fullLogisticsDetail.dropoff.includes('branch_id'),
|
|
495
|
+
requiredSender: itm.fullLogisticsDetail.dropoff.includes('sender_real_name'),
|
|
496
|
+
requiredTracking: itm.fullLogisticsDetail.dropoff.includes('tracking_no'),
|
|
497
|
+
rowOptionDropoffBranch: {
|
|
498
|
+
options: [
|
|
499
|
+
{
|
|
500
|
+
display: '',
|
|
501
|
+
value: ''
|
|
502
|
+
},
|
|
503
|
+
...itm.fullLogisticsDetail.logisticsDetail.dropoff.map(dropoff => {
|
|
504
|
+
const addressDetail = {
|
|
505
|
+
display:
|
|
506
|
+
dropoff.address + ' ,' + dropoff.city + ' ,' + dropoff.zipcode + ' ,' + dropoff.state,
|
|
507
|
+
value: dropoff.branchId.toString()
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
if (!this.addressList.map(list => list.value).includes(addressDetail.value)) {
|
|
511
|
+
this.addressList = Array.from(new Set([...this.addressList, addressDetail]))
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
return addressDetail
|
|
515
|
+
})
|
|
516
|
+
]
|
|
517
|
+
}
|
|
512
518
|
}
|
|
519
|
+
} else {
|
|
520
|
+
return
|
|
513
521
|
}
|
|
514
522
|
|
|
515
523
|
default:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-mms",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.48",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -42,68 +42,68 @@
|
|
|
42
42
|
"@material/mwc-linear-progress": "^0.22.1",
|
|
43
43
|
"@material/mwc-radio": "^0.22.1",
|
|
44
44
|
"@operato/ghost-print": "0.1.14",
|
|
45
|
-
"@things-factory/apptool-ui": "^3.6.
|
|
46
|
-
"@things-factory/attachment-base": "^3.6.
|
|
47
|
-
"@things-factory/auth-ui": "^3.6.
|
|
48
|
-
"@things-factory/biz-base": "^3.6.
|
|
49
|
-
"@things-factory/board-service": "^3.6.
|
|
50
|
-
"@things-factory/board-ui": "^3.6.
|
|
51
|
-
"@things-factory/code-ui": "^3.6.
|
|
52
|
-
"@things-factory/context-ui": "^3.6.
|
|
53
|
-
"@things-factory/dashboard": "^3.6.
|
|
54
|
-
"@things-factory/export-ui": "^3.6.
|
|
55
|
-
"@things-factory/export-ui-csv": "^3.6.
|
|
56
|
-
"@things-factory/export-ui-excel": "^3.6.
|
|
57
|
-
"@things-factory/geography": "^3.6.
|
|
58
|
-
"@things-factory/grist-ui": "^3.6.
|
|
59
|
-
"@things-factory/help": "^3.6.
|
|
60
|
-
"@things-factory/i18n-ui": "^3.6.
|
|
61
|
-
"@things-factory/integration-fulfillment": "^3.6.
|
|
62
|
-
"@things-factory/integration-lmd": "^3.6.
|
|
63
|
-
"@things-factory/lite-menu": "^3.6.
|
|
64
|
-
"@things-factory/marketplace-base": "^3.6.
|
|
65
|
-
"@things-factory/more-ui": "^3.6.
|
|
66
|
-
"@things-factory/notification": "^3.6.
|
|
67
|
-
"@things-factory/oauth2-client": "^3.6.
|
|
68
|
-
"@things-factory/pdf": "^3.6.
|
|
69
|
-
"@things-factory/product-base": "^3.6.
|
|
70
|
-
"@things-factory/resource-ui": "^3.6.
|
|
71
|
-
"@things-factory/scene-chartjs": "^3.6.
|
|
72
|
-
"@things-factory/scene-clock": "^3.6.
|
|
73
|
-
"@things-factory/scene-clone": "^3.6.
|
|
74
|
-
"@things-factory/scene-compass": "^3.6.
|
|
75
|
-
"@things-factory/scene-data-transform": "^3.6.
|
|
76
|
-
"@things-factory/scene-excel": "^3.6.
|
|
77
|
-
"@things-factory/scene-firebase": "^3.6.
|
|
78
|
-
"@things-factory/scene-form": "^3.6.
|
|
79
|
-
"@things-factory/scene-gauge": "^3.6.
|
|
80
|
-
"@things-factory/scene-google-map": "^3.6.
|
|
81
|
-
"@things-factory/scene-graphql": "^3.6.
|
|
82
|
-
"@things-factory/scene-grist": "^3.6.
|
|
83
|
-
"@things-factory/scene-half-roundrect": "^3.6.
|
|
84
|
-
"@things-factory/scene-indoor-map": "^3.6.
|
|
85
|
-
"@things-factory/scene-integration": "^3.6.
|
|
86
|
-
"@things-factory/scene-label": "^3.6.
|
|
87
|
-
"@things-factory/scene-legend": "^3.6.
|
|
88
|
-
"@things-factory/scene-marker": "^3.6.
|
|
89
|
-
"@things-factory/scene-mqtt": "^3.6.
|
|
90
|
-
"@things-factory/scene-news-ticker": "^3.6.
|
|
91
|
-
"@things-factory/scene-progressbar": "^3.6.
|
|
92
|
-
"@things-factory/scene-random": "^3.6.
|
|
93
|
-
"@things-factory/scene-restful": "^3.6.
|
|
94
|
-
"@things-factory/scene-switch": "^3.6.
|
|
95
|
-
"@things-factory/scene-tab": "^3.6.
|
|
96
|
-
"@things-factory/scene-table": "^3.6.
|
|
97
|
-
"@things-factory/scene-timer": "^3.6.
|
|
98
|
-
"@things-factory/scene-visualizer": "^3.6.
|
|
99
|
-
"@things-factory/scene-wheel-sorter": "^3.6.
|
|
100
|
-
"@things-factory/setting-ui": "^3.6.
|
|
101
|
-
"@things-factory/system-ui": "^3.6.
|
|
102
|
-
"@things-factory/warehouse-base": "^3.6.
|
|
45
|
+
"@things-factory/apptool-ui": "^3.6.45",
|
|
46
|
+
"@things-factory/attachment-base": "^3.6.47",
|
|
47
|
+
"@things-factory/auth-ui": "^3.6.47",
|
|
48
|
+
"@things-factory/biz-base": "^3.6.47",
|
|
49
|
+
"@things-factory/board-service": "^3.6.47",
|
|
50
|
+
"@things-factory/board-ui": "^3.6.47",
|
|
51
|
+
"@things-factory/code-ui": "^3.6.47",
|
|
52
|
+
"@things-factory/context-ui": "^3.6.45",
|
|
53
|
+
"@things-factory/dashboard": "^3.6.47",
|
|
54
|
+
"@things-factory/export-ui": "^3.6.45",
|
|
55
|
+
"@things-factory/export-ui-csv": "^3.6.45",
|
|
56
|
+
"@things-factory/export-ui-excel": "^3.6.45",
|
|
57
|
+
"@things-factory/geography": "^3.6.47",
|
|
58
|
+
"@things-factory/grist-ui": "^3.6.45",
|
|
59
|
+
"@things-factory/help": "^3.6.45",
|
|
60
|
+
"@things-factory/i18n-ui": "^3.6.47",
|
|
61
|
+
"@things-factory/integration-fulfillment": "^3.6.47",
|
|
62
|
+
"@things-factory/integration-lmd": "^3.6.47",
|
|
63
|
+
"@things-factory/lite-menu": "^3.6.47",
|
|
64
|
+
"@things-factory/marketplace-base": "^3.6.48",
|
|
65
|
+
"@things-factory/more-ui": "^3.6.45",
|
|
66
|
+
"@things-factory/notification": "^3.6.47",
|
|
67
|
+
"@things-factory/oauth2-client": "^3.6.47",
|
|
68
|
+
"@things-factory/pdf": "^3.6.45",
|
|
69
|
+
"@things-factory/product-base": "^3.6.47",
|
|
70
|
+
"@things-factory/resource-ui": "^3.6.47",
|
|
71
|
+
"@things-factory/scene-chartjs": "^3.6.45",
|
|
72
|
+
"@things-factory/scene-clock": "^3.6.45",
|
|
73
|
+
"@things-factory/scene-clone": "^3.6.45",
|
|
74
|
+
"@things-factory/scene-compass": "^3.6.45",
|
|
75
|
+
"@things-factory/scene-data-transform": "^3.6.45",
|
|
76
|
+
"@things-factory/scene-excel": "^3.6.45",
|
|
77
|
+
"@things-factory/scene-firebase": "^3.6.45",
|
|
78
|
+
"@things-factory/scene-form": "^3.6.45",
|
|
79
|
+
"@things-factory/scene-gauge": "^3.6.45",
|
|
80
|
+
"@things-factory/scene-google-map": "^3.6.45",
|
|
81
|
+
"@things-factory/scene-graphql": "^3.6.45",
|
|
82
|
+
"@things-factory/scene-grist": "^3.6.45",
|
|
83
|
+
"@things-factory/scene-half-roundrect": "^3.6.45",
|
|
84
|
+
"@things-factory/scene-indoor-map": "^3.6.45",
|
|
85
|
+
"@things-factory/scene-integration": "^3.6.45",
|
|
86
|
+
"@things-factory/scene-label": "^3.6.45",
|
|
87
|
+
"@things-factory/scene-legend": "^3.6.45",
|
|
88
|
+
"@things-factory/scene-marker": "^3.6.45",
|
|
89
|
+
"@things-factory/scene-mqtt": "^3.6.45",
|
|
90
|
+
"@things-factory/scene-news-ticker": "^3.6.45",
|
|
91
|
+
"@things-factory/scene-progressbar": "^3.6.45",
|
|
92
|
+
"@things-factory/scene-random": "^3.6.45",
|
|
93
|
+
"@things-factory/scene-restful": "^3.6.45",
|
|
94
|
+
"@things-factory/scene-switch": "^3.6.45",
|
|
95
|
+
"@things-factory/scene-tab": "^3.6.45",
|
|
96
|
+
"@things-factory/scene-table": "^3.6.45",
|
|
97
|
+
"@things-factory/scene-timer": "^3.6.45",
|
|
98
|
+
"@things-factory/scene-visualizer": "^3.6.45",
|
|
99
|
+
"@things-factory/scene-wheel-sorter": "^3.6.45",
|
|
100
|
+
"@things-factory/setting-ui": "^3.6.47",
|
|
101
|
+
"@things-factory/system-ui": "^3.6.45",
|
|
102
|
+
"@things-factory/warehouse-base": "^3.6.48"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@things-factory/builder": "^3.6.
|
|
105
|
+
"@things-factory/builder": "^3.6.45",
|
|
106
106
|
"@types/node-fetch": "^2.5.7"
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "1d70b4e6eee41c8b81a59cffe816de546d64cfa8"
|
|
109
109
|
}
|