@things-factory/operato-wms 3.6.35 → 3.6.37
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/constants/setting.js +3 -2
- package/client/pages/vas/print-product-label.js +530 -0
- package/client/route.js +5 -1
- package/dist-server/graphql/resolvers/board-setting/board-settings.js +9 -2
- package/dist-server/graphql/resolvers/board-setting/board-settings.js.map +1 -1
- package/dist-server/opa-app-setting-constants.js +2 -1
- package/dist-server/opa-app-setting-constants.js.map +1 -1
- package/package.json +65 -65
- package/server/graphql/resolvers/board-setting/board-settings.ts +14 -4
- package/server/opa-app-setting-constants.ts +1 -0
- package/things-factory.config.js +4 -0
- package/translations/en.json +14 -2
- package/translations/ko.json +124 -113
- package/translations/ms.json +235 -224
- package/translations/zh.json +325 -317
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.37",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -41,71 +41,71 @@
|
|
|
41
41
|
"docker:run": "docker run -p 4000:3000 hatiolab/operato-wms:latest"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@things-factory/apptool-ui": "^3.6.
|
|
45
|
-
"@things-factory/attachment-ui": "^3.6.
|
|
46
|
-
"@things-factory/auth-ui": "^3.6.
|
|
47
|
-
"@things-factory/barcode-ui": "^3.6.
|
|
48
|
-
"@things-factory/biz-ui": "^3.6.
|
|
49
|
-
"@things-factory/board-service": "^3.6.
|
|
50
|
-
"@things-factory/board-ui": "^3.6.
|
|
51
|
-
"@things-factory/code-ui": "^3.6.
|
|
52
|
-
"@things-factory/context-ui": "^3.6.
|
|
53
|
-
"@things-factory/export-ui": "^3.6.
|
|
54
|
-
"@things-factory/export-ui-csv": "^3.6.
|
|
55
|
-
"@things-factory/export-ui-excel": "^3.6.
|
|
56
|
-
"@things-factory/fav-base": "^3.6.
|
|
57
|
-
"@things-factory/form-ui": "^3.6.
|
|
58
|
-
"@things-factory/grist-ui": "^3.6.
|
|
59
|
-
"@things-factory/help": "^3.6.
|
|
60
|
-
"@things-factory/i18n-ui": "^3.6.
|
|
61
|
-
"@things-factory/id-rule-base": "^3.6.
|
|
62
|
-
"@things-factory/import-ui": "^3.6.
|
|
63
|
-
"@things-factory/import-ui-excel": "^3.6.
|
|
64
|
-
"@things-factory/menu-ui": "^3.6.
|
|
65
|
-
"@things-factory/more-ui": "^3.6.
|
|
66
|
-
"@things-factory/notification": "^3.6.
|
|
67
|
-
"@things-factory/pdf": "^3.6.
|
|
68
|
-
"@things-factory/print-proxy-service": "^3.6.
|
|
69
|
-
"@things-factory/print-service": "^3.6.
|
|
70
|
-
"@things-factory/print-ui": "^3.6.
|
|
71
|
-
"@things-factory/product-base": "^3.6.
|
|
72
|
-
"@things-factory/resource-ui": "^3.6.
|
|
73
|
-
"@things-factory/sales-ui": "^3.6.
|
|
74
|
-
"@things-factory/scene-chartjs": "^3.6.
|
|
75
|
-
"@things-factory/scene-clock": "^3.6.
|
|
76
|
-
"@things-factory/scene-clone": "^3.6.
|
|
77
|
-
"@things-factory/scene-compass": "^3.6.
|
|
78
|
-
"@things-factory/scene-data-transform": "^3.6.
|
|
79
|
-
"@things-factory/scene-excel": "^3.6.
|
|
80
|
-
"@things-factory/scene-firebase": "^3.6.
|
|
81
|
-
"@things-factory/scene-form": "^3.6.
|
|
82
|
-
"@things-factory/scene-gauge": "^3.6.
|
|
83
|
-
"@things-factory/scene-google-map": "^3.6.
|
|
84
|
-
"@things-factory/scene-graphql": "^3.6.
|
|
85
|
-
"@things-factory/scene-half-roundrect": "^3.6.
|
|
86
|
-
"@things-factory/scene-indoor-map": "^3.6.
|
|
87
|
-
"@things-factory/scene-label": "^3.6.
|
|
88
|
-
"@things-factory/scene-legend": "^3.6.
|
|
89
|
-
"@things-factory/scene-marker": "^3.6.
|
|
90
|
-
"@things-factory/scene-mqtt": "^3.6.
|
|
91
|
-
"@things-factory/scene-news-ticker": "^3.6.
|
|
92
|
-
"@things-factory/scene-progressbar": "^3.6.
|
|
93
|
-
"@things-factory/scene-random": "^3.6.
|
|
94
|
-
"@things-factory/scene-restful": "^3.6.
|
|
95
|
-
"@things-factory/scene-switch": "^3.6.
|
|
96
|
-
"@things-factory/scene-tab": "^3.6.
|
|
97
|
-
"@things-factory/scene-table": "^3.6.
|
|
98
|
-
"@things-factory/scene-visualizer": "^3.6.
|
|
99
|
-
"@things-factory/scene-wheel-sorter": "^3.6.
|
|
100
|
-
"@things-factory/setting-ui": "^3.6.
|
|
101
|
-
"@things-factory/system-ui": "^3.6.
|
|
102
|
-
"@things-factory/transport-base": "^3.6.
|
|
103
|
-
"@things-factory/tutorial-ui": "^3.6.
|
|
104
|
-
"@things-factory/warehouse-base": "^3.6.
|
|
105
|
-
"@things-factory/worksheet-base": "^3.6.
|
|
44
|
+
"@things-factory/apptool-ui": "^3.6.37",
|
|
45
|
+
"@things-factory/attachment-ui": "^3.6.37",
|
|
46
|
+
"@things-factory/auth-ui": "^3.6.37",
|
|
47
|
+
"@things-factory/barcode-ui": "^3.6.37",
|
|
48
|
+
"@things-factory/biz-ui": "^3.6.37",
|
|
49
|
+
"@things-factory/board-service": "^3.6.37",
|
|
50
|
+
"@things-factory/board-ui": "^3.6.37",
|
|
51
|
+
"@things-factory/code-ui": "^3.6.37",
|
|
52
|
+
"@things-factory/context-ui": "^3.6.37",
|
|
53
|
+
"@things-factory/export-ui": "^3.6.37",
|
|
54
|
+
"@things-factory/export-ui-csv": "^3.6.37",
|
|
55
|
+
"@things-factory/export-ui-excel": "^3.6.37",
|
|
56
|
+
"@things-factory/fav-base": "^3.6.37",
|
|
57
|
+
"@things-factory/form-ui": "^3.6.37",
|
|
58
|
+
"@things-factory/grist-ui": "^3.6.37",
|
|
59
|
+
"@things-factory/help": "^3.6.37",
|
|
60
|
+
"@things-factory/i18n-ui": "^3.6.37",
|
|
61
|
+
"@things-factory/id-rule-base": "^3.6.37",
|
|
62
|
+
"@things-factory/import-ui": "^3.6.37",
|
|
63
|
+
"@things-factory/import-ui-excel": "^3.6.37",
|
|
64
|
+
"@things-factory/menu-ui": "^3.6.37",
|
|
65
|
+
"@things-factory/more-ui": "^3.6.37",
|
|
66
|
+
"@things-factory/notification": "^3.6.37",
|
|
67
|
+
"@things-factory/pdf": "^3.6.37",
|
|
68
|
+
"@things-factory/print-proxy-service": "^3.6.37",
|
|
69
|
+
"@things-factory/print-service": "^3.6.37",
|
|
70
|
+
"@things-factory/print-ui": "^3.6.37",
|
|
71
|
+
"@things-factory/product-base": "^3.6.37",
|
|
72
|
+
"@things-factory/resource-ui": "^3.6.37",
|
|
73
|
+
"@things-factory/sales-ui": "^3.6.37",
|
|
74
|
+
"@things-factory/scene-chartjs": "^3.6.37",
|
|
75
|
+
"@things-factory/scene-clock": "^3.6.37",
|
|
76
|
+
"@things-factory/scene-clone": "^3.6.37",
|
|
77
|
+
"@things-factory/scene-compass": "^3.6.37",
|
|
78
|
+
"@things-factory/scene-data-transform": "^3.6.37",
|
|
79
|
+
"@things-factory/scene-excel": "^3.6.37",
|
|
80
|
+
"@things-factory/scene-firebase": "^3.6.37",
|
|
81
|
+
"@things-factory/scene-form": "^3.6.37",
|
|
82
|
+
"@things-factory/scene-gauge": "^3.6.37",
|
|
83
|
+
"@things-factory/scene-google-map": "^3.6.37",
|
|
84
|
+
"@things-factory/scene-graphql": "^3.6.37",
|
|
85
|
+
"@things-factory/scene-half-roundrect": "^3.6.37",
|
|
86
|
+
"@things-factory/scene-indoor-map": "^3.6.37",
|
|
87
|
+
"@things-factory/scene-label": "^3.6.37",
|
|
88
|
+
"@things-factory/scene-legend": "^3.6.37",
|
|
89
|
+
"@things-factory/scene-marker": "^3.6.37",
|
|
90
|
+
"@things-factory/scene-mqtt": "^3.6.37",
|
|
91
|
+
"@things-factory/scene-news-ticker": "^3.6.37",
|
|
92
|
+
"@things-factory/scene-progressbar": "^3.6.37",
|
|
93
|
+
"@things-factory/scene-random": "^3.6.37",
|
|
94
|
+
"@things-factory/scene-restful": "^3.6.37",
|
|
95
|
+
"@things-factory/scene-switch": "^3.6.37",
|
|
96
|
+
"@things-factory/scene-tab": "^3.6.37",
|
|
97
|
+
"@things-factory/scene-table": "^3.6.37",
|
|
98
|
+
"@things-factory/scene-visualizer": "^3.6.37",
|
|
99
|
+
"@things-factory/scene-wheel-sorter": "^3.6.37",
|
|
100
|
+
"@things-factory/setting-ui": "^3.6.37",
|
|
101
|
+
"@things-factory/system-ui": "^3.6.37",
|
|
102
|
+
"@things-factory/transport-base": "^3.6.37",
|
|
103
|
+
"@things-factory/tutorial-ui": "^3.6.37",
|
|
104
|
+
"@things-factory/warehouse-base": "^3.6.37",
|
|
105
|
+
"@things-factory/worksheet-base": "^3.6.37"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@things-factory/builder": "^3.6.
|
|
108
|
+
"@things-factory/builder": "^3.6.37"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "86660eb4367437e7266c4d94aab04eaf4895faf0"
|
|
111
111
|
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import { getRepository } from 'typeorm'
|
|
2
|
+
|
|
1
3
|
import { User } from '@things-factory/auth-base'
|
|
2
4
|
import { Board } from '@things-factory/board-service'
|
|
3
5
|
import { Setting } from '@things-factory/setting-base'
|
|
4
6
|
import { Domain } from '@things-factory/shell'
|
|
5
|
-
|
|
7
|
+
|
|
6
8
|
import {
|
|
9
|
+
CARTON_LABEL_SETTING_KEY,
|
|
7
10
|
HOME_DASHBOARD_PREFIX,
|
|
8
11
|
LOCATION_LABEL_SETTING_KEY,
|
|
9
12
|
PALLET_LABEL_SETTING_KEY,
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
PRODUCT_LABEL_SETTING_KEY,
|
|
14
|
+
REUSABLE_PALLET_LABEL_SETTING_KEY
|
|
12
15
|
} from '../../../opa-app-setting-constants'
|
|
13
16
|
|
|
14
17
|
export const boardSettingsResolver = {
|
|
@@ -33,7 +36,14 @@ export const boardSettingsResolver = {
|
|
|
33
36
|
// const HOME_BOARD = `${HOME_DASHBOARD_PREFIX}:${context.state.user.userType}`
|
|
34
37
|
|
|
35
38
|
const queryBuilder = getRepository(Setting).createQueryBuilder()
|
|
36
|
-
const names = [
|
|
39
|
+
const names = [
|
|
40
|
+
LOCATION_LABEL_SETTING_KEY,
|
|
41
|
+
PRODUCT_LABEL_SETTING_KEY,
|
|
42
|
+
PALLET_LABEL_SETTING_KEY,
|
|
43
|
+
REUSABLE_PALLET_LABEL_SETTING_KEY,
|
|
44
|
+
HOME_BOARD,
|
|
45
|
+
CARTON_LABEL_SETTING_KEY
|
|
46
|
+
]
|
|
37
47
|
|
|
38
48
|
var qb = queryBuilder
|
|
39
49
|
// .innerJoin(Board, 'Board', 'Board.id = CAST(Setting.value AS uuid)')
|
|
@@ -3,3 +3,4 @@ export const PALLET_LABEL_SETTING_KEY = 'pallet-label'
|
|
|
3
3
|
export const CARTON_LABEL_SETTING_KEY = 'carton-label'
|
|
4
4
|
export const REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label'
|
|
5
5
|
export const HOME_DASHBOARD_PREFIX = 'dashboard'
|
|
6
|
+
export const PRODUCT_LABEL_SETTING_KEY = 'product-label'
|
package/things-factory.config.js
CHANGED
package/translations/en.json
CHANGED
|
@@ -112,7 +112,9 @@
|
|
|
112
112
|
"field.assigned_qty": "assigned qty",
|
|
113
113
|
"field.assigned_uom_value": "assigned uom value",
|
|
114
114
|
"field.assigned": "assigned",
|
|
115
|
+
"field.aux_unit_2": "aux unit 2",
|
|
115
116
|
"field.aux_unit": "aux unit",
|
|
117
|
+
"field.aux_value_2": "aux value 2",
|
|
116
118
|
"field.aux_value": "aux value",
|
|
117
119
|
"field.available_qty": "available qty",
|
|
118
120
|
"field.available_stock_only": "available stock only",
|
|
@@ -348,10 +350,10 @@
|
|
|
348
350
|
"field.ready": "completed",
|
|
349
351
|
"field.receipt_reference_no": "receipt reference no",
|
|
350
352
|
"field.receive_date": "receive date",
|
|
353
|
+
"field.ref_code": "ref code",
|
|
351
354
|
"field.ref_no_2": "ref no. 2",
|
|
352
355
|
"field.ref_no_3": "ref no. 3",
|
|
353
356
|
"field.ref_no": "ref no.",
|
|
354
|
-
"field.ref_code": "ref code",
|
|
355
357
|
"field.registration_number": "registration number",
|
|
356
358
|
"field.reject_date": "reject date",
|
|
357
359
|
"field.release_date": "release date",
|
|
@@ -373,7 +375,7 @@
|
|
|
373
375
|
"field.request_date": "request date",
|
|
374
376
|
"field.require_packing": "require packing",
|
|
375
377
|
"field.reserve_qty": "reserve qty",
|
|
376
|
-
"field.reserve_uom_value"
|
|
378
|
+
"field.reserve_uom_value": "reserve uom value",
|
|
377
379
|
"field.resource_name": "resource name",
|
|
378
380
|
"field.resource_type": "resource type",
|
|
379
381
|
"field.resource_url": "resource url",
|
|
@@ -636,6 +638,7 @@
|
|
|
636
638
|
"label.inventory_accuracy": "inventory accuracy",
|
|
637
639
|
"label.inventory_check_no": "inventory check no",
|
|
638
640
|
"label.inventory_type": "inventory type",
|
|
641
|
+
"label.inventory": "inventory",
|
|
639
642
|
"label.label_format": "label format",
|
|
640
643
|
"label.label_indicator": "label indicator",
|
|
641
644
|
"label.level_extension": "level extension",
|
|
@@ -706,6 +709,7 @@
|
|
|
706
709
|
"label.packing_type": "packing type",
|
|
707
710
|
"label.packing_unit": "packing unit",
|
|
708
711
|
"label.packing": "packing",
|
|
712
|
+
"label.pallet_id": "pallet id",
|
|
709
713
|
"label.pallet_qty": "pallet qty",
|
|
710
714
|
"label.pallet_ref_no": "pallet ref no",
|
|
711
715
|
"label.pallet_type": "pallet type",
|
|
@@ -731,6 +735,7 @@
|
|
|
731
735
|
"label.print_qty": "print qty",
|
|
732
736
|
"label.process_type": "process type",
|
|
733
737
|
"label.product_barcode": "product barcode",
|
|
738
|
+
"label.product_info": "product info",
|
|
734
739
|
"label.product_name": "product name",
|
|
735
740
|
"label.product": "product",
|
|
736
741
|
"label.purchase_order": "purchase order",
|
|
@@ -768,6 +773,7 @@
|
|
|
768
773
|
"label.return_order": "return order",
|
|
769
774
|
"label.return": "return",
|
|
770
775
|
"label.reusable_pallet": "plastic pallet",
|
|
776
|
+
"label.ro": "RO no.",
|
|
771
777
|
"label.role_description": "role description",
|
|
772
778
|
"label.role_name": "role name",
|
|
773
779
|
"label.row_extension": "row extension",
|
|
@@ -777,6 +783,7 @@
|
|
|
777
783
|
"label.rule_field": "rule field",
|
|
778
784
|
"label.scan_product_barcode": "scan product barcode",
|
|
779
785
|
"label.scan_task_no": "scan task no",
|
|
786
|
+
"label.search_type": "search type",
|
|
780
787
|
"label.select_by_pallet": "select by pallet",
|
|
781
788
|
"label.select_by_product": "select by product",
|
|
782
789
|
"label.select_file": "select file",
|
|
@@ -1053,6 +1060,7 @@
|
|
|
1053
1060
|
"text.no_company_selected": "no company selected",
|
|
1054
1061
|
"text.no_document_available": "no document available",
|
|
1055
1062
|
"text.no_label_setting_found": "no label setting found",
|
|
1063
|
+
"text.no_label_setting_was_found.": "no label setting was found",
|
|
1056
1064
|
"text.no_lot_id": "no lot id",
|
|
1057
1065
|
"text.no_matching_product_found": "no matching product found",
|
|
1058
1066
|
"text.no_product_barcode_detected": "no product barcode detected",
|
|
@@ -1083,9 +1091,11 @@
|
|
|
1083
1091
|
"text.please_select_the_contact_type": "please select the contact type",
|
|
1084
1092
|
"text.please_select_the_location_again": "please select the location again",
|
|
1085
1093
|
"text.please_select_the_location": "please select the location",
|
|
1094
|
+
"text.please_select_the_product": "please select the product",
|
|
1086
1095
|
"text.please_select_transport_type": "please select transport type",
|
|
1087
1096
|
"text.please_wait": "please wait",
|
|
1088
1097
|
"text.preunload_has_completed": "preunload has been completed",
|
|
1098
|
+
"text.print_1_label_for_item_with_non_specified_print_qty": "print 1 label for item with non-specified print qty",
|
|
1089
1099
|
"text.print_qty_is_empty": "print qty is empty",
|
|
1090
1100
|
"text.printing": "printing",
|
|
1091
1101
|
"text.product_barcode_is_empty": "product barcode is empty",
|
|
@@ -1373,6 +1383,7 @@
|
|
|
1373
1383
|
"title.preview": "preview",
|
|
1374
1384
|
"title.print_location_label": "print location label",
|
|
1375
1385
|
"title.print_preview": "print preview",
|
|
1386
|
+
"title.print_product_label": "print product label",
|
|
1376
1387
|
"title.privilege": "privilege",
|
|
1377
1388
|
"title.proceed_edited_added_product": "proceed edited/added products",
|
|
1378
1389
|
"title.proceed_extra_product": "proceed extra products",
|
|
@@ -1423,6 +1434,7 @@
|
|
|
1423
1434
|
"title.same_pallet_is_found": "same pallet is found",
|
|
1424
1435
|
"title.scan_area": "scan area",
|
|
1425
1436
|
"title.scan_barcode": "scan barcode",
|
|
1437
|
+
"title.search_area": "search area",
|
|
1426
1438
|
"title.select_company": "select company",
|
|
1427
1439
|
"title.select_destination": "select destination",
|
|
1428
1440
|
"title.select_driver": "select driver",
|