@things-factory/operato-wms 4.3.549 → 4.3.551
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.
- package/client/pages/inbound/{putaway-product.js → putaway/putaway-product.js} +282 -52
- package/client/pages/inbound/{putaway-replenishment-inventory-popup.js → putaway/putaway-replenishment-inventory-popup.js} +4 -4
- package/client/pages/inbound/putaway/putaway-replenishment-same-product-popup.js +192 -0
- package/client/pages/inbound/{putaway-worksheet-generate-popup.js → putaway/putaway-worksheet-generate-popup.js} +39 -50
- package/client/pages/inbound/{undo-putaway-popup.js → putaway/undo-putaway-popup.js} +78 -37
- package/client/pages/inbound/{worksheet-putaway-return.js → putaway/worksheet-putaway-return.js} +1 -1
- package/client/pages/inbound/{worksheet-putaway.js → putaway/worksheet-putaway.js} +1 -1
- package/client/pages/inbound/worksheet-unloading-return.js +1 -1
- package/client/pages/inbound/worksheet-unloading.js +1 -2
- package/client/pages/inventory-check/cycle-count-report.js +186 -192
- package/client/pages/inventory-check/inspecting-product.js +1 -0
- package/client/pages/outbound/picking-product.js +19 -6
- package/client/pages/replenishment/replenishment.js +34 -20
- package/client/route.js +3 -3
- package/client/util/send-to-printer.js +26 -20
- package/package.json +5 -5
- package/translations/en.json +3 -0
- package/translations/ko.json +3 -0
- package/translations/ms.json +3 -0
- package/translations/zh.json +3 -0
- /package/client/pages/inbound/{putaway-same-carton-popup.js → putaway/putaway-same-carton-popup.js} +0 -0
|
@@ -3,32 +3,38 @@ export const sendToPrinter = async function (labelId, printDataArray, printer) {
|
|
|
3
3
|
throw 'Printer is not defined'
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
searchParams.append(obj[0], obj[1])
|
|
12
|
-
}
|
|
13
|
-
})
|
|
6
|
+
const chunkSize = 200 // The maximum quantity of printData items per chunks
|
|
7
|
+
|
|
8
|
+
for (let i = 0; i < printDataArray.length; i += chunkSize) {
|
|
9
|
+
const chunk = printDataArray.slice(i, i + chunkSize)
|
|
10
|
+
let commands = '' // To accumulate printData for this chunk
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
// Process each printData item in the current chunk
|
|
13
|
+
for (const printData of chunk){
|
|
14
|
+
let searchParams = new URLSearchParams()
|
|
15
|
+
Object.entries(printData).forEach(obj => {
|
|
16
|
+
if (typeof obj[1] != 'object') {
|
|
17
|
+
searchParams.append(obj[0], obj[1])
|
|
18
|
+
}
|
|
18
19
|
})
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
try {
|
|
22
|
+
const response = await fetch(`label-command/${labelId}?${searchParams.toString()}`, {
|
|
23
|
+
method: 'GET'
|
|
24
|
+
})
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
if (response.status !== 200) {
|
|
27
|
+
throw `Error : Can't get label command from server (response: ${response.status})`
|
|
28
|
+
}
|
|
26
29
|
|
|
27
|
-
|
|
30
|
+
let command = await response.text()
|
|
31
|
+
commands += command + ' '
|
|
28
32
|
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
} catch (ex) {
|
|
34
|
+
throw ex
|
|
35
|
+
}
|
|
31
36
|
}
|
|
37
|
+
|
|
38
|
+
await printer.print(commands)
|
|
32
39
|
}
|
|
33
|
-
await printer.print(commands)
|
|
34
40
|
}
|
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.551",
|
|
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.535",
|
|
92
92
|
"@things-factory/product-base": "^4.3.535",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.535",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.551",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.534",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.534",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.534",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@things-factory/system-ui": "^4.3.535",
|
|
108
108
|
"@things-factory/transport-base": "^4.3.535",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.535",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.551",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.551"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.534",
|
|
@@ -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": "0c07b711097eae74c8d75c938c9d9580d2fdf4ab"
|
|
121
121
|
}
|
package/translations/en.json
CHANGED
|
@@ -1261,6 +1261,7 @@
|
|
|
1261
1261
|
"text.activate_unloading_worksheet": "activate unloading worksheet",
|
|
1262
1262
|
"text.activate_vas_worksheet": "activate value added service worksheet",
|
|
1263
1263
|
"text.activate": "activate",
|
|
1264
|
+
"text.actual_qty_is_invalid": "actual qty is invalid",
|
|
1264
1265
|
"text.add_edit_products_has_been_submitted_for_approval": "add/edit order products has been submitted for approval",
|
|
1265
1266
|
"text.add_extra_product": "add extra product",
|
|
1266
1267
|
"text.add_edit_products_has_been_updated": "add/edit order products has been updated",
|
|
@@ -1553,6 +1554,7 @@
|
|
|
1553
1554
|
"text.no_label_setting_was_found": "no label setting was found",
|
|
1554
1555
|
"text.no_lot_id": "no lot ID",
|
|
1555
1556
|
"text.no_matching_product_found": "no matching product found",
|
|
1557
|
+
"text.no_matching_putaway_inventory_found": "no matching putaway inventory found",
|
|
1556
1558
|
"text.no_matching_unloaded_inventory_found": "no matching unloaded inventory found",
|
|
1557
1559
|
"text.no_product_barcode_detected": "no product barcode detected",
|
|
1558
1560
|
"text.no_products": "no products",
|
|
@@ -1569,6 +1571,7 @@
|
|
|
1569
1571
|
"text.only_one_file_is_allowed_for_both_AWB_upload": "Only one file is allowed for both AWB upload. Please ensure you select a single file",
|
|
1570
1572
|
"text.only_one_file_is_allowed_for_both_invoice_upload": "Only one file is allowed for both Invoice upload. Please ensure you select a single file.",
|
|
1571
1573
|
"text.only_supports_search_of_single_field": "only supports search of single field",
|
|
1574
|
+
"text.only_transfer_quantity_with_greater_than_zero": "only transfer quantity with greater than 0 will be created in the replenishment.",
|
|
1572
1575
|
"text.optional": "optional",
|
|
1573
1576
|
"text.order_has_been_set_to_ready_to_ship": "order has been set to ready to ship",
|
|
1574
1577
|
"text.order_is_not_selected": "order is not selected",
|
package/translations/ko.json
CHANGED
|
@@ -1252,6 +1252,7 @@
|
|
|
1252
1252
|
"text.activate_unloading_worksheet": "하차 작업지시서 활성화",
|
|
1253
1253
|
"text.activate_vas_worksheet": "부가서비스 작업지시서 활성화",
|
|
1254
1254
|
"text.activate": "활성화",
|
|
1255
|
+
"text.actual_qty_is_invalid": "[ko] actual qty is invalid",
|
|
1255
1256
|
"text.add_edit_products_has_been_submitted_for_approval": "[ko]add/edit order products has been submitted for approval",
|
|
1256
1257
|
"text.add_extra_product": "추가상품 추가",
|
|
1257
1258
|
"text.add_edit_products_has_been_updated": "[ko]add/edit order products has been updated",
|
|
@@ -1533,6 +1534,7 @@
|
|
|
1533
1534
|
"text.no_label_setting_was_found": "no label setting was found",
|
|
1534
1535
|
"text.no_lot_id": "lot ID가 없습니다",
|
|
1535
1536
|
"text.no_matching_product_found": "[ko] no matching product found",
|
|
1537
|
+
"text.no_matching_putaway_inventory_found": "[ko] no matching putaway inventory found",
|
|
1536
1538
|
"text.no_matching_unloaded_inventory_found": "[ko] no matching unloaded inventory found",
|
|
1537
1539
|
"text.no_pallet_id": "no pallet id",
|
|
1538
1540
|
"text.no_product_barcode_detected": "[ko] no product barcode detected",
|
|
@@ -1549,6 +1551,7 @@
|
|
|
1549
1551
|
"text.only_one_file_is_allowed_for_both_invoice_upload": "[ko]Only one file is allowed for both Invoice upload. Please ensure you select a single file.",
|
|
1550
1552
|
"text.only_one_file_is_allowed_for_both_AWB_upload": "[ko]Only one file is allowed for both AWB upload. Please ensure you select a single file",
|
|
1551
1553
|
"text.only_supports_search_of_single_field": "[ko]only supports search of single field",
|
|
1554
|
+
"text.only_transfer_quantity_with_greater_than_zero": "[ko] only transfer quantity with greater than 0 will be created in the replenishment.",
|
|
1552
1555
|
"text.optional": "선택항목",
|
|
1553
1556
|
"text.order_has_been_completed": "order has been completed",
|
|
1554
1557
|
"text.order_has_been_dispatched": "order has been dispatched",
|
package/translations/ms.json
CHANGED
|
@@ -1228,6 +1228,7 @@
|
|
|
1228
1228
|
"text.activate_unloading_worksheet": "aktifkan ",
|
|
1229
1229
|
"text.activate_vas_worksheet": "aktifkan value added service lembaran kerja",
|
|
1230
1230
|
"text.activate": "activate",
|
|
1231
|
+
"text.actual_qty_is_invalid": "[ms] actual qty is invalid",
|
|
1231
1232
|
"text.add_edit_products_has_been_submitted_for_approval": "[ms]add/edit order products has been submitted for approval",
|
|
1232
1233
|
"text.add_extra_product": "add extra product",
|
|
1233
1234
|
"text.add_edit_products_has_been_updated": "[ms]add/edit order products has been updated",
|
|
@@ -1497,6 +1498,7 @@
|
|
|
1497
1498
|
"text.no_label_setting_was_found": "[ms] no label setting was found",
|
|
1498
1499
|
"text.no_lot_id": "no lot ID",
|
|
1499
1500
|
"text.no_matching_product_found": "[ms] no matching product found",
|
|
1501
|
+
"text.no_matching_putaway_inventory_found": "[ms] no matching putaway inventory found",
|
|
1500
1502
|
"text.no_matching_unloaded_inventory_found": "[ms] no matching unloaded inventory found",
|
|
1501
1503
|
"text.no_product_barcode_detected": "[ms] no product barcode detected",
|
|
1502
1504
|
"text.no_products": "tiada produk",
|
|
@@ -1511,6 +1513,7 @@
|
|
|
1511
1513
|
"text.only_one_file_is_allowed_for_both_invoice_upload": "[ms]Only one file is allowed for both Invoice upload. Please ensure you select a single file.",
|
|
1512
1514
|
"text.only_one_file_is_allowed_for_both_AWB_upload": "[ms]Only one file is allowed for both AWB upload. Please ensure you select a single file",
|
|
1513
1515
|
"text.only_supports_search_of_single_field": "[ms]only supports search of single field",
|
|
1516
|
+
"text.only_transfer_quantity_with_greater_than_zero": "[ms] only transfer quantity with greater than 0 will be created in the replenishment.",
|
|
1514
1517
|
"text.optional": "pilihan",
|
|
1515
1518
|
"text.order_has_been_set_to_ready_to_ship": "[ms] order has been set to ready to ship",
|
|
1516
1519
|
"text.order_is_not_selected": "[ms] order is not selected",
|
package/translations/zh.json
CHANGED
|
@@ -1194,6 +1194,7 @@
|
|
|
1194
1194
|
"text.activate_unloading_worksheet": "activate unloading worksheet",
|
|
1195
1195
|
"text.activate_vas_worksheet": "activate value added service worksheet",
|
|
1196
1196
|
"text.activate": "activate",
|
|
1197
|
+
"text.actual_qty_is_invalid": "[zh] actual qty is invalid",
|
|
1197
1198
|
"text.add_edit_products_has_been_submitted_for_approval": "[zh]add/edit order products has been submitted for approval",
|
|
1198
1199
|
"text.add_extra_product": "add extra product",
|
|
1199
1200
|
"text.add_edit_products_has_been_updated": "[zh]add/edit order products has been updated",
|
|
@@ -1464,6 +1465,7 @@
|
|
|
1464
1465
|
"text.no_label_setting_was_found": "[zh] no label setting was found",
|
|
1465
1466
|
"text.no_lot_id": "no lot ID",
|
|
1466
1467
|
"text.no_matching_product_found": "[zh] no matching product found",
|
|
1468
|
+
"text.no_matching_putaway_inventory_found": "[zh] no matching putaway inventory found",
|
|
1467
1469
|
"text.no_matching_unloaded_inventory_found": "[zh] no matching unloaded inventory found",
|
|
1468
1470
|
"text.no_product_barcode_detected": "[zh] no product barcode detected",
|
|
1469
1471
|
"text.no_products": "no products",
|
|
@@ -1478,6 +1480,7 @@
|
|
|
1478
1480
|
"text.only_one_file_is_allowed_for_both_invoice_upload": "[zh]Only one file is allowed for both Invoice upload. Please ensure you select a single file.",
|
|
1479
1481
|
"text.only_one_file_is_allowed_for_both_AWB_upload": "[zh]Only one file is allowed for both AWB upload. Please ensure you select a single file",
|
|
1480
1482
|
"text.only_supports_search_of_single_field": "[zh]only supports search of single field",
|
|
1483
|
+
"text.only_transfer_quantity_with_greater_than_zero": "[zh] only transfer quantity with greater than 0 will be created in the replenishment.",
|
|
1481
1484
|
"text.optional": "optional",
|
|
1482
1485
|
"text.order_has_been_set_to_ready_to_ship": "[zh] order has been set to ready to ship",
|
|
1483
1486
|
"text.order_is_not_selected": "[zh] order is not selected",
|
/package/client/pages/inbound/{putaway-same-carton-popup.js → putaway/putaway-same-carton-popup.js}
RENAMED
|
File without changes
|