@things-factory/operato-wms 4.3.119 → 4.3.122

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>
@@ -291,6 +291,15 @@ class InventoryByProduct extends localize(i18next)(PageView) {
291
291
  sortable: true,
292
292
  width: 80
293
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
302
+ },
294
303
  {
295
304
  type: 'integer',
296
305
  name: 'warehouseQty',
@@ -328,6 +337,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
328
337
  releaseQty
329
338
  quarantineQty
330
339
  reserveQty
340
+ draftQty
331
341
  warehouseQty
332
342
  }
333
343
  total
@@ -350,6 +360,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
350
360
  record.quarantineQty = item.quarantineQty
351
361
  record.reserveQty = item.reserveQty
352
362
  record.warehouseQty = item.warehouseQty
363
+ record.draftQty = item.draftQty
353
364
  record.bizplace = item.bizplace
354
365
 
355
366
  return record
@@ -486,6 +497,7 @@ class InventoryByProduct extends localize(i18next)(PageView) {
486
497
  releaseQty: item.releaseQty,
487
498
  quarantineQty: item.quarantineQty,
488
499
  reserveQty: item.reserveQty,
500
+ draftQty: item.draftQty,
489
501
  warehouseQty: item.warehouseQty
490
502
  // averageUnitCost: item.averageUnitCost
491
503
  }
@@ -133,7 +133,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
133
133
  ) {
134
134
  actions.push({
135
135
  title: i18next.t('button.ready_to_ship'),
136
- action: this._setOrderToRTS.bind(this),
136
+ action: this.setOrderToRTS.bind(this),
137
137
  ...CommonButtonStyles.logistics
138
138
  })
139
139
  }
@@ -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,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
+ 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
+ },
9
20
  // ormconfig: {
10
21
  // name: 'default',
11
22
  // type: 'postgres',
12
- // database: 'dev2',
23
+ // database: 'postgres',
13
24
  // username: 'postgres',
14
- // password: 'hatio',
15
- // host: '192.168.0.153',
16
- // port: 15432,
25
+ // password: 'abcd1234',
26
+ // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
+ // port: 55432,
17
28
  // synchronize: true,
18
29
  // logging: true
19
30
  // },
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 }
31
+ sellercraftIntegrationConfig: {
32
+ apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
32
33
  },
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
- //},
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.119",
3
+ "version": "4.3.122",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -63,60 +63,60 @@
63
63
  "@operato/scene-tab": "^0.1.8",
64
64
  "@operato/scene-table": "^0.1.8",
65
65
  "@operato/scene-wheel-sorter": "^0.1.8",
66
- "@things-factory/apptool-ui": "^4.3.114",
67
- "@things-factory/attachment-ui": "^4.3.114",
68
- "@things-factory/auth-ui": "^4.3.114",
69
- "@things-factory/barcode-ui": "^4.3.117",
70
- "@things-factory/biz-ui": "^4.3.114",
71
- "@things-factory/board-service": "^4.3.114",
72
- "@things-factory/board-ui": "^4.3.115",
73
- "@things-factory/code-ui": "^4.3.114",
74
- "@things-factory/context-ui": "^4.3.114",
75
- "@things-factory/export-ui": "^4.3.114",
76
- "@things-factory/export-ui-csv": "^4.3.114",
77
- "@things-factory/export-ui-excel": "^4.3.114",
78
- "@things-factory/fav-base": "^4.3.114",
79
- "@things-factory/form-ui": "^4.3.114",
80
- "@things-factory/geography": "^4.3.116",
81
- "@things-factory/grist-ui": "^4.3.114",
82
- "@things-factory/help": "^4.3.114",
83
- "@things-factory/i18n-base": "^4.3.114",
84
- "@things-factory/id-rule-base": "^4.3.114",
85
- "@things-factory/import-ui": "^4.3.114",
86
- "@things-factory/import-ui-excel": "^4.3.114",
87
- "@things-factory/menu-ui": "^4.3.114",
88
- "@things-factory/more-ui": "^4.3.114",
89
- "@things-factory/notification": "^4.3.114",
90
- "@things-factory/pdf": "^4.3.114",
91
- "@things-factory/print-proxy-service": "^4.3.114",
92
- "@things-factory/print-ui": "^4.3.114",
93
- "@things-factory/product-base": "^4.3.114",
94
- "@things-factory/resource-ui": "^4.3.114",
95
- "@things-factory/sales-ui": "^4.3.119",
96
- "@things-factory/scene-data-transform": "^4.3.114",
97
- "@things-factory/scene-excel": "^4.3.114",
98
- "@things-factory/scene-firebase": "^4.3.114",
99
- "@things-factory/scene-form": "^4.3.114",
100
- "@things-factory/scene-google-map": "^4.3.114",
101
- "@things-factory/scene-graphql": "^4.3.114",
102
- "@things-factory/scene-label": "^4.3.117",
103
- "@things-factory/scene-marker": "^4.3.114",
104
- "@things-factory/scene-mqtt": "^4.3.114",
105
- "@things-factory/scene-restful": "^4.3.114",
106
- "@things-factory/scene-visualizer": "^4.3.114",
107
- "@things-factory/setting-ui": "^4.3.114",
108
- "@things-factory/system-ui": "^4.3.114",
109
- "@things-factory/transport-base": "^4.3.114",
110
- "@things-factory/tutorial-ui": "^4.3.114",
111
- "@things-factory/warehouse-base": "^4.3.119",
112
- "@things-factory/worksheet-base": "^4.3.119"
66
+ "@things-factory/apptool-ui": "^4.3.122",
67
+ "@things-factory/attachment-ui": "^4.3.122",
68
+ "@things-factory/auth-ui": "^4.3.122",
69
+ "@things-factory/barcode-ui": "^4.3.122",
70
+ "@things-factory/biz-ui": "^4.3.122",
71
+ "@things-factory/board-service": "^4.3.122",
72
+ "@things-factory/board-ui": "^4.3.122",
73
+ "@things-factory/code-ui": "^4.3.122",
74
+ "@things-factory/context-ui": "^4.3.122",
75
+ "@things-factory/export-ui": "^4.3.122",
76
+ "@things-factory/export-ui-csv": "^4.3.122",
77
+ "@things-factory/export-ui-excel": "^4.3.122",
78
+ "@things-factory/fav-base": "^4.3.122",
79
+ "@things-factory/form-ui": "^4.3.122",
80
+ "@things-factory/geography": "^4.3.122",
81
+ "@things-factory/grist-ui": "^4.3.122",
82
+ "@things-factory/help": "^4.3.122",
83
+ "@things-factory/i18n-base": "^4.3.122",
84
+ "@things-factory/id-rule-base": "^4.3.122",
85
+ "@things-factory/import-ui": "^4.3.122",
86
+ "@things-factory/import-ui-excel": "^4.3.122",
87
+ "@things-factory/menu-ui": "^4.3.122",
88
+ "@things-factory/more-ui": "^4.3.122",
89
+ "@things-factory/notification": "^4.3.122",
90
+ "@things-factory/pdf": "^4.3.122",
91
+ "@things-factory/print-proxy-service": "^4.3.122",
92
+ "@things-factory/print-ui": "^4.3.122",
93
+ "@things-factory/product-base": "^4.3.122",
94
+ "@things-factory/resource-ui": "^4.3.122",
95
+ "@things-factory/sales-ui": "^4.3.122",
96
+ "@things-factory/scene-data-transform": "^4.3.122",
97
+ "@things-factory/scene-excel": "^4.3.122",
98
+ "@things-factory/scene-firebase": "^4.3.122",
99
+ "@things-factory/scene-form": "^4.3.122",
100
+ "@things-factory/scene-google-map": "^4.3.122",
101
+ "@things-factory/scene-graphql": "^4.3.122",
102
+ "@things-factory/scene-label": "^4.3.122",
103
+ "@things-factory/scene-marker": "^4.3.122",
104
+ "@things-factory/scene-mqtt": "^4.3.122",
105
+ "@things-factory/scene-restful": "^4.3.122",
106
+ "@things-factory/scene-visualizer": "^4.3.122",
107
+ "@things-factory/setting-ui": "^4.3.122",
108
+ "@things-factory/system-ui": "^4.3.122",
109
+ "@things-factory/transport-base": "^4.3.122",
110
+ "@things-factory/tutorial-ui": "^4.3.122",
111
+ "@things-factory/warehouse-base": "^4.3.122",
112
+ "@things-factory/worksheet-base": "^4.3.122"
113
113
  },
114
114
  "devDependencies": {
115
- "@things-factory/builder": "^4.3.114",
115
+ "@things-factory/builder": "^4.3.122",
116
116
  "cypress": "^9.4.1",
117
117
  "cypress-file-upload": "^5.0.8",
118
118
  "cypress-localstorage-commands": "^1.6.1",
119
119
  "eslint-plugin-cypress": "^2.12.1"
120
120
  },
121
- "gitHead": "ddaadde331a4640ee9c933fc7f399e24d49d6823"
121
+ "gitHead": "3edd80e6ca68480b22ee0e25eba34d13ab0e49f1"
122
122
  }
@@ -257,6 +257,7 @@
257
257
  "field.do": "DO",
258
258
  "field.domain": "domain",
259
259
  "field.done": "done",
260
+ "field.draft_qty": "draft qty",
260
261
  "field.driver_code": "driver code",
261
262
  "field.driver_name": "driver name",
262
263
  "field.driver": "driver",
@@ -287,6 +287,7 @@
287
287
  "field.do": "운송주문",
288
288
  "field.domain": "도메인",
289
289
  "field.done": "완료",
290
+ "field.draft_qty": "[ko]draft qty",
290
291
  "field.driver_code": "운전자 코드",
291
292
  "field.driver_name": "운전자 이름",
292
293
  "field.driver": "운전자",
@@ -275,6 +275,7 @@
275
275
  "field.do": "DO",
276
276
  "field.domain": "domain",
277
277
  "field.done": "siap",
278
+ "field.draft_qty": "[ms]draft qty",
278
279
  "field.driver_code": "msd pemandu",
279
280
  "field.driver_name": "nama pemandu",
280
281
  "field.driver": "pemandu",
@@ -264,6 +264,7 @@
264
264
  "field.do": "DO",
265
265
  "field.domain": "domain",
266
266
  "field.done": "done",
267
+ "field.draft_qty": "[zh]draft qty",
267
268
  "field.driver_code": "[zh]driver code",
268
269
  "field.driver_name": "[zh]driver name",
269
270
  "field.driver": "司机",