@things-factory/operato-wms 4.3.116 → 4.3.117
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.
|
@@ -50,7 +50,8 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
50
50
|
_scanning: Boolean,
|
|
51
51
|
_worksheetInfo: Object,
|
|
52
52
|
_records: Array,
|
|
53
|
-
_selectedLocation: String
|
|
53
|
+
_selectedLocation: String,
|
|
54
|
+
_pageSettings: Object
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
|
|
@@ -209,11 +210,32 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
209
210
|
${this._enableCartonLabel
|
|
210
211
|
? html`
|
|
211
212
|
<label>${i18next.t('label.carton_id')}</label>
|
|
212
|
-
<barcode-scanable-input
|
|
213
|
+
<barcode-scanable-input
|
|
214
|
+
name="cartonId"
|
|
215
|
+
custom-input
|
|
216
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
217
|
+
@keypress="${async e => {
|
|
218
|
+
if (e.keyCode === 13) {
|
|
219
|
+
e.preventDefault()
|
|
220
|
+
await this._putaway(e)
|
|
221
|
+
}
|
|
222
|
+
}}"
|
|
223
|
+
></barcode-scanable-input>
|
|
213
224
|
`
|
|
214
225
|
: html`
|
|
215
226
|
<label>${i18next.t('label.lot_id')}</label>
|
|
216
|
-
<barcode-scanable-input
|
|
227
|
+
<barcode-scanable-input
|
|
228
|
+
name="palletId"
|
|
229
|
+
.value=${this._pallet}
|
|
230
|
+
custom-input
|
|
231
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
232
|
+
@keypress="${async e => {
|
|
233
|
+
if (e.keyCode === 13) {
|
|
234
|
+
e.preventDefault()
|
|
235
|
+
await this._putaway(e)
|
|
236
|
+
}
|
|
237
|
+
}}"
|
|
238
|
+
></barcode-scanable-input>
|
|
217
239
|
`}
|
|
218
240
|
${this._operationType === OPERATION_TYPE.PUTAWAY
|
|
219
241
|
? html`
|
|
@@ -223,6 +245,13 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
223
245
|
name="locationCode"
|
|
224
246
|
.value=${this._location}
|
|
225
247
|
custom-input
|
|
248
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
249
|
+
@keypress="${async e => {
|
|
250
|
+
if (e.keyCode === 13) {
|
|
251
|
+
e.preventDefault()
|
|
252
|
+
await this._putaway(e)
|
|
253
|
+
}
|
|
254
|
+
}}"
|
|
226
255
|
></barcode-scanable-input>`
|
|
227
256
|
: ''}
|
|
228
257
|
<select
|
|
@@ -249,6 +278,13 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
249
278
|
name="toPalletId"
|
|
250
279
|
.value=${this._location}
|
|
251
280
|
custom-input
|
|
281
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
282
|
+
@keypress="${async e => {
|
|
283
|
+
if (e.keyCode === 13) {
|
|
284
|
+
e.preventDefault()
|
|
285
|
+
await this._putaway(e)
|
|
286
|
+
}
|
|
287
|
+
}}"
|
|
252
288
|
></barcode-scanable-input>
|
|
253
289
|
|
|
254
290
|
<label>${i18next.t('label.qty')}</label>
|
|
@@ -310,7 +346,12 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
310
346
|
}
|
|
311
347
|
}
|
|
312
348
|
|
|
313
|
-
pageInitialized() {
|
|
349
|
+
async pageInitialized() {
|
|
350
|
+
this._pageSettings = {
|
|
351
|
+
...this._pageSettings,
|
|
352
|
+
cameraScanOnly: (await fetchSettingRule('camera-scan-only')) || false
|
|
353
|
+
}
|
|
354
|
+
|
|
314
355
|
this.config = {
|
|
315
356
|
rows: {
|
|
316
357
|
appendable: false,
|
|
@@ -53,7 +53,8 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
53
53
|
orderProductConfig: Object,
|
|
54
54
|
orderProductData: Object,
|
|
55
55
|
orderVasData: Object,
|
|
56
|
-
refOrderType: String
|
|
56
|
+
refOrderType: String,
|
|
57
|
+
_pageSettings: Object
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
|
|
@@ -260,6 +261,13 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
260
261
|
.value=${this._cartonId}
|
|
261
262
|
without-enter
|
|
262
263
|
custom-input
|
|
264
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
265
|
+
@keypress="${async e => {
|
|
266
|
+
if (e.keyCode === 13) {
|
|
267
|
+
e.preventDefault()
|
|
268
|
+
await this._transactionHandler(e)
|
|
269
|
+
}
|
|
270
|
+
}}"
|
|
263
271
|
></barcode-scanable-input>`
|
|
264
272
|
: html`<label>${i18next.t('label.lot_id')}</label>
|
|
265
273
|
<barcode-scanable-input
|
|
@@ -267,11 +275,29 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
267
275
|
.value=${this._palletId}
|
|
268
276
|
without-enter
|
|
269
277
|
custom-input
|
|
278
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
279
|
+
@keypress="${async e => {
|
|
280
|
+
if (e.keyCode === 13) {
|
|
281
|
+
e.preventDefault()
|
|
282
|
+
await this._transactionHandler(e)
|
|
283
|
+
}
|
|
284
|
+
}}"
|
|
270
285
|
></barcode-scanable-input>`}
|
|
271
286
|
${this._enableProductScanning
|
|
272
287
|
? html`
|
|
273
288
|
<label>${i18next.t('label.product_barcode')}</label>
|
|
274
|
-
<barcode-scanable-input
|
|
289
|
+
<barcode-scanable-input
|
|
290
|
+
name="productBarcode"
|
|
291
|
+
without-enter
|
|
292
|
+
custom-input
|
|
293
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
294
|
+
@keypress="${async e => {
|
|
295
|
+
if (e.keyCode === 13) {
|
|
296
|
+
e.preventDefault()
|
|
297
|
+
await this._transactionHandler(e)
|
|
298
|
+
}
|
|
299
|
+
}}"
|
|
300
|
+
></barcode-scanable-input>
|
|
275
301
|
`
|
|
276
302
|
: ''}
|
|
277
303
|
${this._enableInputQty >= 0 && this._enableInputQty < 4 && !this._isRequireSerialNumberScanningInbound
|
|
@@ -290,7 +316,18 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
290
316
|
${this._isRequireSerialNumberScanningInbound
|
|
291
317
|
? html`<fieldset>
|
|
292
318
|
<label>${i18next.t('label.serial_number')}</label>
|
|
293
|
-
<barcode-scanable-input
|
|
319
|
+
<barcode-scanable-input
|
|
320
|
+
name="serialNumber"
|
|
321
|
+
without-enter
|
|
322
|
+
custom-input
|
|
323
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
324
|
+
@keypress="${async e => {
|
|
325
|
+
if (e.keyCode === 13) {
|
|
326
|
+
e.preventDefault()
|
|
327
|
+
await this._transactionHandler(e)
|
|
328
|
+
}
|
|
329
|
+
}}"
|
|
330
|
+
></barcode-scanable-input>
|
|
294
331
|
</fieldset>`
|
|
295
332
|
: ''}
|
|
296
333
|
</form>
|
|
@@ -354,7 +391,12 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
354
391
|
}
|
|
355
392
|
}
|
|
356
393
|
|
|
357
|
-
pageInitialized() {
|
|
394
|
+
async pageInitialized() {
|
|
395
|
+
this._pageSettings = {
|
|
396
|
+
...this._pageSettings,
|
|
397
|
+
cameraScanOnly: await fetchSettingRule('camera-scan-only')
|
|
398
|
+
}
|
|
399
|
+
|
|
358
400
|
this.orderProductConfig = {
|
|
359
401
|
rows: {
|
|
360
402
|
appendable: false,
|
|
@@ -57,7 +57,8 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
57
57
|
releaseGoodNo: String,
|
|
58
58
|
releaseGoodId: String,
|
|
59
59
|
worksheetNo: String,
|
|
60
|
-
toteNo: String
|
|
60
|
+
toteNo: String,
|
|
61
|
+
_pageSettings: Object
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
64
|
|
|
@@ -372,10 +373,12 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
372
373
|
<barcode-scanable-input
|
|
373
374
|
name="binLocation"
|
|
374
375
|
custom-input
|
|
375
|
-
|
|
376
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
377
|
+
@keypress="${async e => {
|
|
376
378
|
if (e.keyCode === 13) {
|
|
377
379
|
e.preventDefault()
|
|
378
380
|
this._currentBinLocation = this.binLocationInput.value
|
|
381
|
+
await this.picking(e)
|
|
379
382
|
}
|
|
380
383
|
}}"
|
|
381
384
|
></barcode-scanable-input>
|
|
@@ -384,16 +387,46 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
384
387
|
${this._isCartonLabel
|
|
385
388
|
? html`
|
|
386
389
|
<label>${i18next.t('label.carton_id')}</label>
|
|
387
|
-
<barcode-scanable-input
|
|
390
|
+
<barcode-scanable-input
|
|
391
|
+
name="cartonId"
|
|
392
|
+
custom-input
|
|
393
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
394
|
+
@keypress="${async e => {
|
|
395
|
+
if (e.keyCode === 13) {
|
|
396
|
+
e.preventDefault()
|
|
397
|
+
await this.picking(e)
|
|
398
|
+
}
|
|
399
|
+
}}"
|
|
400
|
+
></barcode-scanable-input>
|
|
388
401
|
`
|
|
389
402
|
: html`
|
|
390
403
|
<label>${i18next.t('label.lot_id')}</label>
|
|
391
|
-
<barcode-scanable-input
|
|
404
|
+
<barcode-scanable-input
|
|
405
|
+
name="palletId"
|
|
406
|
+
custom-input
|
|
407
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
408
|
+
@keypress="${async e => {
|
|
409
|
+
if (e.keyCode === 13) {
|
|
410
|
+
e.preventDefault()
|
|
411
|
+
await this.picking(e)
|
|
412
|
+
}
|
|
413
|
+
}}"
|
|
414
|
+
></barcode-scanable-input>
|
|
392
415
|
`}
|
|
393
416
|
${this._enableProductScanning && this._isCartonLabel
|
|
394
417
|
? html`
|
|
395
418
|
<label>${i18next.t('label.product_barcode')}</label>
|
|
396
|
-
<barcode-scanable-input
|
|
419
|
+
<barcode-scanable-input
|
|
420
|
+
name="productBarcode"
|
|
421
|
+
custom-input
|
|
422
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
423
|
+
@keypress="${async e => {
|
|
424
|
+
if (e.keyCode === 13) {
|
|
425
|
+
e.preventDefault()
|
|
426
|
+
await this.picking(e)
|
|
427
|
+
}
|
|
428
|
+
}}"
|
|
429
|
+
></barcode-scanable-input>
|
|
397
430
|
`
|
|
398
431
|
: ''}
|
|
399
432
|
${!this._isRequireSerialNumberScanningOutbound &&
|
|
@@ -409,7 +442,17 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
409
442
|
${this._isRequireSerialNumberScanningOutbound
|
|
410
443
|
? html`
|
|
411
444
|
<label>${i18next.t('label.serial_number')}</label>
|
|
412
|
-
<barcode-scanable-input
|
|
445
|
+
<barcode-scanable-input
|
|
446
|
+
name="serialNumber"
|
|
447
|
+
custom-input
|
|
448
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
449
|
+
@keypress="${async e => {
|
|
450
|
+
if (e.keyCode === 13) {
|
|
451
|
+
e.preventDefault()
|
|
452
|
+
await this.picking(e)
|
|
453
|
+
}
|
|
454
|
+
}}"
|
|
455
|
+
></barcode-scanable-input>
|
|
413
456
|
`
|
|
414
457
|
: ``}
|
|
415
458
|
${this.isWholePicking ||
|
|
@@ -423,7 +466,17 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
423
466
|
: html`${(this._isRequireSerialNumberScanningOutbound && this._isLastUnit) ||
|
|
424
467
|
!this._isRequireSerialNumberScanningOutbound
|
|
425
468
|
? html` <label>${i18next.t('label.return_location')}</label>
|
|
426
|
-
<barcode-scanable-input
|
|
469
|
+
<barcode-scanable-input
|
|
470
|
+
name="locationName"
|
|
471
|
+
custom-input
|
|
472
|
+
?scan-only=${this._pageSettings?.cameraScanOnly}
|
|
473
|
+
@keypress="${async e => {
|
|
474
|
+
if (e.keyCode === 13) {
|
|
475
|
+
e.preventDefault()
|
|
476
|
+
await this.picking(e)
|
|
477
|
+
}
|
|
478
|
+
}}"
|
|
479
|
+
></barcode-scanable-input>`
|
|
427
480
|
: ''}`}
|
|
428
481
|
<select
|
|
429
482
|
?hidden="${!this._incompleteLocationName}"
|
|
@@ -473,9 +526,10 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
473
526
|
}
|
|
474
527
|
|
|
475
528
|
async pageInitialized() {
|
|
476
|
-
const [enableBinPickingTask, locationSortingTask] = [
|
|
529
|
+
const [enableBinPickingTask, locationSortingTask, cameraScanOnly] = [
|
|
477
530
|
fetchSettingRule('enable-bin-picking'),
|
|
478
|
-
fetchLocationSortingRule(LOCATION_SORTING_RULE.PICKING_PRODUCT.value)
|
|
531
|
+
fetchLocationSortingRule(LOCATION_SORTING_RULE.PICKING_PRODUCT.value),
|
|
532
|
+
fetchSettingRule('camera-scan-only')
|
|
479
533
|
]
|
|
480
534
|
|
|
481
535
|
this.config = {
|
|
@@ -621,6 +675,11 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
621
675
|
|
|
622
676
|
this.locationSortingRules = await locationSortingTask
|
|
623
677
|
this._hasBinPicking = await enableBinPickingTask
|
|
678
|
+
|
|
679
|
+
this._pageSettings = {
|
|
680
|
+
...this._pageSettings,
|
|
681
|
+
cameraScanOnly: (await cameraScanOnly) || false
|
|
682
|
+
}
|
|
624
683
|
}
|
|
625
684
|
|
|
626
685
|
formatWorksheetDetailInfos(wsdInfos) {
|
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.117",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@things-factory/apptool-ui": "^4.3.114",
|
|
67
67
|
"@things-factory/attachment-ui": "^4.3.114",
|
|
68
68
|
"@things-factory/auth-ui": "^4.3.114",
|
|
69
|
-
"@things-factory/barcode-ui": "^4.3.
|
|
69
|
+
"@things-factory/barcode-ui": "^4.3.117",
|
|
70
70
|
"@things-factory/biz-ui": "^4.3.114",
|
|
71
71
|
"@things-factory/board-service": "^4.3.114",
|
|
72
72
|
"@things-factory/board-ui": "^4.3.115",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@things-factory/scene-form": "^4.3.114",
|
|
100
100
|
"@things-factory/scene-google-map": "^4.3.114",
|
|
101
101
|
"@things-factory/scene-graphql": "^4.3.114",
|
|
102
|
-
"@things-factory/scene-label": "^4.3.
|
|
102
|
+
"@things-factory/scene-label": "^4.3.117",
|
|
103
103
|
"@things-factory/scene-marker": "^4.3.114",
|
|
104
104
|
"@things-factory/scene-mqtt": "^4.3.114",
|
|
105
105
|
"@things-factory/scene-restful": "^4.3.114",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"cypress-localstorage-commands": "^1.6.1",
|
|
119
119
|
"eslint-plugin-cypress": "^2.12.1"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "0281c7791cd1844cdefbfa0eae6836a7bde8896d"
|
|
122
122
|
}
|