@things-factory/operato-wms 4.3.1 → 4.3.4
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/inbound/putaway-product.js +3 -1
- package/client/pages/inbound/unload-product.js +12 -6
- package/client/pages/outbound/loading-product.js +14 -8
- package/client/pages/outbound/packing-product.js +5 -2
- package/client/pages/outbound/picking-product.js +9 -4
- package/client/pages/outbound/sorting-product.js +7 -4
- package/client/pages/vas/abstract-execute-vas.js +12 -7
- package/client/pages/vas/reverse-kitting/execute-reverse-kitting.js +3 -1
- package/client/pages/vas/reverse-kitting/popup-reverse-kitting-template.js +3 -1
- package/dist-server/entities/warehouse-bizplace-onhand-inventory.js +7 -1
- package/dist-server/entities/warehouse-bizplace-onhand-inventory.js.map +1 -1
- package/helps/release-note.ko.md +1 -1
- package/helps/release-note.md +1 -1
- package/helps/release-note.ms.md +1 -1
- package/helps/release-note.zh.md +1 -1
- package/package.json +65 -65
- package/server/entities/warehouse-bizplace-onhand-inventory.ts +7 -1
- package/translations/en.json +1 -0
- package/translations/ko.json +1 -0
- package/translations/ms.json +1 -0
- package/translations/zh.json +1 -0
|
@@ -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
|
-
|
|
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
|
-
|
|
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,
|
|
12
|
+
import { client, CustomAlert, navigate, store, UPDATE_CONTEXT } from '@things-factory/shell'
|
|
6
13
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
7
|
-
|
|
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
|
|
@@ -107,6 +107,8 @@ WarehouseBizplaceOnhandInventory = __decorate([
|
|
|
107
107
|
null as "productBundleId",
|
|
108
108
|
COALESCE(SUM(COALESCE(i.qty, 0)) - SUM(COALESCE(i.locked_qty, 0)) - MAX(COALESCE(oi.release_qty, 0))) AS "remainQty",
|
|
109
109
|
COALESCE(SUM(COALESCE(i.uom_value, 0)) - SUM(COALESCE(i.locked_uom_value, 0)) - MAX(COALESCE(oi.release_uom_value, 0)), 0) AS "remainUomValue",
|
|
110
|
+
COALESCE(sum(COALESCE(i.qty, 0::double precision))) AS "qty",
|
|
111
|
+
COALESCE(sum(COALESCE(i.uom_value, 0::double precision))) AS "uomValue",
|
|
110
112
|
'SINGLE' AS "groupType"
|
|
111
113
|
FROM inventories i
|
|
112
114
|
INNER JOIN locations l2 ON i.location_id = l2.id AND i.domain_id = l2.domain_id AND l2.type NOT IN ('QUARANTINE', 'RESERVE')
|
|
@@ -131,12 +133,16 @@ WarehouseBizplaceOnhandInventory = __decorate([
|
|
|
131
133
|
pb.id AS "productBundleId",
|
|
132
134
|
COALESCE(MIN(FLOOR(pbs."availableQty")),0) AS "remainQty",
|
|
133
135
|
COALESCE(MIN(FLOOR(pbs."availableUomValue")),0) AS "remainUomValue",
|
|
136
|
+
COALESCE(MIN(FLOOR(pbs."qty")), 0::double precision) AS "qty",
|
|
137
|
+
COALESCE(MIN(FLOOR(pbs."uomValue")), 0::double precision) AS "uomValue",
|
|
134
138
|
'BUNDLE' AS "groupType"
|
|
135
139
|
FROM product_bundles pb
|
|
136
140
|
INNER JOIN (
|
|
137
141
|
SELECT i.domain_id, i.bizplace_id, pbs.product_id, pbs.product_bundle_id, min(pbs.bundle_qty),
|
|
138
142
|
(SUM(COALESCE(i.qty, 0)) - SUM(COALESCE(i.locked_qty, 0)) - MAX(COALESCE(oi.release_qty, 0))) / min(pbs.bundle_qty) AS "availableQty",
|
|
139
|
-
(SUM(COALESCE(i.uom_value, 0)) - SUM(COALESCE(i.locked_uom_value, 0)) - MAX(COALESCE(oi.release_uom_value, 0))) / min(pbs.bundle_qty) AS "availableUomValue"
|
|
143
|
+
(SUM(COALESCE(i.uom_value, 0)) - SUM(COALESCE(i.locked_uom_value, 0)) - MAX(COALESCE(oi.release_uom_value, 0))) / min(pbs.bundle_qty) AS "availableUomValue",
|
|
144
|
+
(sum(COALESCE(i.qty, 0::double precision))) / min(pbs.bundle_qty)::double precision AS "qty",
|
|
145
|
+
(sum(COALESCE(i.uom_value, 0::double precision))) / min(pbs.bundle_qty)::double precision AS "uomValue"
|
|
140
146
|
FROM product_bundle_settings pbs
|
|
141
147
|
LEFT JOIN inventories i ON i.product_id = pbs.product_id AND i.status = 'STORED'
|
|
142
148
|
INNER JOIN locations l ON i.location_id = l.id AND i.domain_id = l.domain_id AND l.type NOT IN ('QUARANTINE', 'RESERVE')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warehouse-bizplace-onhand-inventory.js","sourceRoot":"","sources":["../../server/entities/warehouse-bizplace-onhand-inventory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;
|
|
1
|
+
{"version":3,"file":"warehouse-bizplace-onhand-inventory.js","sourceRoot":"","sources":["../../server/entities/warehouse-bizplace-onhand-inventory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;AA8GhD,IAAa,gCAAgC,GAA7C,MAAa,gCAAgC;CAoC5C,CAAA;AAlCC;IADC,IAAA,oBAAU,GAAE;;oEACK;AAGlB;IADC,IAAA,oBAAU,GAAE;;sEACO;AAGpB;IADC,IAAA,oBAAU,GAAE;;kEACG;AAGhB;IADC,IAAA,oBAAU,GAAE;;oEACK;AAGlB;IADC,IAAA,oBAAU,GAAE;;qEACM;AAGnB;IADC,IAAA,oBAAU,GAAE;;qEACM;AAGnB;IADC,IAAA,oBAAU,GAAE;;6DACF;AAGX;IADC,IAAA,oBAAU,GAAE;;mEACI;AAGjB;IADC,IAAA,oBAAU,GAAE;;yEACU;AAGvB;IADC,IAAA,oBAAU,GAAE;;mEACI;AAGjB;IADC,IAAA,oBAAU,GAAE;;wEACS;AAGtB;IADC,IAAA,oBAAU,GAAE;;mEACI;AAnCN,gCAAgC;IA5G5C,IAAA,oBAAU,EAAC;QACV,UAAU,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwGX;KACF,CAAC;GAEW,gCAAgC,CAoC5C;AApCY,4EAAgC"}
|
package/helps/release-note.ko.md
CHANGED
package/helps/release-note.md
CHANGED
package/helps/release-note.ms.md
CHANGED
package/helps/release-note.zh.md
CHANGED
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.4",
|
|
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.
|
|
51
|
-
"@operato/scene-chartjs": "^0.1.
|
|
52
|
-
"@operato/scene-clock": "^0.1.
|
|
53
|
-
"@operato/scene-clone": "^0.1.
|
|
54
|
-
"@operato/scene-compass": "^0.1.
|
|
55
|
-
"@operato/scene-gauge": "^0.1.
|
|
56
|
-
"@operato/scene-half-roundrect": "^0.1.
|
|
57
|
-
"@operato/scene-indoor-map": "^0.1.
|
|
58
|
-
"@operato/scene-legend": "^0.1.
|
|
59
|
-
"@operato/scene-news-ticker": "^0.1.
|
|
60
|
-
"@operato/scene-progressbar": "^0.1.
|
|
61
|
-
"@operato/scene-random": "^0.1.
|
|
62
|
-
"@operato/scene-switch": "^0.1.
|
|
63
|
-
"@operato/scene-tab": "^0.1.
|
|
64
|
-
"@operato/scene-table": "^0.1.
|
|
65
|
-
"@operato/scene-wheel-sorter": "^0.1.
|
|
66
|
-
"@things-factory/apptool-ui": "^4.3.
|
|
67
|
-
"@things-factory/attachment-ui": "^4.3.
|
|
68
|
-
"@things-factory/auth-ui": "^4.3.
|
|
69
|
-
"@things-factory/barcode-ui": "^4.3.
|
|
70
|
-
"@things-factory/biz-ui": "^4.3.
|
|
71
|
-
"@things-factory/board-service": "^4.3.
|
|
72
|
-
"@things-factory/board-ui": "^4.3.
|
|
73
|
-
"@things-factory/code-ui": "^4.3.
|
|
74
|
-
"@things-factory/context-ui": "^4.3.
|
|
75
|
-
"@things-factory/export-ui": "^4.3.
|
|
76
|
-
"@things-factory/export-ui-csv": "^4.3.
|
|
77
|
-
"@things-factory/export-ui-excel": "^4.3.
|
|
78
|
-
"@things-factory/fav-base": "^4.3.
|
|
79
|
-
"@things-factory/form-ui": "^4.3.
|
|
80
|
-
"@things-factory/grist-ui": "^4.3.
|
|
81
|
-
"@things-factory/help": "^4.3.
|
|
82
|
-
"@things-factory/i18n-base": "^4.3.
|
|
83
|
-
"@things-factory/id-rule-base": "^4.3.
|
|
84
|
-
"@things-factory/import-ui": "^4.3.
|
|
85
|
-
"@things-factory/import-ui-excel": "^4.3.
|
|
86
|
-
"@things-factory/menu-ui": "^4.3.
|
|
87
|
-
"@things-factory/more-ui": "^4.3.
|
|
88
|
-
"@things-factory/notification": "^4.3.
|
|
89
|
-
"@things-factory/pdf": "^4.3.
|
|
90
|
-
"@things-factory/print-proxy-service": "^4.3.
|
|
91
|
-
"@things-factory/print-service": "^4.3.
|
|
92
|
-
"@things-factory/print-ui": "^4.3.
|
|
93
|
-
"@things-factory/product-base": "^4.3.
|
|
94
|
-
"@things-factory/resource-ui": "^4.3.
|
|
95
|
-
"@things-factory/sales-ui": "^4.3.
|
|
96
|
-
"@things-factory/scene-data-transform": "^4.3.
|
|
97
|
-
"@things-factory/scene-excel": "^4.3.
|
|
98
|
-
"@things-factory/scene-firebase": "^4.3.
|
|
99
|
-
"@things-factory/scene-form": "^4.3.
|
|
100
|
-
"@things-factory/scene-google-map": "^4.3.
|
|
101
|
-
"@things-factory/scene-graphql": "^4.3.
|
|
102
|
-
"@things-factory/scene-label": "^4.3.
|
|
103
|
-
"@things-factory/scene-marker": "^4.3.
|
|
104
|
-
"@things-factory/scene-mqtt": "^4.3.
|
|
105
|
-
"@things-factory/scene-restful": "^4.3.
|
|
106
|
-
"@things-factory/scene-visualizer": "^4.3.
|
|
107
|
-
"@things-factory/setting-ui": "^4.3.
|
|
108
|
-
"@things-factory/system-ui": "^4.3.
|
|
109
|
-
"@things-factory/transport-base": "^4.3.
|
|
110
|
-
"@things-factory/tutorial-ui": "^4.3.
|
|
111
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
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.4",
|
|
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.4",
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.4"
|
|
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": "
|
|
121
|
+
"gitHead": "1301c111daf6268e7c6b4464a7dd325901b0db3e"
|
|
122
122
|
}
|
|
@@ -45,6 +45,8 @@ import { ViewColumn, ViewEntity } from 'typeorm'
|
|
|
45
45
|
null as "productBundleId",
|
|
46
46
|
COALESCE(SUM(COALESCE(i.qty, 0)) - SUM(COALESCE(i.locked_qty, 0)) - MAX(COALESCE(oi.release_qty, 0))) AS "remainQty",
|
|
47
47
|
COALESCE(SUM(COALESCE(i.uom_value, 0)) - SUM(COALESCE(i.locked_uom_value, 0)) - MAX(COALESCE(oi.release_uom_value, 0)), 0) AS "remainUomValue",
|
|
48
|
+
COALESCE(sum(COALESCE(i.qty, 0::double precision))) AS "qty",
|
|
49
|
+
COALESCE(sum(COALESCE(i.uom_value, 0::double precision))) AS "uomValue",
|
|
48
50
|
'SINGLE' AS "groupType"
|
|
49
51
|
FROM inventories i
|
|
50
52
|
INNER JOIN locations l2 ON i.location_id = l2.id AND i.domain_id = l2.domain_id AND l2.type NOT IN ('QUARANTINE', 'RESERVE')
|
|
@@ -69,12 +71,16 @@ import { ViewColumn, ViewEntity } from 'typeorm'
|
|
|
69
71
|
pb.id AS "productBundleId",
|
|
70
72
|
COALESCE(MIN(FLOOR(pbs."availableQty")),0) AS "remainQty",
|
|
71
73
|
COALESCE(MIN(FLOOR(pbs."availableUomValue")),0) AS "remainUomValue",
|
|
74
|
+
COALESCE(MIN(FLOOR(pbs."qty")), 0::double precision) AS "qty",
|
|
75
|
+
COALESCE(MIN(FLOOR(pbs."uomValue")), 0::double precision) AS "uomValue",
|
|
72
76
|
'BUNDLE' AS "groupType"
|
|
73
77
|
FROM product_bundles pb
|
|
74
78
|
INNER JOIN (
|
|
75
79
|
SELECT i.domain_id, i.bizplace_id, pbs.product_id, pbs.product_bundle_id, min(pbs.bundle_qty),
|
|
76
80
|
(SUM(COALESCE(i.qty, 0)) - SUM(COALESCE(i.locked_qty, 0)) - MAX(COALESCE(oi.release_qty, 0))) / min(pbs.bundle_qty) AS "availableQty",
|
|
77
|
-
(SUM(COALESCE(i.uom_value, 0)) - SUM(COALESCE(i.locked_uom_value, 0)) - MAX(COALESCE(oi.release_uom_value, 0))) / min(pbs.bundle_qty) AS "availableUomValue"
|
|
81
|
+
(SUM(COALESCE(i.uom_value, 0)) - SUM(COALESCE(i.locked_uom_value, 0)) - MAX(COALESCE(oi.release_uom_value, 0))) / min(pbs.bundle_qty) AS "availableUomValue",
|
|
82
|
+
(sum(COALESCE(i.qty, 0::double precision))) / min(pbs.bundle_qty)::double precision AS "qty",
|
|
83
|
+
(sum(COALESCE(i.uom_value, 0::double precision))) / min(pbs.bundle_qty)::double precision AS "uomValue"
|
|
78
84
|
FROM product_bundle_settings pbs
|
|
79
85
|
LEFT JOIN inventories i ON i.product_id = pbs.product_id AND i.status = 'STORED'
|
|
80
86
|
INNER JOIN locations l ON i.location_id = l.id AND i.domain_id = l.domain_id AND l.type NOT IN ('QUARANTINE', 'RESERVE')
|
package/translations/en.json
CHANGED
|
@@ -1100,6 +1100,7 @@
|
|
|
1100
1100
|
"text.do_you_want_to_print": "do you want to print",
|
|
1101
1101
|
"text.do_you_want_to_proceed": "do you want to proceed",
|
|
1102
1102
|
"text.document_has_been_generated": "document has been generated",
|
|
1103
|
+
"text.draft_order_form_invalid": "draft order form invalid",
|
|
1103
1104
|
"text.driver_and_vehicle_is_not_selected": "driver and vehicle is not selected",
|
|
1104
1105
|
"text.driver_is_empty": "driver name is empty",
|
|
1105
1106
|
"text.driver_is_not_selected": "driver is not selected",
|
package/translations/ko.json
CHANGED
|
@@ -1130,6 +1130,7 @@
|
|
|
1130
1130
|
"text.do_you_want_to_print": "인쇄 하시겠습니까?",
|
|
1131
1131
|
"text.do_you_want_to_proceed": "[ko] do you want to proceed",
|
|
1132
1132
|
"text.document_has_been_generated": "[ko] document has been generated",
|
|
1133
|
+
"text.draft_order_form_invalid": "[ko] draft order form invalid",
|
|
1133
1134
|
"text.driver_and_vehicle_is_not_selected": "운송기사와 차량이 선택되지 않았습니다",
|
|
1134
1135
|
"text.driver_is_empty": "[ko] driver name is empty",
|
|
1135
1136
|
"text.driver_is_not_selected": "운송기사가 선택되지 않았습니다",
|
package/translations/ms.json
CHANGED
|
@@ -1099,6 +1099,7 @@
|
|
|
1099
1099
|
"text.do_you_want_to_print": "adakah anda mahu catak",
|
|
1100
1100
|
"text.do_you_want_to_proceed": "[ms] do you want to proceed",
|
|
1101
1101
|
"text.document_has_been_generated": "[ms] document has been generated",
|
|
1102
|
+
"text.draft_order_form_invalid": "[ms] draft order form invalid",
|
|
1102
1103
|
"text.driver_and_vehicle_is_not_selected": "pemandu dan kenderaan belum dipilih",
|
|
1103
1104
|
"text.driver_is_empty": "[ms] driver name is empty",
|
|
1104
1105
|
"text.driver_is_not_selected": "pemandu tidak dipilih",
|
package/translations/zh.json
CHANGED
|
@@ -1067,6 +1067,7 @@
|
|
|
1067
1067
|
"text.do_you_want_to_print": "do you want to print",
|
|
1068
1068
|
"text.do_you_want_to_proceed": "[zh] do you want to proceed",
|
|
1069
1069
|
"text.document_has_been_generated": "[zh] document has been generated",
|
|
1070
|
+
"text.draft_order_form_invalid": "[zh] draft order form invalid",
|
|
1070
1071
|
"text.driver_and_vehicle_is_not_selected": "driver and vehicle is not selected",
|
|
1071
1072
|
"text.driver_is_empty": "[zh] driver name is empty",
|
|
1072
1073
|
"text.driver_is_not_selected": "driver is not selected",
|