@things-factory/operato-wms 4.3.490 → 4.3.491
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.
|
@@ -219,8 +219,8 @@ class CartonLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
|
|
|
219
219
|
|
|
220
220
|
selected.forEach((obj, idx) => {
|
|
221
221
|
for (let index = 0; index < obj.printQty; index++) {
|
|
222
|
-
let manufactureDate= new Date(obj.manufactureDate)
|
|
223
|
-
let manufactureYear= manufactureDate.getFullYear()
|
|
222
|
+
let manufactureDate = new Date(obj.manufactureDate)
|
|
223
|
+
let manufactureYear = manufactureDate.getFullYear()
|
|
224
224
|
printData.push({
|
|
225
225
|
batchId: obj.batchId,
|
|
226
226
|
productSku: obj.productSku,
|
|
@@ -241,6 +241,7 @@ class CartonLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
|
|
|
241
241
|
|
|
242
242
|
for (let i = 0; i < printData.length; i++) {
|
|
243
243
|
await sendToPrinter(labelId, { ...printData[i], carton: printData[i].cartonId }, this._printer)
|
|
244
|
+
setTimeout(50)
|
|
244
245
|
}
|
|
245
246
|
}
|
|
246
247
|
break
|
|
@@ -259,6 +260,7 @@ class CartonLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
|
|
|
259
260
|
}
|
|
260
261
|
|
|
261
262
|
await sendToPrinter(labelId, printData, this._printer)
|
|
263
|
+
setTimeout(50)
|
|
262
264
|
}
|
|
263
265
|
}
|
|
264
266
|
} catch (e) {
|
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.491",
|
|
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.452",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.452",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.491",
|
|
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",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@things-factory/transport-base": "^4.3.452",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.452",
|
|
110
110
|
"@things-factory/warehouse-base": "^4.3.479",
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.491"
|
|
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": "d8e60884f674e4fed6443a115c3979b6287c241a"
|
|
121
121
|
}
|