@things-factory/operato-wms 4.1.4 → 4.1.6
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.
|
@@ -107,10 +107,10 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
107
107
|
|
|
108
108
|
if (
|
|
109
109
|
this.releaseGoodNo &&
|
|
110
|
-
this.orderInformation.status === 'packed' &&
|
|
110
|
+
(this.orderInformation.status === 'packed' || this.orderInformation.status === 'unfulfilled' || this.orderInformation.status === 'processing') &&
|
|
111
111
|
!this._trackingNo &&
|
|
112
112
|
!this._logisticsInitiated &&
|
|
113
|
-
this.platform === PLATFORM.LAZADA.value &&
|
|
113
|
+
(this.platform === PLATFORM.LAZADA.value || this.platform === PLATFORM.SHOPIFY.value || this.platform === PLATFORM.WOOCOMMERCE.value) &&
|
|
114
114
|
this.completed
|
|
115
115
|
) {
|
|
116
116
|
actions.push({
|
|
@@ -785,6 +785,21 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
785
785
|
})
|
|
786
786
|
}
|
|
787
787
|
|
|
788
|
+
if (this.orderInformation.marketplaceStore.platform === PLATFORM.SHOPIFY.value || this.orderInformation.marketplaceStore.platform === PLATFORM.WOOCOMMERCE.value) {
|
|
789
|
+
response = await client.mutate({
|
|
790
|
+
mutation: gql`
|
|
791
|
+
mutation updateOrderReadyToShip($orderNo: String!) {
|
|
792
|
+
updateOrderReadyToShip(
|
|
793
|
+
orderNo: $orderNo
|
|
794
|
+
)
|
|
795
|
+
}
|
|
796
|
+
`,
|
|
797
|
+
variables: {
|
|
798
|
+
orderNo: this.orderInformation.name
|
|
799
|
+
}
|
|
800
|
+
})
|
|
801
|
+
}
|
|
802
|
+
|
|
788
803
|
if (!response.errors) {
|
|
789
804
|
this._showToast({ message: i18next.t('text.order_has_been_set_to_ready_to_ship') })
|
|
790
805
|
}
|
|
@@ -374,7 +374,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
374
374
|
<select
|
|
375
375
|
?hidden="${!this._incompleteLocationName}"
|
|
376
376
|
name="newLocationCode"
|
|
377
|
-
@change="${e => (this.
|
|
377
|
+
@change="${e => (this._locationName = e.currentTarget.value)}"
|
|
378
378
|
>
|
|
379
379
|
<option value="">-- ${i18next.t('text.please_select_the_location')} --</option>
|
|
380
380
|
${(this.locations || []).map(
|
|
@@ -896,7 +896,11 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
896
896
|
if (e.keyCode !== 13) return
|
|
897
897
|
e.preventDefault()
|
|
898
898
|
try {
|
|
899
|
-
await this.validatePicking()
|
|
899
|
+
let answer = await this.validatePicking()
|
|
900
|
+
|
|
901
|
+
if (answer) {
|
|
902
|
+
if (!answer?.value) return
|
|
903
|
+
}
|
|
900
904
|
|
|
901
905
|
let response = {}
|
|
902
906
|
if (this.crossDocking) {
|
|
@@ -1268,7 +1272,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1268
1272
|
if (!relocateConfirmation.isConfirmed) {
|
|
1269
1273
|
this._incompleteLocationName = false
|
|
1270
1274
|
this.locationNameSplit = []
|
|
1271
|
-
return
|
|
1275
|
+
return relocateConfirmation
|
|
1272
1276
|
}
|
|
1273
1277
|
}
|
|
1274
1278
|
}
|
|
@@ -489,7 +489,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
|
|
|
489
489
|
|
|
490
490
|
const response = await client.mutate({
|
|
491
491
|
mutation: gql`
|
|
492
|
-
mutation activatePacking($worksheetNo: String!) {
|
|
492
|
+
mutation activatePacking($worksheetNo: [String!]!) {
|
|
493
493
|
activatePacking(worksheetNo: $worksheetNo) {
|
|
494
494
|
name
|
|
495
495
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.6",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -56,57 +56,57 @@
|
|
|
56
56
|
"@operato/scene-tab": "^0.1.4",
|
|
57
57
|
"@operato/scene-table": "^0.1.4",
|
|
58
58
|
"@operato/scene-wheel-sorter": "^0.1.4",
|
|
59
|
-
"@things-factory/apptool-ui": "^4.1.
|
|
60
|
-
"@things-factory/attachment-ui": "^4.1.
|
|
61
|
-
"@things-factory/auth-ui": "^4.1.
|
|
62
|
-
"@things-factory/barcode-ui": "^4.1.
|
|
63
|
-
"@things-factory/biz-ui": "^4.1.
|
|
64
|
-
"@things-factory/board-service": "^4.1.
|
|
65
|
-
"@things-factory/board-ui": "^4.1.
|
|
66
|
-
"@things-factory/code-ui": "^4.1.
|
|
67
|
-
"@things-factory/context-ui": "^4.1.
|
|
68
|
-
"@things-factory/export-ui": "^4.1.
|
|
69
|
-
"@things-factory/export-ui-csv": "^4.1.
|
|
70
|
-
"@things-factory/export-ui-excel": "^4.1.
|
|
71
|
-
"@things-factory/fav-base": "^4.1.
|
|
72
|
-
"@things-factory/form-ui": "^4.1.
|
|
73
|
-
"@things-factory/grist-ui": "^4.1.
|
|
74
|
-
"@things-factory/help": "^4.1.
|
|
75
|
-
"@things-factory/i18n-base": "^4.1.
|
|
76
|
-
"@things-factory/id-rule-base": "^4.1.
|
|
77
|
-
"@things-factory/import-ui": "^4.1.
|
|
78
|
-
"@things-factory/import-ui-excel": "^4.1.
|
|
79
|
-
"@things-factory/menu-ui": "^4.1.
|
|
80
|
-
"@things-factory/more-ui": "^4.1.
|
|
81
|
-
"@things-factory/notification": "^4.1.
|
|
82
|
-
"@things-factory/pdf": "^4.1.
|
|
83
|
-
"@things-factory/print-proxy-service": "^4.1.
|
|
84
|
-
"@things-factory/print-service": "^4.1.
|
|
85
|
-
"@things-factory/print-ui": "^4.1.
|
|
86
|
-
"@things-factory/product-base": "^4.1.
|
|
87
|
-
"@things-factory/resource-ui": "^4.1.
|
|
88
|
-
"@things-factory/sales-ui": "^4.1.
|
|
89
|
-
"@things-factory/scene-data-transform": "^4.1.
|
|
90
|
-
"@things-factory/scene-excel": "^4.1.
|
|
91
|
-
"@things-factory/scene-firebase": "^4.1.
|
|
92
|
-
"@things-factory/scene-form": "^4.1.
|
|
93
|
-
"@things-factory/scene-google-map": "^4.1.
|
|
94
|
-
"@things-factory/scene-graphql": "^4.1.
|
|
95
|
-
"@things-factory/scene-label": "^4.1.
|
|
96
|
-
"@things-factory/scene-marker": "^4.1.
|
|
97
|
-
"@things-factory/scene-mqtt": "^4.1.
|
|
98
|
-
"@things-factory/scene-news-ticker": "^4.1.
|
|
99
|
-
"@things-factory/scene-restful": "^4.1.
|
|
100
|
-
"@things-factory/scene-visualizer": "^4.1.
|
|
101
|
-
"@things-factory/setting-ui": "^4.1.
|
|
102
|
-
"@things-factory/system-ui": "^4.1.
|
|
103
|
-
"@things-factory/transport-base": "^4.1.
|
|
104
|
-
"@things-factory/tutorial-ui": "^4.1.
|
|
105
|
-
"@things-factory/warehouse-base": "^4.1.
|
|
106
|
-
"@things-factory/worksheet-base": "^4.1.
|
|
59
|
+
"@things-factory/apptool-ui": "^4.1.6",
|
|
60
|
+
"@things-factory/attachment-ui": "^4.1.6",
|
|
61
|
+
"@things-factory/auth-ui": "^4.1.6",
|
|
62
|
+
"@things-factory/barcode-ui": "^4.1.6",
|
|
63
|
+
"@things-factory/biz-ui": "^4.1.6",
|
|
64
|
+
"@things-factory/board-service": "^4.1.6",
|
|
65
|
+
"@things-factory/board-ui": "^4.1.6",
|
|
66
|
+
"@things-factory/code-ui": "^4.1.6",
|
|
67
|
+
"@things-factory/context-ui": "^4.1.6",
|
|
68
|
+
"@things-factory/export-ui": "^4.1.6",
|
|
69
|
+
"@things-factory/export-ui-csv": "^4.1.6",
|
|
70
|
+
"@things-factory/export-ui-excel": "^4.1.6",
|
|
71
|
+
"@things-factory/fav-base": "^4.1.6",
|
|
72
|
+
"@things-factory/form-ui": "^4.1.6",
|
|
73
|
+
"@things-factory/grist-ui": "^4.1.6",
|
|
74
|
+
"@things-factory/help": "^4.1.6",
|
|
75
|
+
"@things-factory/i18n-base": "^4.1.6",
|
|
76
|
+
"@things-factory/id-rule-base": "^4.1.6",
|
|
77
|
+
"@things-factory/import-ui": "^4.1.6",
|
|
78
|
+
"@things-factory/import-ui-excel": "^4.1.6",
|
|
79
|
+
"@things-factory/menu-ui": "^4.1.6",
|
|
80
|
+
"@things-factory/more-ui": "^4.1.6",
|
|
81
|
+
"@things-factory/notification": "^4.1.6",
|
|
82
|
+
"@things-factory/pdf": "^4.1.6",
|
|
83
|
+
"@things-factory/print-proxy-service": "^4.1.6",
|
|
84
|
+
"@things-factory/print-service": "^4.1.6",
|
|
85
|
+
"@things-factory/print-ui": "^4.1.6",
|
|
86
|
+
"@things-factory/product-base": "^4.1.6",
|
|
87
|
+
"@things-factory/resource-ui": "^4.1.6",
|
|
88
|
+
"@things-factory/sales-ui": "^4.1.6",
|
|
89
|
+
"@things-factory/scene-data-transform": "^4.1.6",
|
|
90
|
+
"@things-factory/scene-excel": "^4.1.6",
|
|
91
|
+
"@things-factory/scene-firebase": "^4.1.6",
|
|
92
|
+
"@things-factory/scene-form": "^4.1.6",
|
|
93
|
+
"@things-factory/scene-google-map": "^4.1.6",
|
|
94
|
+
"@things-factory/scene-graphql": "^4.1.6",
|
|
95
|
+
"@things-factory/scene-label": "^4.1.6",
|
|
96
|
+
"@things-factory/scene-marker": "^4.1.6",
|
|
97
|
+
"@things-factory/scene-mqtt": "^4.1.6",
|
|
98
|
+
"@things-factory/scene-news-ticker": "^4.1.6",
|
|
99
|
+
"@things-factory/scene-restful": "^4.1.6",
|
|
100
|
+
"@things-factory/scene-visualizer": "^4.1.6",
|
|
101
|
+
"@things-factory/setting-ui": "^4.1.6",
|
|
102
|
+
"@things-factory/system-ui": "^4.1.6",
|
|
103
|
+
"@things-factory/transport-base": "^4.1.6",
|
|
104
|
+
"@things-factory/tutorial-ui": "^4.1.6",
|
|
105
|
+
"@things-factory/warehouse-base": "^4.1.6",
|
|
106
|
+
"@things-factory/worksheet-base": "^4.1.6"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@things-factory/builder": "^4.1.
|
|
109
|
+
"@things-factory/builder": "^4.1.6"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "3b0bbe1cd54f9585579fb85c64cce3338b45fa30"
|
|
112
112
|
}
|