@things-factory/operato-wms 4.3.171 → 4.3.174

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.
@@ -318,6 +318,14 @@ class InventoryByProduct extends localize(i18next)(PageView) {
318
318
  header: i18next.t('field.warehouse_qty'),
319
319
  label: true,
320
320
  width: 120
321
+ },
322
+ {
323
+ type: 'integer',
324
+ name: 'obsoleteQty',
325
+ imex: { header: i18next.t('field.obsolete_qty'), key: 'obsoleteQty', width: 20, type: 'integer' },
326
+ header: i18next.t('field.obsolete_qty'),
327
+ label: true,
328
+ width: 120
321
329
  }
322
330
  ]
323
331
  }
@@ -351,6 +359,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
351
359
  reserveQty
352
360
  draftQty
353
361
  warehouseQty
362
+ obsoleteQty
354
363
  }
355
364
  total
356
365
  }
@@ -376,6 +385,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
376
385
  record.warehouseQty = item.warehouseQty
377
386
  record.draftQty = item.draftQty
378
387
  record.bizplace = item.bizplace
388
+ record.obsoleteQty = item.obsoleteQty
379
389
 
380
390
  return record
381
391
  })
@@ -514,7 +524,8 @@ class InventoryByProduct extends localize(i18next)(PageView) {
514
524
  quarantineQty: item.quarantineQty,
515
525
  reserveQty: item.reserveQty,
516
526
  draftQty: item.draftQty,
517
- warehouseQty: item.warehouseQty
527
+ warehouseQty: item.warehouseQty,
528
+ obsoleteQty: item.obsoleteQty
518
529
  // averageUnitCost: item.averageUnitCost
519
530
  }
520
531
  })
@@ -322,8 +322,8 @@ class WorksheetPacking extends localize(i18next)(PageView) {
322
322
  ownTransport
323
323
  releaseDate
324
324
  remark
325
- manifest {
326
- id
325
+ orderPackages {
326
+ manifestedAt
327
327
  }
328
328
  }
329
329
  marketplaceOrder {
@@ -413,7 +413,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
413
413
  this._trackingNo = worksheet.marketplaceOrder?.trackingNo
414
414
  this._refNo = worksheet?.releaseGood?.refNo
415
415
  this._roNo = worksheet?.releaseGood?.name || ''
416
- this._isManifested = worksheet?.releaseGood?.manifest?.id ? true : false
416
+ this._isManifested = !worksheet?.releaseGood?.orderPackages.find(itm => itm.manifestedAt == null)
417
417
 
418
418
  this._fillupForm({
419
419
  ...worksheet,
@@ -4,45 +4,33 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 4000,
8
- inspect: '9330',
7
+ port: 1100,
8
+ inspect: '9430',
9
9
  ormconfig: {
10
10
  name: 'default',
11
11
  type: 'postgres',
12
- database: 'dev3',
12
+ database: 'chris',
13
13
  username: 'postgres',
14
14
  password: 'hatio',
15
- host: 'localhost',
15
+ host: '192.168.0.161',
16
16
  port: 15432,
17
- synchronize: false,
18
- logging: true
17
+ synchronize: true,
18
+ logging: false
19
19
  },
20
20
  // ormconfig: {
21
21
  // name: 'default',
22
22
  // type: 'postgres',
23
- // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
24
- // port: 55432,
25
- // database: 'dev2',
23
+ // database: 'dev',
26
24
  // username: 'postgres',
27
25
  // password: 'abcd1234',
28
- // synchronize: false,
29
- // logging: true,
30
- // connectTimeoutMS: 30000,
31
- // extra: { poolSize: 30 }
26
+ // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
+ // port: 55432,
28
+ // synchronize: true,
29
+ // logging: true
32
30
  // },
33
- //ormconfig: {
34
- // name: 'default',
35
- // type: 'postgres',
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: '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',
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
- reportApiUrl: 'http://localhost:8888/rest/report/show_html'
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.171",
3
+ "version": "4.3.174",
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.159",
91
91
  "@things-factory/print-ui": "^4.3.159",
92
- "@things-factory/product-base": "^4.3.171",
92
+ "@things-factory/product-base": "^4.3.172",
93
93
  "@things-factory/resource-ui": "^4.3.163",
94
- "@things-factory/sales-ui": "^4.3.171",
94
+ "@things-factory/sales-ui": "^4.3.174",
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.159",
108
108
  "@things-factory/transport-base": "^4.3.163",
109
109
  "@things-factory/tutorial-ui": "^4.3.163",
110
- "@things-factory/warehouse-base": "^4.3.171",
111
- "@things-factory/worksheet-base": "^4.3.171"
110
+ "@things-factory/warehouse-base": "^4.3.174",
111
+ "@things-factory/worksheet-base": "^4.3.174"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.159",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "fc6c437985c50a59bcdf4fdfd981c9da039172ba"
120
+ "gitHead": "bdc29b349e14a5814af888d8e0a72aa7347b4cf1"
121
121
  }
@@ -1366,6 +1366,7 @@
1366
1366
  "text.now_using_normal_pallet": "now using normal pallet",
1367
1367
  "text.now_using_reusable_pallet": "now using reusable pallet",
1368
1368
  "text.obsolete_inventory_found_please_reassign": "obsolete inventory found, please reassign",
1369
+ "field.obsolete_qty": "obsolete qty",
1369
1370
  "text.offline": "offline",
1370
1371
  "text.online": "online",
1371
1372
  "text.only_supports_search_of_single_field": "only supports search of single field",
@@ -2095,5 +2095,6 @@
2095
2095
  "field.obsolete": "[ko] obsolete",
2096
2096
  "text.obsolete_inventory_found_please_reassign": "[ko] obsolete inventory found, please reassign",
2097
2097
  "text.invalid_unit_price_not_a_number": "[ko] invalid unit price (not a number)",
2098
- "text.please_enter_transfer_qty": "[ko] please enter transfer quantity"
2098
+ "text.please_enter_transfer_qty": "[ko] please enter transfer quantity",
2099
+ "field.obsolete_qty": "[ko] obsolete qty"
2099
2100
  }
@@ -1968,5 +1968,6 @@
1968
1968
  "field.obsolete": "[ms] obsolete",
1969
1969
  "text.obsolete_inventory_found_please_reassign": "[ms] obsolete inventory found, please reassign",
1970
1970
  "text.invalid_unit_price_not_a_number": "[ms] invalid unit price (not a number)",
1971
- "text.please_enter_transfer_qty": "[ms] please enter transfer quantity"
1971
+ "text.please_enter_transfer_qty": "[ms] please enter transfer quantity",
1972
+ "field.obsolete_qty": "[ms] obsolete qty"
1972
1973
  }
@@ -1918,5 +1918,6 @@
1918
1918
  "field.obsolete": "[zh] obsolete",
1919
1919
  "text.obsolete_inventory_found_please_reassign": "[zh] obsolete inventory found, please reassign",
1920
1920
  "text.invalid_unit_price_not_a_number": "[zh] invalid unit price (not a number)",
1921
- "text.please_enter_transfer_qty": "[zh] please enter transfer quantity"
1921
+ "text.please_enter_transfer_qty": "[zh] please enter transfer quantity",
1922
+ "field.obsolete_qty": "[zh] obsolete qty"
1922
1923
  }