@things-factory/operato-wms 4.3.500 → 4.3.502
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.
|
@@ -8,6 +8,7 @@ import { client, store } from '@things-factory/shell'
|
|
|
8
8
|
import { css, html, LitElement } from 'lit-element'
|
|
9
9
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
10
10
|
import { CARTON_LABEL_SETTING_KEY, CARTON_LABEL_BY_SKU_SETTING_KEY } from '../constants'
|
|
11
|
+
import { sleep } from '@things-factory/utils'
|
|
11
12
|
|
|
12
13
|
import gql from 'graphql-tag'
|
|
13
14
|
|
|
@@ -241,7 +242,7 @@ class CartonLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
|
|
|
241
242
|
|
|
242
243
|
for (let i = 0; i < printData.length; i++) {
|
|
243
244
|
await sendToPrinter(labelId, { ...printData[i], carton: printData[i].cartonId }, this._printer)
|
|
244
|
-
|
|
245
|
+
await sleep(300)
|
|
245
246
|
}
|
|
246
247
|
}
|
|
247
248
|
break
|
|
@@ -258,9 +259,7 @@ class CartonLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
|
|
|
258
259
|
cartonId: results[i].cartonId,
|
|
259
260
|
customer: bizplaceName
|
|
260
261
|
}
|
|
261
|
-
|
|
262
262
|
await sendToPrinter(labelId, printData, this._printer)
|
|
263
|
-
setTimeout(50)
|
|
264
263
|
}
|
|
265
264
|
}
|
|
266
265
|
} catch (e) {
|
|
@@ -1354,6 +1354,9 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1354
1354
|
this._selectedOrderProduct = null
|
|
1355
1355
|
|
|
1356
1356
|
if (foundOrderProducts?.length > 1) {
|
|
1357
|
+
if (foundOrderProducts.some(op => op.product.isRequiredCheckExpiry))
|
|
1358
|
+
this._isRequiredCheckExpiry = true
|
|
1359
|
+
|
|
1357
1360
|
if (this._isRequireSerialNumberScanningInbound) {
|
|
1358
1361
|
if (!this._selectedOrderProduct) {
|
|
1359
1362
|
return foundOrderProducts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.502",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@things-factory/print-ui": "^4.3.434",
|
|
92
92
|
"@things-factory/product-base": "^4.3.495",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.452",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.502",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.381",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.381",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.381",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@things-factory/system-ui": "^4.3.434",
|
|
108
108
|
"@things-factory/transport-base": "^4.3.452",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.452",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.502",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.502"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.381",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"cypress-localstorage-commands": "^1.6.1",
|
|
118
118
|
"eslint-plugin-cypress": "^2.12.1"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "957513fdcd72830eebf001bf27fa6febcc1cd5e6"
|
|
121
121
|
}
|