@things-factory/operato-wms 4.3.315 → 4.3.317
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.
|
@@ -2,27 +2,14 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import {
|
|
6
|
-
css,
|
|
7
|
-
html
|
|
8
|
-
} from 'lit-element'
|
|
5
|
+
import { css, html } from 'lit-element'
|
|
9
6
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
10
7
|
|
|
11
8
|
import { getCodeByName } from '@things-factory/code-base'
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
localize
|
|
15
|
-
} from '@things-factory/i18n-base'
|
|
16
|
-
import {
|
|
17
|
-
client,
|
|
18
|
-
PageView,
|
|
19
|
-
store
|
|
20
|
-
} from '@things-factory/shell'
|
|
9
|
+
import { i18next, localize } from '@things-factory/i18n-base'
|
|
10
|
+
import { client, PageView, store } from '@things-factory/shell'
|
|
21
11
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
22
|
-
import {
|
|
23
|
-
flattenObject,
|
|
24
|
-
isMobileDevice
|
|
25
|
-
} from '@things-factory/utils'
|
|
12
|
+
import { flattenObject, isMobileDevice } from '@things-factory/utils'
|
|
26
13
|
|
|
27
14
|
class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
28
15
|
static get styles() {
|
|
@@ -436,7 +423,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
436
423
|
packingType
|
|
437
424
|
uom
|
|
438
425
|
uomValue
|
|
439
|
-
expiry
|
|
426
|
+
expiry
|
|
440
427
|
bizplace {
|
|
441
428
|
id
|
|
442
429
|
name
|
|
@@ -449,7 +436,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
449
436
|
brand
|
|
450
437
|
description
|
|
451
438
|
volume
|
|
452
|
-
outboundAlert
|
|
439
|
+
outboundAlert
|
|
453
440
|
minOutboundShelfLife
|
|
454
441
|
}
|
|
455
442
|
qty
|
|
@@ -497,8 +484,8 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
497
484
|
}
|
|
498
485
|
})
|
|
499
486
|
|
|
500
|
-
|
|
501
|
-
|
|
487
|
+
// Logging response for debugging
|
|
488
|
+
console.log(response)
|
|
502
489
|
|
|
503
490
|
return {
|
|
504
491
|
total: response.data.onhandInventories.total || 0,
|
|
@@ -513,9 +500,9 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
513
500
|
name: `${item.product.name} ${item.product.description}`,
|
|
514
501
|
productBrand: `${item.product.brand}`
|
|
515
502
|
},
|
|
516
|
-
volume: parseFloat(item.product.volume * item.remainQty).toFixed(
|
|
503
|
+
volume: parseFloat(item.product.volume * item.remainQty).toFixed(4),
|
|
517
504
|
// Need to move to serverside processing and fetch with db query for consistent performance
|
|
518
|
-
condition: this.getCondition(item.location.type)
|
|
505
|
+
condition: this.getCondition(item.location.type)
|
|
519
506
|
// Need to move to serverside processing and fetch with db query for consistent performance
|
|
520
507
|
},
|
|
521
508
|
'_'
|
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.317",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@things-factory/print-ui": "^4.3.281",
|
|
92
92
|
"@things-factory/product-base": "^4.3.301",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.281",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.316",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.281",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.281",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.281",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@things-factory/transport-base": "^4.3.301",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.281",
|
|
110
110
|
"@things-factory/warehouse-base": "^4.3.310",
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.316"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.281",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"cypress-localstorage-commands": "^1.6.1",
|
|
118
118
|
"eslint-plugin-cypress": "^2.12.1"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "580f0cc9dcf0506839f2fd755c5b814ca220917c"
|
|
121
121
|
}
|