@things-factory/operato-wms 4.3.306 → 4.3.308
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.
|
@@ -22,7 +22,8 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
22
22
|
_selectedInventory: Object,
|
|
23
23
|
refInventoryType: String,
|
|
24
24
|
_data: Object,
|
|
25
|
-
_gristConfig: Object
|
|
25
|
+
_gristConfig: Object,
|
|
26
|
+
_isExecuting: Boolean
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
|
|
@@ -393,6 +394,11 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
393
394
|
`
|
|
394
395
|
}
|
|
395
396
|
|
|
397
|
+
constructor() {
|
|
398
|
+
super()
|
|
399
|
+
this._isExecuting = false
|
|
400
|
+
}
|
|
401
|
+
|
|
396
402
|
pageInitialized() {
|
|
397
403
|
this.refInventoryType = INVENTORY_TYPES.LOT.value
|
|
398
404
|
this._gristConfig = {
|
|
@@ -584,7 +590,6 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
584
590
|
})
|
|
585
591
|
|
|
586
592
|
if (!response.errors) {
|
|
587
|
-
|
|
588
593
|
// let foundId = response.data.inventories.total
|
|
589
594
|
if (response.data.inventories.total == 0) {
|
|
590
595
|
if (this.refInventoryType === INVENTORY_TYPES.LOT.value) {
|
|
@@ -622,10 +627,12 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
622
627
|
}
|
|
623
628
|
|
|
624
629
|
async transferInventory(e) {
|
|
625
|
-
e.stopPropagation()
|
|
626
|
-
e.preventDefault()
|
|
627
|
-
|
|
628
630
|
try {
|
|
631
|
+
e.stopPropagation()
|
|
632
|
+
e.preventDefault()
|
|
633
|
+
|
|
634
|
+
if (this._isExecuting) throw new Error(i18next.t('text.please_wait_for_current_process_to_be_completed'))
|
|
635
|
+
this._isExecuting = true
|
|
629
636
|
this._validate()
|
|
630
637
|
|
|
631
638
|
const result = await CustomAlert({
|
|
@@ -680,6 +687,8 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
680
687
|
}
|
|
681
688
|
} catch (e) {
|
|
682
689
|
this.showToast(e)
|
|
690
|
+
} finally {
|
|
691
|
+
this._isExecuting = false
|
|
683
692
|
}
|
|
684
693
|
}
|
|
685
694
|
|
|
@@ -507,6 +507,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
507
507
|
return flattenObject(
|
|
508
508
|
{
|
|
509
509
|
...item,
|
|
510
|
+
expirationDate: item.expirationDate ? new Date(item.expirationDate).toDateString().slice(4, 16) : '',
|
|
510
511
|
product: {
|
|
511
512
|
...item.product,
|
|
512
513
|
name: `${item.product.name} ${item.product.description}`,
|
|
@@ -577,7 +578,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
577
578
|
{ header: i18next.t('field.lot_id'), key: 'palletId', width: 25, type: 'string' },
|
|
578
579
|
{ header: i18next.t('field.carton_id'), key: 'cartonId', width: 25, type: 'string' },
|
|
579
580
|
{ header: i18next.t('field.batch_id'), key: 'batchId', width: 25, type: 'string' },
|
|
580
|
-
{ header: i18next.t('field.initial_inbound_date'), key: 'initialInboundAt', width: 25, type: '
|
|
581
|
+
{ header: i18next.t('field.initial_inbound_date'), key: 'initialInboundAt', width: 25, type: 'datetime' },
|
|
581
582
|
{ header: i18next.t('field.company'), key: 'bizplace_name', width: 30, type: 'string' },
|
|
582
583
|
{ header: i18next.t('field.sku_code'), key: 'product_sku', width: 25, type: 'string' },
|
|
583
584
|
{ header: i18next.t('field.product'), key: 'product_name', width: 40, type: 'string' },
|
|
@@ -590,7 +591,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
590
591
|
{ header: i18next.t('field.non_loaded_uom_value'), key: 'nonLoadedUomValue', width: 25, type: 'string' },
|
|
591
592
|
{ header: i18next.t('field.uom'), key: 'uom', width: 15, type: 'string' },
|
|
592
593
|
{ header: i18next.t('field.location'), key: 'location_name', width: 25, type: 'string' },
|
|
593
|
-
{ header: i18next.t('field.exp_date'), key: 'expirationDate', width: 30, type: '
|
|
594
|
+
{ header: i18next.t('field.exp_date'), key: 'expirationDate', width: 30, type: 'string' },
|
|
594
595
|
{ header: i18next.t('field.batch_no_ref'), key: 'batchIdRef', width: 50, type: 'string' },
|
|
595
596
|
{ header: i18next.t('field.volume_m3'), key: 'volume', width: 25, type: 'float' },
|
|
596
597
|
{ header: i18next.t('field.unit_cost'), key: 'unitCost', width: 25, type: 'float' },
|
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.308",
|
|
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.281",
|
|
92
92
|
"@things-factory/product-base": "^4.3.301",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.281",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.308",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.281",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.281",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.281",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@things-factory/system-ui": "^4.3.281",
|
|
108
108
|
"@things-factory/transport-base": "^4.3.301",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.281",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.308",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.308"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.281",
|
|
@@ -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": "b1221dd6e7f047899a18b5f69d0e4a4bd14cc80c"
|
|
121
121
|
}
|
package/translations/en.json
CHANGED
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
"field.name": "name",
|
|
389
389
|
"field.need_fleet": "need fleet",
|
|
390
390
|
"field.need_transport": "need transport",
|
|
391
|
-
"field.nett_stock":"nett stock",
|
|
391
|
+
"field.nett_stock": "nett stock",
|
|
392
392
|
"field.nett_weight": "nett weight",
|
|
393
393
|
"field.new_sku_same_as_original_sku": "new SKU same as original SKU",
|
|
394
394
|
"field.new_sku": "new SKU",
|
|
@@ -1483,6 +1483,7 @@
|
|
|
1483
1483
|
"text.please_select_the_product": "please select the product",
|
|
1484
1484
|
"text.please_select_transport_type": "please select transport type",
|
|
1485
1485
|
"text.please_wait": "please wait",
|
|
1486
|
+
"text.please_wait_for_current_process_to_be_completed": "please wait for current process to be completed",
|
|
1486
1487
|
"text.preunload_has_completed": "preunload has been completed",
|
|
1487
1488
|
"text.previous_picking_is_still_executing_please_wait": "Previous picking is still executing. Please wait",
|
|
1488
1489
|
"text.previous_scan_is_executing": "previous scan is executing",
|
package/translations/ko.json
CHANGED
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
"field.name": "이름",
|
|
393
393
|
"field.need_fleet": "선적 필요여부",
|
|
394
394
|
"field.need_transport": "운송 필요여부",
|
|
395
|
-
"field.nett_stock":"[ko]nett stock",
|
|
395
|
+
"field.nett_stock": "[ko]nett stock",
|
|
396
396
|
"field.nett_weight": "[ko]nett weight",
|
|
397
397
|
"field.no_of_items": "[ko] no of items",
|
|
398
398
|
"field.no": "[ko]no",
|
|
@@ -2187,5 +2187,6 @@
|
|
|
2187
2187
|
"field.executed_at_to_date": "[ko] executed at to date",
|
|
2188
2188
|
"field.latest_execution_from_date": "[ko] latest execution from date",
|
|
2189
2189
|
"field.latest_execution_to_date": "[ko] latest execution to date",
|
|
2190
|
-
"title.selected_vas": "[ko] selected vas"
|
|
2190
|
+
"title.selected_vas": "[ko] selected vas",
|
|
2191
|
+
"text.please_wait_for_current_process_to_be_completed": "[ko] please wait for current process to be completed"
|
|
2191
2192
|
}
|
package/translations/ms.json
CHANGED
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
"field.name": "nama",
|
|
376
376
|
"field.need_fleet": "keperluan armada",
|
|
377
377
|
"field.need_transport": "kenderaan diperlukan",
|
|
378
|
-
"field.nett_stock":"[ms]nett stock",
|
|
378
|
+
"field.nett_stock": "[ms]nett stock",
|
|
379
379
|
"field.nett_weight": "[ms]nett weight",
|
|
380
380
|
"field.no_of_items": "[ms] no of items",
|
|
381
381
|
"field.no": "[ms]no",
|
|
@@ -2060,5 +2060,6 @@
|
|
|
2060
2060
|
"field.executed_at_to_date": "[ms] executed at to date",
|
|
2061
2061
|
"field.latest_execution_from_date": "[ms] latest execution from date",
|
|
2062
2062
|
"field.latest_execution_to_date": "[ms] latest execution to date",
|
|
2063
|
-
"title.selected_vas": "[ms] selected vas"
|
|
2063
|
+
"title.selected_vas": "[ms] selected vas",
|
|
2064
|
+
"text.please_wait_for_current_process_to_be_completed": "[ms] please wait for current process to be completed"
|
|
2064
2065
|
}
|
package/translations/zh.json
CHANGED
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"field.name": "名称",
|
|
360
360
|
"field.need_fleet": "需要车队",
|
|
361
361
|
"field.need_transport": "[zh]need transport",
|
|
362
|
-
"field.nett_stock":"[zh]nett stock",
|
|
362
|
+
"field.nett_stock": "[zh]nett stock",
|
|
363
363
|
"field.nett_weight": "[zh]nett weight",
|
|
364
364
|
"field.no": "[zh]no",
|
|
365
365
|
"field.non_tally": "[zh]non tally",
|
|
@@ -2005,10 +2005,11 @@
|
|
|
2005
2005
|
"title.vas_order_report": "[zh] vas order report",
|
|
2006
2006
|
"title.date_vas_order_report": "[zh] {state.text} Vas Order Report",
|
|
2007
2007
|
"field.executed_at": "[zh] executed at",
|
|
2008
|
-
"field.latest_execution": "[
|
|
2009
|
-
"field.executed_at_from_date": "[
|
|
2010
|
-
"field.executed_at_to_date": "[
|
|
2011
|
-
"field.latest_execution_from_date": "[
|
|
2012
|
-
"field.latest_execution_to_date": "[
|
|
2013
|
-
"title.selected_vas": "[zh] selected vas"
|
|
2008
|
+
"field.latest_execution": "[zh] latest execution",
|
|
2009
|
+
"field.executed_at_from_date": "[zh] executed at from date",
|
|
2010
|
+
"field.executed_at_to_date": "[zh] executed at to date",
|
|
2011
|
+
"field.latest_execution_from_date": "[zh] latest execution from date",
|
|
2012
|
+
"field.latest_execution_to_date": "[zh] latest execution to date",
|
|
2013
|
+
"title.selected_vas": "[zh] selected vas",
|
|
2014
|
+
"text.please_wait_for_current_process_to_be_completed": "[zh] please wait for current process to be completed"
|
|
2014
2015
|
}
|