@things-factory/operato-wms 4.3.123 → 4.3.125
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 +40 -24
- package/client/pages/inventory-check/cycle-count-report.js +1 -1
- package/client/pages/outbound/packing-product.js +1 -1
- package/config.development.js +16 -16
- package/package.json +5 -5
- package/translations/en.json +2 -0
- package/translations/ko.json +2 -0
- package/translations/ms.json +2 -0
- package/translations/zh.json +2 -0
|
@@ -197,7 +197,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
197
197
|
imex: { header: i18next.t('field.company'), key: 'bizplace', width: 50, type: 'string' },
|
|
198
198
|
sortable: true,
|
|
199
199
|
label: true,
|
|
200
|
-
width:
|
|
200
|
+
width: 250
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
type: 'string',
|
|
@@ -205,7 +205,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
205
205
|
imex: { header: i18next.t('field.sku'), key: 'sku', width: 30, type: 'string' },
|
|
206
206
|
header: i18next.t('field.sku'),
|
|
207
207
|
label: true,
|
|
208
|
-
width:
|
|
208
|
+
width: 130
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
type: 'string',
|
|
@@ -255,23 +255,45 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
255
255
|
label: true,
|
|
256
256
|
width: 80
|
|
257
257
|
},
|
|
258
|
+
{
|
|
259
|
+
type: 'integer',
|
|
260
|
+
name: 'qty',
|
|
261
|
+
imex: { header: i18next.t('field.shelf_qty'), key: 'qty', width: 20, type: 'integer' },
|
|
262
|
+
header: i18next.t('field.shelf_qty'),
|
|
263
|
+
label: true,
|
|
264
|
+
width: 120
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
type: 'integer',
|
|
268
|
+
name: 'draftQty',
|
|
269
|
+
imex: { header: `${i18next.t('field.draft_qty')}(-)`, key: 'draftQty', width: 20, type: 'integer' },
|
|
270
|
+
header: `${i18next.t('field.draft_qty')}(-)`,
|
|
271
|
+
label: true,
|
|
272
|
+
width: 120
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
type: 'integer',
|
|
276
|
+
name: 'releaseQty',
|
|
277
|
+
imex: { header: `${i18next.t('field.release_qty')}(-)`, key: 'releaseQty', width: 20, type: 'integer' },
|
|
278
|
+
header: `${i18next.t('field.release_qty')}(-)`,
|
|
279
|
+
label: true,
|
|
280
|
+
width: 120
|
|
281
|
+
},
|
|
258
282
|
{
|
|
259
283
|
type: 'integer',
|
|
260
284
|
name: 'availableQty',
|
|
261
285
|
imex: { header: i18next.t('field.available_qty'), key: 'availableQty', width: 20, type: 'integer' },
|
|
262
286
|
header: i18next.t('field.available_qty'),
|
|
263
287
|
label: true,
|
|
264
|
-
|
|
265
|
-
width: 80
|
|
288
|
+
width: 120
|
|
266
289
|
},
|
|
267
290
|
{
|
|
268
291
|
type: 'integer',
|
|
269
|
-
name: '
|
|
270
|
-
imex: { header: i18next.t('field.
|
|
271
|
-
header: i18next.t('field.
|
|
292
|
+
name: 'putawayQty',
|
|
293
|
+
imex: { header: i18next.t('field.putaway_qty'), key: 'putawayQty', width: 20, type: 'integer' },
|
|
294
|
+
header: i18next.t('field.putaway_qty'),
|
|
272
295
|
label: true,
|
|
273
|
-
|
|
274
|
-
width: 80
|
|
296
|
+
width: 120
|
|
275
297
|
},
|
|
276
298
|
{
|
|
277
299
|
type: 'integer',
|
|
@@ -279,8 +301,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
279
301
|
imex: { header: i18next.t('field.quarantine_qty'), key: 'quarantineQty', width: 20, type: 'integer' },
|
|
280
302
|
header: i18next.t('field.quarantine_qty'),
|
|
281
303
|
label: true,
|
|
282
|
-
|
|
283
|
-
width: 80
|
|
304
|
+
width: 120
|
|
284
305
|
},
|
|
285
306
|
{
|
|
286
307
|
type: 'integer',
|
|
@@ -288,17 +309,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
288
309
|
imex: { header: i18next.t('field.reserve_qty'), key: 'reserveQty', width: 20, type: 'integer' },
|
|
289
310
|
header: i18next.t('field.reserve_qty'),
|
|
290
311
|
label: true,
|
|
291
|
-
|
|
292
|
-
width: 80
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
type: 'integer',
|
|
296
|
-
name: 'draftQty',
|
|
297
|
-
imex: { header: i18next.t('field.draft_qty'), key: 'draftQty', width: 20, type: 'integer' },
|
|
298
|
-
header: i18next.t('field.draft_qty'),
|
|
299
|
-
label: true,
|
|
300
|
-
sortable: true,
|
|
301
|
-
width: 80
|
|
312
|
+
width: 120
|
|
302
313
|
},
|
|
303
314
|
{
|
|
304
315
|
type: 'integer',
|
|
@@ -306,8 +317,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
306
317
|
imex: { header: i18next.t('field.warehouse_qty'), key: 'warehouseQty', width: 20, type: 'integer' },
|
|
307
318
|
header: i18next.t('field.warehouse_qty'),
|
|
308
319
|
label: true,
|
|
309
|
-
|
|
310
|
-
width: 80
|
|
320
|
+
width: 120
|
|
311
321
|
}
|
|
312
322
|
]
|
|
313
323
|
}
|
|
@@ -333,6 +343,8 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
333
343
|
}
|
|
334
344
|
packingType
|
|
335
345
|
averageUnitCost
|
|
346
|
+
qty
|
|
347
|
+
putawayQty
|
|
336
348
|
availableQty
|
|
337
349
|
releaseQty
|
|
338
350
|
quarantineQty
|
|
@@ -355,6 +367,8 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
355
367
|
let record = item.product
|
|
356
368
|
record.packingType = item.packingType
|
|
357
369
|
record.averageUnitCost = item.averageUnitCost
|
|
370
|
+
record.putawayQty = item.putawayQty
|
|
371
|
+
record.qty = item.qty
|
|
358
372
|
record.availableQty = item.availableQty
|
|
359
373
|
record.releaseQty = item.releaseQty
|
|
360
374
|
record.quarantineQty = item.quarantineQty
|
|
@@ -491,6 +505,8 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
491
505
|
description: item.description,
|
|
492
506
|
packingType: item.packingType,
|
|
493
507
|
bizplace: item.bizplace.name,
|
|
508
|
+
qty: item.qty,
|
|
509
|
+
putawayQty: item.putawayQty,
|
|
494
510
|
minQty: item.minQty,
|
|
495
511
|
maxQty: item.maxQty,
|
|
496
512
|
availableQty: item.availableQty,
|
|
@@ -460,7 +460,7 @@ class CycleCountReport extends localize(i18next)(PageView) {
|
|
|
460
460
|
`(` +
|
|
461
461
|
worksheetDetail.targetInventory.inventory.product.description +
|
|
462
462
|
`)`,
|
|
463
|
-
locationName: worksheetDetail.targetInventory.originLocation
|
|
463
|
+
locationName: worksheetDetail.targetInventory.originLocation?.name,
|
|
464
464
|
status: worksheetDetail.status,
|
|
465
465
|
batchId: worksheetDetail.targetInventory.originBatchNo,
|
|
466
466
|
inspectedBatchNo: worksheetDetail.targetInventory.inspectedBatchNo,
|
|
@@ -89,7 +89,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
89
89
|
|
|
90
90
|
get context() {
|
|
91
91
|
var actions = []
|
|
92
|
-
if (this.releaseGoodNo && this.platform === PLATFORM.LAZADA.value && this.completed && this.trackingNo) {
|
|
92
|
+
if (this.releaseGoodNo && (this.platform === PLATFORM.LAZADA.value || this.platform === PLATFORM.SHOPEE.value) && this.completed && this.trackingNo) {
|
|
93
93
|
actions.push({
|
|
94
94
|
title: i18next.t('button.print_airway_bill'),
|
|
95
95
|
action: this.printAirwayBill.bind(this),
|
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: 'dev3',
|
|
13
|
-
username: 'postgres',
|
|
14
|
-
password: 'hatio',
|
|
15
|
-
host: '192.168.0.153',
|
|
16
|
-
port: 15432,
|
|
17
|
-
synchronize: true,
|
|
18
|
-
logging: true
|
|
19
|
-
},
|
|
20
9
|
// ormconfig: {
|
|
21
10
|
// name: 'default',
|
|
22
11
|
// type: 'postgres',
|
|
23
|
-
// database: '
|
|
12
|
+
// database: 'dev3',
|
|
24
13
|
// username: 'postgres',
|
|
25
|
-
// password: '
|
|
26
|
-
// host: '
|
|
27
|
-
// port:
|
|
28
|
-
// synchronize:
|
|
14
|
+
// password: 'hatio',
|
|
15
|
+
// host: '192.168.0.153',
|
|
16
|
+
// port: 15432,
|
|
17
|
+
// synchronize: true,
|
|
29
18
|
// logging: true
|
|
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.125",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@things-factory/print-ui": "^4.3.122",
|
|
93
93
|
"@things-factory/product-base": "^4.3.122",
|
|
94
94
|
"@things-factory/resource-ui": "^4.3.123",
|
|
95
|
-
"@things-factory/sales-ui": "^4.3.
|
|
95
|
+
"@things-factory/sales-ui": "^4.3.125",
|
|
96
96
|
"@things-factory/scene-data-transform": "^4.3.122",
|
|
97
97
|
"@things-factory/scene-excel": "^4.3.122",
|
|
98
98
|
"@things-factory/scene-firebase": "^4.3.122",
|
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
"@things-factory/system-ui": "^4.3.122",
|
|
109
109
|
"@things-factory/transport-base": "^4.3.122",
|
|
110
110
|
"@things-factory/tutorial-ui": "^4.3.122",
|
|
111
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
111
|
+
"@things-factory/warehouse-base": "^4.3.125",
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.125"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@things-factory/builder": "^4.3.122",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"cypress-localstorage-commands": "^1.6.1",
|
|
119
119
|
"eslint-plugin-cypress": "^2.12.1"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "9befff87defc2a9ce88074f203ac8c4fb221355b"
|
|
122
122
|
}
|
package/translations/en.json
CHANGED
package/translations/ko.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
"field.shelf_qty": "[ko]shelf qty",
|
|
3
|
+
"field.putaway_qty": "[ko]putaway qty",
|
|
2
4
|
"field.require_serial_number_scanning_inbound": "[ko]require serial number scanning inbound",
|
|
3
5
|
"field.require_serial_number_scanning_outbound": "[ko]require serial number scanning outbound",
|
|
4
6
|
"text.invalid_packing_type": "[ko]invalid packing type",
|
package/translations/ms.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
"field.shelf_qty": "[ms]shelf qty",
|
|
3
|
+
"field.putaway_qty": "[ms]putaway qty",
|
|
2
4
|
"field.require_serial_number_scanning_inbound": "[ms]require serial number scanning inbound",
|
|
3
5
|
"field.require_serial_number_scanning_outbound": "[ms]require serial number scanning outbound",
|
|
4
6
|
"text.invalid_packing_type": "[ms]invalid packing type",
|
package/translations/zh.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
"field.shelf_qty": "[zh]shelf qty",
|
|
3
|
+
"field.putaway_qty": "[zh]putaway qty",
|
|
2
4
|
"field.require_serial_number_scanning_inbound": "[zh]require serial number scanning inbound",
|
|
3
5
|
"field.require_serial_number_scanning_outbound": "[zh]require serial number scanning outbound",
|
|
4
6
|
"text.invalid_packing_type": "[zh]invalid packing type",
|