@things-factory/operato-wms 4.3.66 → 4.3.67
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.
|
@@ -6,12 +6,12 @@ import './show-my-worksheet-list-popup'
|
|
|
6
6
|
import '../components/worksheet-information-popup'
|
|
7
7
|
import './serial-number-popup'
|
|
8
8
|
import './tote-popup'
|
|
9
|
-
import { sleep } from '@operato/utils'
|
|
10
9
|
|
|
11
10
|
import gql from 'graphql-tag'
|
|
12
11
|
import { css, html } from 'lit-element'
|
|
13
12
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
14
13
|
|
|
14
|
+
import { sleep } from '@operato/utils'
|
|
15
15
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
16
16
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
17
17
|
import { openPopup } from '@things-factory/layout-base'
|
|
@@ -21,16 +21,7 @@ import { isMobileDevice } from '@things-factory/utils'
|
|
|
21
21
|
|
|
22
22
|
import { fetchLocationSortingRule } from '../../fetch-location-sorting-rule'
|
|
23
23
|
import { fetchSettingRule } from '../../fetch-setting-value'
|
|
24
|
-
import {
|
|
25
|
-
BATCH_PICKING,
|
|
26
|
-
LOCATION_SORTING_RULE,
|
|
27
|
-
LOCATION_STATUS,
|
|
28
|
-
LOCATION_TYPE,
|
|
29
|
-
ORDER_SOURCES,
|
|
30
|
-
ORDER_STATUS,
|
|
31
|
-
PICKING,
|
|
32
|
-
RO_TYPES
|
|
33
|
-
} from '../constants'
|
|
24
|
+
import { BATCH_PICKING, LOCATION_SORTING_RULE, LOCATION_TYPE, ORDER_SOURCES, PICKING, RO_TYPES } from '../constants'
|
|
34
25
|
|
|
35
26
|
const PICKING_TYPES = { PICKING, BATCH_PICKING }
|
|
36
27
|
class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
@@ -496,7 +487,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
496
487
|
this.inputForm.reset()
|
|
497
488
|
this._isReplacement = false
|
|
498
489
|
|
|
499
|
-
if (this.binLocationInput) this.binLocationInput.value = ''
|
|
500
490
|
if (this.productBarcodeInput) this.productBarcodeInput.value = ''
|
|
501
491
|
if (this.cartonInput) this.cartonInput.value = ''
|
|
502
492
|
if (this.palletInput) this.palletInput.value = ''
|
|
@@ -1486,6 +1476,17 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1486
1476
|
}
|
|
1487
1477
|
|
|
1488
1478
|
if (!this.releaseQtyInput?.checkValidity()) throw new Error(i18next.t('text.release_qty_invalid'))
|
|
1479
|
+
|
|
1480
|
+
// typed qty should be matched with release qty.
|
|
1481
|
+
if (
|
|
1482
|
+
parseInt(this.releaseQtyInput.value) !==
|
|
1483
|
+
this._selectedOrderInventory.releaseQty -
|
|
1484
|
+
(this._selectedOrderInventory.pickedQty ? this._selectedOrderInventory.pickedQty : 0) &&
|
|
1485
|
+
!this._isCartonLabel
|
|
1486
|
+
) {
|
|
1487
|
+
this._focusOnReleaseQtyInput()
|
|
1488
|
+
throw new Error(i18next.t('text.wrong_release_qty'))
|
|
1489
|
+
}
|
|
1489
1490
|
}
|
|
1490
1491
|
}
|
|
1491
1492
|
|
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.67",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@things-factory/print-ui": "^4.3.66",
|
|
93
93
|
"@things-factory/product-base": "^4.3.66",
|
|
94
94
|
"@things-factory/resource-ui": "^4.3.66",
|
|
95
|
-
"@things-factory/sales-ui": "^4.3.
|
|
95
|
+
"@things-factory/sales-ui": "^4.3.67",
|
|
96
96
|
"@things-factory/scene-data-transform": "^4.3.66",
|
|
97
97
|
"@things-factory/scene-excel": "^4.3.66",
|
|
98
98
|
"@things-factory/scene-firebase": "^4.3.66",
|
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
"@things-factory/system-ui": "^4.3.66",
|
|
109
109
|
"@things-factory/transport-base": "^4.3.66",
|
|
110
110
|
"@things-factory/tutorial-ui": "^4.3.66",
|
|
111
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
111
|
+
"@things-factory/warehouse-base": "^4.3.67",
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.67"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@things-factory/builder": "^4.3.66",
|
|
@@ -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": "df1131ef0d2af26859970dfbbdf77430f58f7435"
|
|
122
122
|
}
|