@things-factory/operato-wms 4.3.124 → 4.3.126
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/client/pages/outbound/picking-product.js +21 -5
- package/config.development.js +18 -25
- 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,
|
|
@@ -532,7 +532,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
532
532
|
worksheetDetailInfos[0].product?.isRequireSerialNumberScanningOutbound
|
|
533
533
|
}
|
|
534
534
|
|
|
535
|
-
if (this.completed && this.airwayBill) {
|
|
535
|
+
if (this.completed && this.airwayBill && !this.ownTransport) {
|
|
536
536
|
this.printBill()
|
|
537
537
|
}
|
|
538
538
|
|
|
@@ -429,10 +429,9 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
429
429
|
></barcode-scanable-input>
|
|
430
430
|
`
|
|
431
431
|
: ''}
|
|
432
|
-
${!this._isRequireSerialNumberScanningOutbound &&
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
(this._enableInputQty == 2 && this._releaseGoodType == RO_TYPES.B2C.value) ||
|
|
432
|
+
${!this._isRequireSerialNumberScanningOutbound && (this._enableInputQty !== 0 || !this._isCartonLabel)
|
|
433
|
+
? html`${(this._enableInputQty == 1 && this._releaseGoodType) ||
|
|
434
|
+
(this._enableInputQty == 2 && !this._releaseGoodType) ||
|
|
436
435
|
this._enableInputQty == 3 ||
|
|
437
436
|
!this._isCartonLabel
|
|
438
437
|
? html`<label>${i18next.t('label.picked_qty')}</label>
|
|
@@ -1377,7 +1376,8 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1377
1376
|
|
|
1378
1377
|
//this.releaseGoodNo will be incorrect if worksheet list is used, therefore it's assigned here
|
|
1379
1378
|
//this._selectedOrderInventory still has the value of previous order, therefore it's cleared here
|
|
1380
|
-
if
|
|
1379
|
+
//it should check if this.releaseGoodNo exist or not first, if it exist then only will run this logic, this logic is only suitable for single picking
|
|
1380
|
+
if (this.releaseGoodNo && this.releaseGoodNo !== pickingRefNo) {
|
|
1381
1381
|
this.releaseGoodNo = pickingRefNo
|
|
1382
1382
|
this._selectedOrderInventory = null
|
|
1383
1383
|
}
|
|
@@ -1627,6 +1627,22 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1627
1627
|
|
|
1628
1628
|
if (!this._selectedOrderInventory) {
|
|
1629
1629
|
this._selectedOrderInventory = this.data.records[0]
|
|
1630
|
+
} else {
|
|
1631
|
+
let currentData = this.data.records.find(
|
|
1632
|
+
record =>
|
|
1633
|
+
record.product.sku === this._selectedOrderInventory.product.sku &&
|
|
1634
|
+
record.palletId === this._selectedOrderInventory.palletId
|
|
1635
|
+
)
|
|
1636
|
+
if (currentData.completed) {
|
|
1637
|
+
if (this.cartonInput) this.cartonInput.value = ''
|
|
1638
|
+
if (this.palletInput) this.palletInput.value = ''
|
|
1639
|
+
let nextData = this.data.records.filter(recs => !recs.completed)
|
|
1640
|
+
if (nextData.length > 0) {
|
|
1641
|
+
this._selectedOrderInventory = nextData[0]
|
|
1642
|
+
} else {
|
|
1643
|
+
this._selectedOrderInventory = null
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1630
1646
|
}
|
|
1631
1647
|
|
|
1632
1648
|
if (
|
package/config.development.js
CHANGED
|
@@ -4,12 +4,12 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port:
|
|
8
|
-
inspect: '
|
|
7
|
+
port: 1100,
|
|
8
|
+
inspect: '9430',
|
|
9
9
|
ormconfig: {
|
|
10
10
|
name: 'default',
|
|
11
11
|
type: 'postgres',
|
|
12
|
-
database: '
|
|
12
|
+
database: 'dev3',
|
|
13
13
|
username: 'postgres',
|
|
14
14
|
password: 'hatio',
|
|
15
15
|
host: '192.168.0.153',
|
|
@@ -20,29 +20,17 @@ module.exports = {
|
|
|
20
20
|
// ormconfig: {
|
|
21
21
|
// name: 'default',
|
|
22
22
|
// type: 'postgres',
|
|
23
|
-
//
|
|
24
|
-
// port: 55432,
|
|
25
|
-
// database: 'dev2',
|
|
23
|
+
// database: 'postgres',
|
|
26
24
|
// username: 'postgres',
|
|
27
25
|
// password: 'abcd1234',
|
|
26
|
+
// host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
27
|
+
// port: 55432,
|
|
28
28
|
// synchronize: false,
|
|
29
|
-
// logging: true
|
|
30
|
-
// connectTimeoutMS: 30000,
|
|
31
|
-
// extra: { poolSize: 30 }
|
|
29
|
+
// logging: true
|
|
32
30
|
// },
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
// database: 'dev2',
|
|
37
|
-
// username: 'postgres',
|
|
38
|
-
// password: 'hatio',
|
|
39
|
-
// host: 'localhost',
|
|
40
|
-
// port: 15432,
|
|
41
|
-
// synchronize: false,
|
|
42
|
-
// logging: true,
|
|
43
|
-
// connectTimeoutMS: 30000,
|
|
44
|
-
// extra: { poolSize: 30 }
|
|
45
|
-
//},
|
|
31
|
+
sellercraftIntegrationConfig: {
|
|
32
|
+
apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
|
|
33
|
+
},
|
|
46
34
|
SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
|
|
47
35
|
password: {
|
|
48
36
|
lowerCase: true,
|
|
@@ -56,6 +44,13 @@ module.exports = {
|
|
|
56
44
|
looseCharacterLength: 4,
|
|
57
45
|
history: 2
|
|
58
46
|
},
|
|
47
|
+
// storage: {
|
|
48
|
+
// type: 's3',
|
|
49
|
+
// accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
|
|
50
|
+
// secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
|
|
51
|
+
// bucketName: 'opa-one',
|
|
52
|
+
// region: 'ap-southeast-1'
|
|
53
|
+
// },
|
|
59
54
|
uploads: 'uploads',
|
|
60
55
|
attachmentsPath: 'attachments',
|
|
61
56
|
logger: {
|
|
@@ -105,7 +100,5 @@ module.exports = {
|
|
|
105
100
|
// privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
|
|
106
101
|
// }
|
|
107
102
|
},
|
|
108
|
-
|
|
109
|
-
// reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
|
|
110
|
-
reportApiUrl: 'http://10.100.109.66:8090/rest/report/show_html'
|
|
103
|
+
reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
|
|
111
104
|
}
|
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.126",
|
|
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.126",
|
|
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.126",
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.126"
|
|
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": "4b44126b745e4d325a2105afab39957d1a9b8998"
|
|
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",
|