@things-factory/operato-wms 4.3.202 → 4.3.204
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/inventory/inventory-by-product.js +161 -1
- package/client/pages/order/release-order/create-release-order.js +18 -6
- package/config.development.js +15 -15
- package/package.json +6 -6
- package/translations/en.json +4 -2
- package/translations/ko.json +2 -0
- package/translations/ms.json +2 -0
- package/translations/zh.json +2 -0
|
@@ -239,6 +239,146 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
239
239
|
label: true,
|
|
240
240
|
width: 150
|
|
241
241
|
},
|
|
242
|
+
{
|
|
243
|
+
type: 'string',
|
|
244
|
+
name: 'auxUnit1',
|
|
245
|
+
hidden: true,
|
|
246
|
+
imex: {
|
|
247
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '1' } }),
|
|
248
|
+
key: 'auxUnit1',
|
|
249
|
+
width: 25,
|
|
250
|
+
type: 'string'
|
|
251
|
+
},
|
|
252
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '1' } }),
|
|
253
|
+
label: true,
|
|
254
|
+
width: 150
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
type: 'string',
|
|
258
|
+
name: 'auxValue1',
|
|
259
|
+
hidden: true,
|
|
260
|
+
imex: {
|
|
261
|
+
header: i18next.t('field.aux_value_x', { state: { x: '1' } }),
|
|
262
|
+
key: 'auxValue1',
|
|
263
|
+
width: 25,
|
|
264
|
+
type: 'string'
|
|
265
|
+
},
|
|
266
|
+
header: i18next.t('field.aux_value_x', { state: { x: '1' } }),
|
|
267
|
+
label: true,
|
|
268
|
+
width: 150
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
type: 'string',
|
|
272
|
+
name: 'auxUnit2',
|
|
273
|
+
hidden: true,
|
|
274
|
+
imex: {
|
|
275
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '2' } }),
|
|
276
|
+
key: 'auxUnit2',
|
|
277
|
+
width: 25,
|
|
278
|
+
type: 'string'
|
|
279
|
+
},
|
|
280
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '2' } }),
|
|
281
|
+
label: true,
|
|
282
|
+
width: 150
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
type: 'string',
|
|
286
|
+
name: 'auxValue2',
|
|
287
|
+
hidden: true,
|
|
288
|
+
imex: {
|
|
289
|
+
header: i18next.t('field.aux_value_x', { state: { x: '2' } }),
|
|
290
|
+
key: 'auxValue2',
|
|
291
|
+
width: 25,
|
|
292
|
+
type: 'string'
|
|
293
|
+
},
|
|
294
|
+
header: i18next.t('field.aux_value_x', { state: { x: '2' } }),
|
|
295
|
+
label: true,
|
|
296
|
+
width: 150
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
type: 'string',
|
|
300
|
+
name: 'auxUnit3',
|
|
301
|
+
hidden: true,
|
|
302
|
+
imex: {
|
|
303
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '3' } }),
|
|
304
|
+
key: 'auxUnit3',
|
|
305
|
+
width: 25,
|
|
306
|
+
type: 'string'
|
|
307
|
+
},
|
|
308
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '3' } }),
|
|
309
|
+
label: true,
|
|
310
|
+
width: 150
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
type: 'string',
|
|
314
|
+
name: 'auxValue3',
|
|
315
|
+
hidden: true,
|
|
316
|
+
imex: {
|
|
317
|
+
header: i18next.t('field.aux_value_x', { state: { x: '3' } }),
|
|
318
|
+
key: 'auxValue3',
|
|
319
|
+
width: 25,
|
|
320
|
+
type: 'string'
|
|
321
|
+
},
|
|
322
|
+
header: i18next.t('field.aux_value_x', { state: { x: '3' } }),
|
|
323
|
+
label: true,
|
|
324
|
+
width: 150
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
type: 'string',
|
|
328
|
+
name: 'auxUnit4',
|
|
329
|
+
hidden: true,
|
|
330
|
+
imex: {
|
|
331
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '4' } }),
|
|
332
|
+
key: 'auxUnit4',
|
|
333
|
+
width: 25,
|
|
334
|
+
type: 'string'
|
|
335
|
+
},
|
|
336
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '4' } }),
|
|
337
|
+
label: true,
|
|
338
|
+
width: 150
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
type: 'string',
|
|
342
|
+
name: 'auxValue4',
|
|
343
|
+
hidden: true,
|
|
344
|
+
imex: {
|
|
345
|
+
header: i18next.t('field.aux_value_x', { state: { x: '4' } }),
|
|
346
|
+
key: 'auxValue4',
|
|
347
|
+
width: 25,
|
|
348
|
+
type: 'string'
|
|
349
|
+
},
|
|
350
|
+
header: i18next.t('field.aux_value_x', { state: { x: '4' } }),
|
|
351
|
+
label: true,
|
|
352
|
+
width: 150
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
type: 'string',
|
|
356
|
+
name: 'auxUnit5',
|
|
357
|
+
hidden: true,
|
|
358
|
+
imex: {
|
|
359
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '5' } }),
|
|
360
|
+
key: 'auxUnit5',
|
|
361
|
+
width: 25,
|
|
362
|
+
type: 'string'
|
|
363
|
+
},
|
|
364
|
+
header: i18next.t('field.aux_unit_x', { state: { x: '5' } }),
|
|
365
|
+
label: true,
|
|
366
|
+
width: 150
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
type: 'string',
|
|
370
|
+
name: 'auxValue5',
|
|
371
|
+
hidden: true,
|
|
372
|
+
imex: {
|
|
373
|
+
header: i18next.t('field.aux_value_x', { state: { x: '5' } }),
|
|
374
|
+
key: 'auxValue5',
|
|
375
|
+
width: 25,
|
|
376
|
+
type: 'string'
|
|
377
|
+
},
|
|
378
|
+
header: i18next.t('field.aux_value_x', { state: { x: '5' } }),
|
|
379
|
+
label: true,
|
|
380
|
+
width: 150
|
|
381
|
+
},
|
|
242
382
|
{
|
|
243
383
|
type: 'integer',
|
|
244
384
|
name: 'minQty',
|
|
@@ -361,6 +501,16 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
361
501
|
description
|
|
362
502
|
minQty
|
|
363
503
|
maxQty
|
|
504
|
+
auxUnit1
|
|
505
|
+
auxValue1
|
|
506
|
+
auxUnit2
|
|
507
|
+
auxValue2
|
|
508
|
+
auxUnit3
|
|
509
|
+
auxValue3
|
|
510
|
+
auxUnit4
|
|
511
|
+
auxValue4
|
|
512
|
+
auxUnit5
|
|
513
|
+
auxValue5
|
|
364
514
|
}
|
|
365
515
|
bizplace {
|
|
366
516
|
name
|
|
@@ -547,7 +697,17 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
547
697
|
warehouseQty: item.warehouseQty,
|
|
548
698
|
obsoleteQty: item.obsoleteQty,
|
|
549
699
|
storageQty: item.storageQty,
|
|
550
|
-
transferQty: item.transferQty
|
|
700
|
+
transferQty: item.transferQty,
|
|
701
|
+
auxUnit1: item.auxUnit1,
|
|
702
|
+
auxValue1: item.auxValue1,
|
|
703
|
+
auxUnit2: item.auxUnit2,
|
|
704
|
+
auxValue2: item.auxValue2,
|
|
705
|
+
auxUnit3: item.auxUnit3,
|
|
706
|
+
auxValue3: item.auxValue3,
|
|
707
|
+
auxUnit4: item.auxUnit4,
|
|
708
|
+
auxValue4: item.auxValue4,
|
|
709
|
+
auxUnit5: item.auxUnit5,
|
|
710
|
+
auxValue5: item.auxValue5
|
|
551
711
|
// averageUnitCost: item.averageUnitCost
|
|
552
712
|
}
|
|
553
713
|
})
|
|
@@ -2,19 +2,32 @@ import '@things-factory/biz-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
import '@things-factory/import-ui'
|
|
4
4
|
import '@things-factory/component-ui'
|
|
5
|
-
|
|
6
5
|
import '../../components/vas-templates'
|
|
7
6
|
import '../../order/vas-order/popup/vas-create-popup'
|
|
8
7
|
import '../../components/select-inventory-popup'
|
|
9
8
|
|
|
10
9
|
import gql from 'graphql-tag'
|
|
11
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
css,
|
|
12
|
+
html
|
|
13
|
+
} from 'lit-element'
|
|
12
14
|
|
|
13
15
|
import { getCodeByName } from '@things-factory/code-base'
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
+
import {
|
|
17
|
+
MultiColumnFormStyles,
|
|
18
|
+
SingleColumnFormStyles
|
|
19
|
+
} from '@things-factory/form-ui'
|
|
20
|
+
import {
|
|
21
|
+
i18next,
|
|
22
|
+
localize
|
|
23
|
+
} from '@things-factory/i18n-base'
|
|
16
24
|
import { openPopup } from '@things-factory/layout-base'
|
|
17
|
-
import {
|
|
25
|
+
import {
|
|
26
|
+
client,
|
|
27
|
+
CustomAlert,
|
|
28
|
+
navigate,
|
|
29
|
+
PageView
|
|
30
|
+
} from '@things-factory/shell'
|
|
18
31
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
19
32
|
import { isMobileDevice } from '@things-factory/utils'
|
|
20
33
|
|
|
@@ -22,7 +35,6 @@ import { fetchLocationSortingRule } from '../../../fetch-location-sorting-rule'
|
|
|
22
35
|
import { fetchSettingRule } from '../../../fetch-setting-value'
|
|
23
36
|
import {
|
|
24
37
|
GROUP_TYPES,
|
|
25
|
-
INVENTORY_STATUS,
|
|
26
38
|
LOCATION_SORTING_RULE,
|
|
27
39
|
ORDER_INVENTORY_STATUS,
|
|
28
40
|
ORDER_TYPES,
|
package/config.development.js
CHANGED
|
@@ -6,28 +6,28 @@ module.exports = {
|
|
|
6
6
|
subdomainOffset: 2,
|
|
7
7
|
port: 1100,
|
|
8
8
|
inspect: '9430',
|
|
9
|
-
ormconfig: {
|
|
10
|
-
name: 'default',
|
|
11
|
-
type: 'postgres',
|
|
12
|
-
database: 'dev2',
|
|
13
|
-
username: 'postgres',
|
|
14
|
-
password: 'hatio',
|
|
15
|
-
host: '192.168.0.161',
|
|
16
|
-
port: 15432,
|
|
17
|
-
synchronize: false,
|
|
18
|
-
logging: false
|
|
19
|
-
},
|
|
20
9
|
// ormconfig: {
|
|
21
10
|
// name: 'default',
|
|
22
11
|
// type: 'postgres',
|
|
23
12
|
// database: 'postgres',
|
|
24
13
|
// username: 'postgres',
|
|
25
|
-
// password: '
|
|
26
|
-
// host: '
|
|
27
|
-
// port:
|
|
14
|
+
// password: 'hatio',
|
|
15
|
+
// host: '192.168.0.161',
|
|
16
|
+
// port: 15432,
|
|
28
17
|
// synchronize: false,
|
|
29
|
-
// logging:
|
|
18
|
+
// logging: false
|
|
30
19
|
// },
|
|
20
|
+
ormconfig: {
|
|
21
|
+
name: 'default',
|
|
22
|
+
type: 'postgres',
|
|
23
|
+
database: 'postgres',
|
|
24
|
+
username: 'postgres',
|
|
25
|
+
password: 'abcd1234',
|
|
26
|
+
host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
27
|
+
port: 55432,
|
|
28
|
+
synchronize: false,
|
|
29
|
+
logging: true
|
|
30
|
+
},
|
|
31
31
|
sellercraftIntegrationConfig: {
|
|
32
32
|
apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
|
|
33
33
|
},
|
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.204",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"@things-factory/pdf": "^4.3.159",
|
|
90
90
|
"@things-factory/print-proxy-service": "^4.3.179",
|
|
91
91
|
"@things-factory/print-ui": "^4.3.179",
|
|
92
|
-
"@things-factory/product-base": "^4.3.
|
|
92
|
+
"@things-factory/product-base": "^4.3.204",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.179",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.204",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.159",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.159",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.159",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@things-factory/system-ui": "^4.3.179",
|
|
108
108
|
"@things-factory/transport-base": "^4.3.179",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.179",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.204",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.204"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.179",
|
|
@@ -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": "d7400c05d76662c2df54c0278078ade54e57f271"
|
|
121
121
|
}
|
package/translations/en.json
CHANGED
|
@@ -153,10 +153,12 @@
|
|
|
153
153
|
"field.assigned_uom": "assigned uom",
|
|
154
154
|
"field.assigned": "assigned",
|
|
155
155
|
"field.attention_to": "attention to",
|
|
156
|
-
"field.aux_unit_2": "aux unit 2",
|
|
157
156
|
"field.aux_unit": "aux unit",
|
|
158
|
-
"field.
|
|
157
|
+
"field.aux_unit_x": "aux unit {state.x}",
|
|
158
|
+
"field.aux_unit_2": "aux unit 2",
|
|
159
159
|
"field.aux_value": "aux value",
|
|
160
|
+
"field.aux_value_x": "aux value {state.x}",
|
|
161
|
+
"field.aux_value_2": "aux value 2",
|
|
160
162
|
"field.available_qty_only": "available qty only",
|
|
161
163
|
"field.available_qty": "available qty",
|
|
162
164
|
"field.available_stock_only": "available stock only",
|
package/translations/ko.json
CHANGED
|
@@ -155,8 +155,10 @@
|
|
|
155
155
|
"field.attention_to": "[ko] attention to",
|
|
156
156
|
"field.aux_unit_2": "[ko]aux unit 2",
|
|
157
157
|
"field.aux_unit": "보조 단위",
|
|
158
|
+
"field.aux_unit_x": "[ko]aux unit {state.x}",
|
|
158
159
|
"field.aux_value_2": "[ko]aux value 2",
|
|
159
160
|
"field.aux_value": "보조 값",
|
|
161
|
+
"field.aux_value_x": "[ko]aux value {state.x}",
|
|
160
162
|
"field.available_qty_only": "available qty only",
|
|
161
163
|
"field.available_qty": "실수량",
|
|
162
164
|
"field.available_stock_only": "[ko]available stock only",
|
package/translations/ms.json
CHANGED
|
@@ -150,8 +150,10 @@
|
|
|
150
150
|
"field.attention_to": "[ms] attention to",
|
|
151
151
|
"field.aux_unit_2": "[ms]aux unit 2",
|
|
152
152
|
"field.aux_unit": "[ms]aux unit",
|
|
153
|
+
"field.aux_unit_x": "[ms]aux unit {state.x}",
|
|
153
154
|
"field.aux_value_2": "[ms]aux value 2",
|
|
154
155
|
"field.aux_value": "[ms]aux value",
|
|
156
|
+
"field.aux_value_x": "[ms]aux value {state.x}",
|
|
155
157
|
"field.available_qty_only": "available qty only",
|
|
156
158
|
"field.available_qty": "kuantiti boleh didapati",
|
|
157
159
|
"field.available_stock_only": "[ms]available stock only",
|
package/translations/zh.json
CHANGED
|
@@ -147,8 +147,10 @@
|
|
|
147
147
|
"field.attention_to": "[zh] attention to",
|
|
148
148
|
"field.aux_unit_2": "[zh]aux unit 2",
|
|
149
149
|
"field.aux_unit": "[zh]aux unit",
|
|
150
|
+
"field.aux_unit_x": "[zh]aux unit {state.x}",
|
|
150
151
|
"field.aux_value_2": "[zh]aux value 2",
|
|
151
152
|
"field.aux_value": "[zh]aux value",
|
|
153
|
+
"field.aux_value_x": "[zh]aux value {state.x}",
|
|
152
154
|
"field.available_qty_only": "available qty only",
|
|
153
155
|
"field.available_qty": "available qty",
|
|
154
156
|
"field.available_stock_only": "[zh]available stock only",
|