@things-factory/operato-wms 4.3.1 → 4.3.2

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.
@@ -9,6 +9,7 @@ import gql from 'graphql-tag'
9
9
  import { css, html } from 'lit-element'
10
10
  import { connect } from 'pwa-helpers/connect-mixin.js'
11
11
 
12
+ import { sleep } from '@operato/utils'
12
13
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
13
14
  import { i18next, localize } from '@things-factory/i18n-base'
14
15
  import { openPopup } from '@things-factory/layout-base'
@@ -1251,7 +1252,8 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
1251
1252
  )
1252
1253
  }
1253
1254
 
1254
- _openUndoPopup() {
1255
+ async _openUndoPopup() {
1256
+ await sleep(1010)
1255
1257
  openPopup(
1256
1258
  html`
1257
1259
  <undo-putaway-popup
@@ -19,7 +19,7 @@ import { i18next, localize } from '@things-factory/i18n-base'
19
19
  import { openPopup } from '@things-factory/layout-base'
20
20
  import { client, CustomAlert, PageView, store } from '@things-factory/shell'
21
21
  import { CommonButtonStyles } from '@things-factory/styles'
22
- import { isMobileDevice } from '@things-factory/utils'
22
+ import { isMobileDevice, sleep } from '@things-factory/utils'
23
23
 
24
24
  import { fetchSettingRule } from '../../fetch-setting-value'
25
25
  import { ARRIVAL_NOTICE, RETURN_ORDER, VAS_TYPE } from '../constants'
@@ -1210,7 +1210,8 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1210
1210
  }
1211
1211
  }
1212
1212
 
1213
- _openIssueNote() {
1213
+ async _openIssueNote() {
1214
+ await sleep(1010)
1214
1215
  openPopup(
1215
1216
  html`
1216
1217
  <popup-note
@@ -1411,7 +1412,8 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1411
1412
  }
1412
1413
  }
1413
1414
 
1414
- _openUndoUnloadPopup() {
1415
+ async _openUndoUnloadPopup() {
1416
+ await sleep(1010)
1415
1417
  openPopup(
1416
1418
  html`
1417
1419
  <undo-unload-popup
@@ -1447,7 +1449,9 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1447
1449
  }
1448
1450
  )
1449
1451
  }
1450
- _reusablePalletMode() {
1452
+
1453
+ async _reusablePalletMode() {
1454
+ await sleep(1010)
1451
1455
  openPopup(
1452
1456
  html`
1453
1457
  <popup-reusable-pallet
@@ -1470,7 +1474,8 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1470
1474
  )
1471
1475
  }
1472
1476
 
1473
- _openSerialNumberList() {
1477
+ async _openSerialNumberList() {
1478
+ await sleep(1010)
1474
1479
  openPopup(
1475
1480
  html`
1476
1481
  <serial-number-list-popup
@@ -1538,7 +1543,8 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1538
1543
  })
1539
1544
  }
1540
1545
 
1541
- _openVasPopup() {
1546
+ async _openVasPopup() {
1547
+ await sleep(1010)
1542
1548
  openPopup(
1543
1549
  html`
1544
1550
  <palletizing-pallet-popup
@@ -1,17 +1,21 @@
1
1
  import '@things-factory/barcode-ui'
2
- import { MultiColumnFormStyles, SingleColumnFormStyles } from '@things-factory/form-ui'
3
2
  import '@things-factory/grist-ui'
3
+ import './return-pallet-check-popup'
4
+ import './transport-vehicles-popup'
5
+
6
+ import gql from 'graphql-tag'
7
+ import { css, html } from 'lit-element'
8
+ import { connect } from 'pwa-helpers/connect-mixin.js'
9
+
10
+ import { sleep } from '@operato/utils'
11
+ import { MultiColumnFormStyles, SingleColumnFormStyles } from '@things-factory/form-ui'
4
12
  import { i18next, localize } from '@things-factory/i18n-base'
5
13
  import { openPopup } from '@things-factory/layout-base'
6
14
  import { client, CustomAlert, PageView, store } from '@things-factory/shell'
7
15
  import { CommonButtonStyles } from '@things-factory/styles'
8
16
  import { isMobileDevice } from '@things-factory/utils'
9
- import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
11
- import { connect } from 'pwa-helpers/connect-mixin.js'
17
+
12
18
  import { WORKSHEET_STATUS } from '../constants'
13
- import './return-pallet-check-popup'
14
- import './transport-vehicles-popup'
15
19
 
16
20
  class LoadingProduct extends connect(store)(localize(i18next)(PageView)) {
17
21
  static get properties() {
@@ -285,7 +289,8 @@ class LoadingProduct extends connect(store)(localize(i18next)(PageView)) {
285
289
  }
286
290
  }
287
291
 
288
- _openBufferSelector() {
292
+ async _openBufferSelector() {
293
+ await sleep(1010)
289
294
  openPopup(
290
295
  html`
291
296
  <transport-vehicles-popup
@@ -872,7 +877,8 @@ class LoadingProduct extends connect(store)(localize(i18next)(PageView)) {
872
877
  }
873
878
  }
874
879
 
875
- _validateRemainPallets(data) {
880
+ async _validateRemainPallets(data) {
881
+ await sleep(1010)
876
882
  openPopup(
877
883
  html`
878
884
  <return-pallet-check-popup
@@ -9,6 +9,7 @@ import { css, html } from 'lit-element'
9
9
  import { connect } from 'pwa-helpers/connect-mixin.js'
10
10
 
11
11
  import { GhostPrint } from '@operato/ghost-print'
12
+ import { sleep } from '@operato/utils'
12
13
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
13
14
  import { i18next, localize } from '@things-factory/i18n-base'
14
15
  import { openPopup } from '@things-factory/layout-base'
@@ -843,7 +844,8 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
843
844
  }
844
845
  }
845
846
 
846
- _openOrderRemarkPopup() {
847
+ async _openOrderRemarkPopup() {
848
+ await sleep(1010)
847
849
  openPopup(
848
850
  html`
849
851
  <order-remark-popup
@@ -877,7 +879,8 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
877
879
  )
878
880
  }
879
881
 
880
- openSerialNumberPopup() {
882
+ async openSerialNumberPopup() {
883
+ await sleep(1010)
881
884
  openPopup(
882
885
  html`
883
886
  <serial-number-popup
@@ -6,6 +6,7 @@ import './show-my-worksheet-list-popup'
6
6
  import '../components/worksheet-information-popup'
7
7
  import './serial-number-popup'
8
8
  import './tote-popup'
9
+ import { sleep } from '@operato/utils'
9
10
 
10
11
  import gql from 'graphql-tag'
11
12
  import { css, html } from 'lit-element'
@@ -1097,7 +1098,8 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
1097
1098
  )
1098
1099
  }
1099
1100
 
1100
- openSerialNumberPopup() {
1101
+ async openSerialNumberPopup() {
1102
+ await sleep(1010)
1101
1103
  openPopup(
1102
1104
  html`
1103
1105
  <serial-number-popup
@@ -1121,7 +1123,8 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
1121
1123
  )
1122
1124
  }
1123
1125
 
1124
- openTotePopup() {
1126
+ async openTotePopup() {
1127
+ await sleep(1010)
1125
1128
  openPopup(
1126
1129
  html`
1127
1130
  <tote-popup
@@ -1676,7 +1679,8 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
1676
1679
  }
1677
1680
  }
1678
1681
 
1679
- openPalletOutbound() {
1682
+ async openPalletOutbound() {
1683
+ await sleep(1010)
1680
1684
  openPopup(
1681
1685
  html`
1682
1686
  <outbound-reusable-pallet
@@ -1809,7 +1813,8 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
1809
1813
  await this.fetchPalletsHandler(orderNo)
1810
1814
  }
1811
1815
 
1812
- showWorksheetList() {
1816
+ async showWorksheetList() {
1817
+ await sleep(1010)
1813
1818
  openPopup(html` <show-my-worksheet-list-popup></show-my-worksheet-list-popup> `, {
1814
1819
  backdrop: true,
1815
1820
  size: 'small',
@@ -3,6 +3,7 @@ import '@things-factory/grist-ui'
3
3
  import './show-ro-list-popup'
4
4
  import '../components/worksheet-information-popup'
5
5
  import './tote-popup'
6
+ import { sleep } from '@operato/utils'
6
7
 
7
8
  import gql from 'graphql-tag'
8
9
  import { css, html } from 'lit-element'
@@ -377,9 +378,9 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
377
378
  this.releaseOrders = response.data.findReleaseOrdersByTaskNo.releaseGoods
378
379
  this.taskNo = response.data.findReleaseOrdersByTaskNo.taskNo
379
380
  if (this.releaseOrders?.length) {
380
- this._openSelectReleaseOrderPopup()
381
+ await this._openSelectReleaseOrderPopup()
381
382
  } else {
382
- this._completeSortingWorksheet()
383
+ await this._completeSortingWorksheet()
383
384
  }
384
385
  }
385
386
  } catch (e) {
@@ -387,7 +388,8 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
387
388
  }
388
389
  }
389
390
 
390
- _openSelectReleaseOrderPopup() {
391
+ async _openSelectReleaseOrderPopup() {
392
+ await sleep(1010)
391
393
  openPopup(
392
394
  html`
393
395
  <show-ro-list-popup
@@ -420,7 +422,8 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
420
422
  )
421
423
  }
422
424
 
423
- _openTotePopup() {
425
+ async _openTotePopup() {
426
+ await sleep(1010)
424
427
  openPopup(
425
428
  html`
426
429
  <tote-popup
@@ -1,19 +1,23 @@
1
+ import '../components/popup-note'
2
+ import '../components/vas-templates'
3
+
4
+ import gql from 'graphql-tag'
5
+ import { css, html, LitElement } from 'lit-element'
6
+
7
+ import { sleep } from '@operato/utils'
1
8
  import { MultiColumnFormStyles, SingleColumnFormStyles } from '@things-factory/form-ui'
2
9
  import { getRenderer } from '@things-factory/grist-ui'
3
10
  import { i18next } from '@things-factory/i18n-base'
4
11
  import { openPopup } from '@things-factory/layout-base'
5
- import { client, CustomAlert, navigate, UPDATE_CONTEXT, store } from '@things-factory/shell'
12
+ import { client, CustomAlert, navigate, store, UPDATE_CONTEXT } from '@things-factory/shell'
6
13
  import { CommonButtonStyles } from '@things-factory/styles'
7
- import gql from 'graphql-tag'
8
- import { css, html, LitElement } from 'lit-element'
9
- import '../components/popup-note'
10
- import '../components/vas-templates'
14
+
11
15
  import {
12
16
  VAS_BATCH_AND_PRODUCT_TYPE,
13
17
  VAS_BATCH_NO_TYPE,
14
18
  VAS_ETC_TYPE,
15
- VAS_PRODUCT_TYPE,
16
19
  VAS_NAME,
20
+ VAS_PRODUCT_TYPE,
17
21
  WORKSHEET_STATUS
18
22
  } from '../constants'
19
23
 
@@ -583,7 +587,8 @@ export class AbstractExecuteVas extends LitElement {
583
587
  this._selectedTaskStatus = null
584
588
  }
585
589
 
586
- _openIssueEditor() {
590
+ async _openIssueEditor() {
591
+ await sleep(1010)
587
592
  openPopup(
588
593
  html`
589
594
  <popup-note
@@ -5,6 +5,7 @@ import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit-element'
6
6
  import { connect } from 'pwa-helpers/connect-mixin.js'
7
7
 
8
+ import { sleep } from '@operato/utils'
8
9
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
9
10
  import { i18next, localize } from '@things-factory/i18n-base'
10
11
  import { openPopup } from '@things-factory/layout-base'
@@ -347,7 +348,8 @@ class ExecuteReverseKitting extends connect(store)(localize(i18next)(PageView))
347
348
  setTimeout(() => this.orderNoInput.focus(), 100)
348
349
  }
349
350
 
350
- _openPopupCombinationSets(record) {
351
+ async _openPopupCombinationSets(record) {
352
+ await sleep(1010)
351
353
  openPopup(
352
354
  html`
353
355
  <popup-combination-sets
@@ -4,6 +4,7 @@ import '../../inbound/select-location-popup'
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html, LitElement } from 'lit-element'
6
6
 
7
+ import { sleep } from '@operato/utils'
7
8
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
8
9
  import { i18next, localize } from '@things-factory/i18n-base'
9
10
  import { openPopup } from '@things-factory/layout-base'
@@ -500,7 +501,8 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
500
501
  }
501
502
  }
502
503
 
503
- _openSelectLocationPopup() {
504
+ async _openSelectLocationPopup() {
505
+ await sleep(1010)
504
506
  openPopup(
505
507
  html`
506
508
  <select-location-popup
@@ -26,7 +26,7 @@
26
26
  5. Bug fixes and API updates!
27
27
  </div>
28
28
  <br>
29
- https://bit.ly/220407_Hatio_Release
29
+ https://bit.ly/220424_Hatio_Release
30
30
  <br>
31
31
 
32
32
  Should you have any inquiry, feel free to contact support@hatio.asia!
@@ -26,7 +26,7 @@
26
26
  5. Bug fixes and API updates!
27
27
  </div>
28
28
  <br>
29
- https://bit.ly/220407_Hatio_Release
29
+ https://bit.ly/220424_Hatio_Release
30
30
  <br>
31
31
 
32
32
  Should you have any inquiry, feel free to contact support@hatio.asia!
@@ -26,7 +26,7 @@
26
26
  5. Bug fixes and API updates!
27
27
  </div>
28
28
  <br>
29
- https://bit.ly/220407_Hatio_Release
29
+ https://bit.ly/220424_Hatio_Release
30
30
  <br>
31
31
 
32
32
  Should you have any inquiry, feel free to contact support@hatio.asia!
@@ -26,7 +26,7 @@
26
26
  5. Bug fixes and API updates!
27
27
  </div>
28
28
  <br>
29
- https://bit.ly/220407_Hatio_Release
29
+ https://bit.ly/220424_Hatio_Release
30
30
  <br>
31
31
 
32
32
  Should you have any inquiry, feel free to contact support@hatio.asia!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -47,69 +47,69 @@
47
47
  "db:reset": "yarn run db:clear && yarn run db:restore && yarn run db:seed && yarn run db:setpass"
48
48
  },
49
49
  "dependencies": {
50
- "@operato/ghost-print": "^0.4.3",
51
- "@operato/scene-chartjs": "^0.1.5",
52
- "@operato/scene-clock": "^0.1.5",
53
- "@operato/scene-clone": "^0.1.5",
54
- "@operato/scene-compass": "^0.1.5",
55
- "@operato/scene-gauge": "^0.1.5",
56
- "@operato/scene-half-roundrect": "^0.1.5",
57
- "@operato/scene-indoor-map": "^0.1.5",
58
- "@operato/scene-legend": "^0.1.5",
59
- "@operato/scene-news-ticker": "^0.1.5",
60
- "@operato/scene-progressbar": "^0.1.5",
61
- "@operato/scene-random": "^0.1.5",
62
- "@operato/scene-switch": "^0.1.5",
63
- "@operato/scene-tab": "^0.1.5",
64
- "@operato/scene-table": "^0.1.5",
65
- "@operato/scene-wheel-sorter": "^0.1.5",
66
- "@things-factory/apptool-ui": "^4.3.1",
67
- "@things-factory/attachment-ui": "^4.3.1",
68
- "@things-factory/auth-ui": "^4.3.1",
69
- "@things-factory/barcode-ui": "^4.3.1",
70
- "@things-factory/biz-ui": "^4.3.1",
71
- "@things-factory/board-service": "^4.3.1",
72
- "@things-factory/board-ui": "^4.3.1",
73
- "@things-factory/code-ui": "^4.3.1",
74
- "@things-factory/context-ui": "^4.3.1",
75
- "@things-factory/export-ui": "^4.3.1",
76
- "@things-factory/export-ui-csv": "^4.3.1",
77
- "@things-factory/export-ui-excel": "^4.3.1",
78
- "@things-factory/fav-base": "^4.3.1",
79
- "@things-factory/form-ui": "^4.3.1",
80
- "@things-factory/grist-ui": "^4.3.1",
81
- "@things-factory/help": "^4.3.1",
82
- "@things-factory/i18n-base": "^4.3.1",
83
- "@things-factory/id-rule-base": "^4.3.1",
84
- "@things-factory/import-ui": "^4.3.1",
85
- "@things-factory/import-ui-excel": "^4.3.1",
86
- "@things-factory/menu-ui": "^4.3.1",
87
- "@things-factory/more-ui": "^4.3.1",
88
- "@things-factory/notification": "^4.3.1",
89
- "@things-factory/pdf": "^4.3.1",
90
- "@things-factory/print-proxy-service": "^4.3.1",
91
- "@things-factory/print-service": "^4.3.1",
92
- "@things-factory/print-ui": "^4.3.1",
93
- "@things-factory/product-base": "^4.3.1",
94
- "@things-factory/resource-ui": "^4.3.1",
95
- "@things-factory/sales-ui": "^4.3.1",
96
- "@things-factory/scene-data-transform": "^4.3.1",
97
- "@things-factory/scene-excel": "^4.3.1",
98
- "@things-factory/scene-firebase": "^4.3.1",
99
- "@things-factory/scene-form": "^4.3.1",
100
- "@things-factory/scene-google-map": "^4.3.1",
101
- "@things-factory/scene-graphql": "^4.3.1",
102
- "@things-factory/scene-label": "^4.3.1",
103
- "@things-factory/scene-marker": "^4.3.1",
104
- "@things-factory/scene-mqtt": "^4.3.1",
105
- "@things-factory/scene-restful": "^4.3.1",
106
- "@things-factory/scene-visualizer": "^4.3.1",
107
- "@things-factory/setting-ui": "^4.3.1",
108
- "@things-factory/system-ui": "^4.3.1",
109
- "@things-factory/transport-base": "^4.3.1",
110
- "@things-factory/tutorial-ui": "^4.3.1",
111
- "@things-factory/warehouse-base": "^4.3.1",
112
- "@things-factory/worksheet-base": "^4.3.1"
50
+ "@operato/ghost-print": "^0.4.6",
51
+ "@operato/scene-chartjs": "^0.1.6",
52
+ "@operato/scene-clock": "^0.1.6",
53
+ "@operato/scene-clone": "^0.1.6",
54
+ "@operato/scene-compass": "^0.1.6",
55
+ "@operato/scene-gauge": "^0.1.6",
56
+ "@operato/scene-half-roundrect": "^0.1.6",
57
+ "@operato/scene-indoor-map": "^0.1.6",
58
+ "@operato/scene-legend": "^0.1.6",
59
+ "@operato/scene-news-ticker": "^0.1.6",
60
+ "@operato/scene-progressbar": "^0.1.6",
61
+ "@operato/scene-random": "^0.1.6",
62
+ "@operato/scene-switch": "^0.1.6",
63
+ "@operato/scene-tab": "^0.1.6",
64
+ "@operato/scene-table": "^0.1.6",
65
+ "@operato/scene-wheel-sorter": "^0.1.6",
66
+ "@things-factory/apptool-ui": "^4.3.2",
67
+ "@things-factory/attachment-ui": "^4.3.2",
68
+ "@things-factory/auth-ui": "^4.3.2",
69
+ "@things-factory/barcode-ui": "^4.3.2",
70
+ "@things-factory/biz-ui": "^4.3.2",
71
+ "@things-factory/board-service": "^4.3.2",
72
+ "@things-factory/board-ui": "^4.3.2",
73
+ "@things-factory/code-ui": "^4.3.2",
74
+ "@things-factory/context-ui": "^4.3.2",
75
+ "@things-factory/export-ui": "^4.3.2",
76
+ "@things-factory/export-ui-csv": "^4.3.2",
77
+ "@things-factory/export-ui-excel": "^4.3.2",
78
+ "@things-factory/fav-base": "^4.3.2",
79
+ "@things-factory/form-ui": "^4.3.2",
80
+ "@things-factory/grist-ui": "^4.3.2",
81
+ "@things-factory/help": "^4.3.2",
82
+ "@things-factory/i18n-base": "^4.3.2",
83
+ "@things-factory/id-rule-base": "^4.3.2",
84
+ "@things-factory/import-ui": "^4.3.2",
85
+ "@things-factory/import-ui-excel": "^4.3.2",
86
+ "@things-factory/menu-ui": "^4.3.2",
87
+ "@things-factory/more-ui": "^4.3.2",
88
+ "@things-factory/notification": "^4.3.2",
89
+ "@things-factory/pdf": "^4.3.2",
90
+ "@things-factory/print-proxy-service": "^4.3.2",
91
+ "@things-factory/print-service": "^4.3.2",
92
+ "@things-factory/print-ui": "^4.3.2",
93
+ "@things-factory/product-base": "^4.3.2",
94
+ "@things-factory/resource-ui": "^4.3.2",
95
+ "@things-factory/sales-ui": "^4.3.2",
96
+ "@things-factory/scene-data-transform": "^4.3.2",
97
+ "@things-factory/scene-excel": "^4.3.2",
98
+ "@things-factory/scene-firebase": "^4.3.2",
99
+ "@things-factory/scene-form": "^4.3.2",
100
+ "@things-factory/scene-google-map": "^4.3.2",
101
+ "@things-factory/scene-graphql": "^4.3.2",
102
+ "@things-factory/scene-label": "^4.3.2",
103
+ "@things-factory/scene-marker": "^4.3.2",
104
+ "@things-factory/scene-mqtt": "^4.3.2",
105
+ "@things-factory/scene-restful": "^4.3.2",
106
+ "@things-factory/scene-visualizer": "^4.3.2",
107
+ "@things-factory/setting-ui": "^4.3.2",
108
+ "@things-factory/system-ui": "^4.3.2",
109
+ "@things-factory/transport-base": "^4.3.2",
110
+ "@things-factory/tutorial-ui": "^4.3.2",
111
+ "@things-factory/warehouse-base": "^4.3.2",
112
+ "@things-factory/worksheet-base": "^4.3.2"
113
113
  },
114
114
  "devDependencies": {
115
115
  "@things-factory/builder": "^4.3.1",
@@ -118,5 +118,5 @@
118
118
  "cypress-localstorage-commands": "^1.6.1",
119
119
  "eslint-plugin-cypress": "^2.12.1"
120
120
  },
121
- "gitHead": "0e7bdfc4ae1faad52ba7ff0e9a231d24ed0ab5b5"
121
+ "gitHead": "d73cbd8a8f1e3cff5d9bbbddec1ce520d0392def"
122
122
  }