@things-factory/operato-wms 4.3.214 → 4.3.215
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.
|
@@ -917,7 +917,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
917
917
|
`,
|
|
918
918
|
variables: {
|
|
919
919
|
arrivalNoticeNo: this._orderNo,
|
|
920
|
-
worksheetDetailName: this.
|
|
920
|
+
worksheetDetailName: this._selectedOrderProduct.name,
|
|
921
921
|
palletId: this._enableCartonLabel ? null : this.getInput(this.palletInput).value,
|
|
922
922
|
cartonId: this._enableCartonLabel ? this.getInput(this.cartonInput).value : null,
|
|
923
923
|
toLocation: this.locationInput ? this.locationInput.value : this._selectedLocation
|
|
@@ -1264,13 +1264,23 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1264
1264
|
throw new Error(i18next.t('text.unable_to_find_matching_x', { state: { x: i18next.t('label.carton') } }))
|
|
1265
1265
|
}
|
|
1266
1266
|
} else {
|
|
1267
|
-
|
|
1267
|
+
let palletInputValue = this.getInput(this.palletInput).value
|
|
1268
|
+
|
|
1268
1269
|
// 2. pallet id existing
|
|
1269
|
-
if (!
|
|
1270
|
+
if (!palletInputValue) {
|
|
1270
1271
|
this._focusOnPalletInput()
|
|
1271
1272
|
throw new Error(i18next.t('text.lot_id_is_empty'))
|
|
1272
1273
|
}
|
|
1273
1274
|
|
|
1275
|
+
if (!this._selectedOrderProduct?.palletId !== palletInputValue) {
|
|
1276
|
+
this._selectedOrderProduct = this.data.records.find(x => x.palletId == palletInputValue && x.status !== 'DONE')
|
|
1277
|
+
|
|
1278
|
+
if (!this._selectedOrderProduct)
|
|
1279
|
+
throw new Error(i18next.t('text.unable_to_find_matching_x', { state: { x: i18next.t('label.lot_id') } }))
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
if (!this._selectedOrderProduct) throw new Error(i18next.t('text.target_is_not_selected'))
|
|
1283
|
+
|
|
1274
1284
|
// 3. equality of pallet id
|
|
1275
1285
|
if (this._selectedOrderProduct.reusablePalletName !== this.getInput(this.palletInput).value) {
|
|
1276
1286
|
if (this._selectedOrderProduct.palletId !== this.getInput(this.palletInput).value) {
|
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.215",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -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": "6769cca108169f76d8d6c5337eb158f662ad122d"
|
|
121
121
|
}
|