@things-factory/operato-wms 4.3.118 → 4.3.120

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.
@@ -201,7 +201,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
201
201
  </fieldset>
202
202
  </form>
203
203
 
204
- <form id="input-form" class="multi-column-form" @keypress="${this._putaway.bind(this)}">
204
+ <form id="input-form" class="multi-column-form">
205
205
  <fieldset>
206
206
  ${this.recommendLocationName
207
207
  ? html` <label>${i18next.t('label.recommend_location')}</label>
@@ -288,7 +288,17 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
288
288
  ></barcode-scanable-input>
289
289
 
290
290
  <label>${i18next.t('label.qty')}</label>
291
- <input type="number" min="1" name="transferQty" />`
291
+ <input
292
+ type="number"
293
+ min="1"
294
+ name="transferQty"
295
+ @keypress="${async e => {
296
+ if (e.keyCode === 13) {
297
+ e.preventDefault()
298
+ await this._putaway(e)
299
+ }
300
+ }}"
301
+ />`
292
302
  : html``}
293
303
  </fieldset>
294
304
  </form>
@@ -252,7 +252,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
252
252
  </fieldset>
253
253
  </form>
254
254
 
255
- <form id="input-form" class="multi-column-form" @keypress="${this._transactionHandler.bind(this)}">
255
+ <form id="input-form" class="multi-column-form">
256
256
  <fieldset>
257
257
  ${this._enableCartonLabel
258
258
  ? html`<label>${i18next.t('label.carton_id')}</label>
@@ -303,13 +303,32 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
303
303
  ${this._enableInputQty >= 0 && this._enableInputQty < 4 && !this._isRequireSerialNumberScanningInbound
304
304
  ? html`
305
305
  <label>${i18next.t('label.actual_qty')}</label>
306
- <input name="qty" type="number" min="1" />
306
+ <input
307
+ name="qty"
308
+ type="number"
309
+ min="1"
310
+ @keypress="${async e => {
311
+ if (e.keyCode === 13) {
312
+ e.preventDefault()
313
+ await this._transactionHandler(e)
314
+ }
315
+ }}"
316
+ />
307
317
  `
308
318
  : ''}
309
319
  ${this._isRequiredCheckExpiry
310
320
  ? html`
311
321
  <label>${i18next.t('label.expiry_date')}</label>
312
- <input name="expDate" type="date" />
322
+ <input
323
+ name="expDate"
324
+ type="date"
325
+ @keypress="${async e => {
326
+ if (e.keyCode === 13) {
327
+ e.preventDefault()
328
+ await this._transactionHandler(e)
329
+ }
330
+ }}"
331
+ />
313
332
  `
314
333
  : ''}
315
334
  </fieldset>
@@ -363,7 +363,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
363
363
  </barcode-scanable-input>
364
364
  </fieldset>
365
365
  </form>
366
- <form id="input-form" class="multi-column-form" @keypress="${this.picking.bind(this)}">
366
+ <form id="input-form" class="multi-column-form">
367
367
  ${this.scannable
368
368
  ? html`
369
369
  <fieldset>
@@ -436,7 +436,17 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
436
436
  this._enableInputQty == 3 ||
437
437
  !this._isCartonLabel
438
438
  ? html`<label>${i18next.t('label.picked_qty')}</label>
439
- <input type="number" min="1" name="confirmedQty" /> `
439
+ <input
440
+ type="number"
441
+ min="1"
442
+ name="confirmedQty"
443
+ @keypress="${async e => {
444
+ if (e.keyCode === 13) {
445
+ e.preventDefault()
446
+ await this.picking(e)
447
+ }
448
+ }}"
449
+ /> `
440
450
  : ''} `
441
451
  : ''}
442
452
  ${this._isRequireSerialNumberScanningOutbound
@@ -4,33 +4,45 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 1100,
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
- },
7
+ port: 4000,
8
+ inspect: '9330',
20
9
  // ormconfig: {
21
10
  // name: 'default',
22
11
  // type: 'postgres',
23
- // database: 'postgres',
12
+ // database: 'dev2',
24
13
  // username: 'postgres',
25
- // password: 'abcd1234',
26
- // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
- // port: 55432,
14
+ // password: 'hatio',
15
+ // host: '192.168.0.153',
16
+ // port: 15432,
28
17
  // synchronize: true,
29
18
  // logging: true
30
19
  // },
31
- sellercraftIntegrationConfig: {
32
- apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
20
+ ormconfig: {
21
+ name: 'default',
22
+ type: 'postgres',
23
+ host: 'localhost',
24
+ port: 15432,
25
+ database: 'postgres',
26
+ username: 'postgres',
27
+ password: 'hatio',
28
+ synchronize: false,
29
+ logging: true,
30
+ connectTimeoutMS: 30000,
31
+ extra: { poolSize: 30 }
33
32
  },
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
+ //},
34
46
  SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
35
47
  password: {
36
48
  lowerCase: true,
@@ -44,13 +56,6 @@ module.exports = {
44
56
  looseCharacterLength: 4,
45
57
  history: 2
46
58
  },
47
- // storage: {
48
- // type: 's3',
49
- // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
50
- // secretAccessKey: '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',
51
- // bucketName: 'opa-one',
52
- // region: 'ap-southeast-1'
53
- // },
54
59
  uploads: 'uploads',
55
60
  attachmentsPath: 'attachments',
56
61
  logger: {
@@ -100,5 +105,7 @@ module.exports = {
100
105
  // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
101
106
  // }
102
107
  },
103
- reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
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'
104
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.118",
3
+ "version": "4.3.120",
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.114",
93
93
  "@things-factory/product-base": "^4.3.114",
94
94
  "@things-factory/resource-ui": "^4.3.114",
95
- "@things-factory/sales-ui": "^4.3.118",
95
+ "@things-factory/sales-ui": "^4.3.120",
96
96
  "@things-factory/scene-data-transform": "^4.3.114",
97
97
  "@things-factory/scene-excel": "^4.3.114",
98
98
  "@things-factory/scene-firebase": "^4.3.114",
@@ -108,8 +108,8 @@
108
108
  "@things-factory/system-ui": "^4.3.114",
109
109
  "@things-factory/transport-base": "^4.3.114",
110
110
  "@things-factory/tutorial-ui": "^4.3.114",
111
- "@things-factory/warehouse-base": "^4.3.114",
112
- "@things-factory/worksheet-base": "^4.3.118"
111
+ "@things-factory/warehouse-base": "^4.3.120",
112
+ "@things-factory/worksheet-base": "^4.3.120"
113
113
  },
114
114
  "devDependencies": {
115
115
  "@things-factory/builder": "^4.3.114",
@@ -118,5 +118,5 @@
118
118
  "cypress-localstorage-commands": "^1.6.1",
119
119
  "eslint-plugin-cypress": "^2.12.1"
120
120
  },
121
- "gitHead": "a6ad67f0ef58970cfbde4a41d6c3f35316b98411"
121
+ "gitHead": "c69e060b001e275ada79ba358989930fc197fda6"
122
122
  }