@things-factory/operato-wms 4.1.21 → 4.1.24
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.
|
@@ -525,6 +525,7 @@ class InventoryHistory extends localize(i18next)(PageView) {
|
|
|
525
525
|
async _fetchInventoryHistoriesForExport() {
|
|
526
526
|
try {
|
|
527
527
|
this._validate()
|
|
528
|
+
|
|
528
529
|
let inventoryHistory = {}
|
|
529
530
|
let filters = []
|
|
530
531
|
const _customFields = this.searchForm.formFields
|
|
@@ -614,11 +615,15 @@ class InventoryHistory extends localize(i18next)(PageView) {
|
|
|
614
615
|
if (this._toDateInput.value < fromDate) this._toDateInput.value = fromDate
|
|
615
616
|
|
|
616
617
|
let min = new Date(fromDate)
|
|
617
|
-
let
|
|
618
|
-
|
|
618
|
+
let max = new Date(fromDate)
|
|
619
|
+
max.setMonth(max.getMonth() + 1)
|
|
620
|
+
max.setDate(max.getDate() - 1)
|
|
619
621
|
|
|
620
622
|
min = min.toISOString().split('T')[0]
|
|
623
|
+
max = max.toISOString().split('T')[0]
|
|
621
624
|
|
|
625
|
+
this._toDateInput.value = max
|
|
626
|
+
this._toDateInput.max = max
|
|
622
627
|
this._toDateInput.min = min
|
|
623
628
|
}
|
|
624
629
|
|
|
@@ -653,6 +658,7 @@ class InventoryHistory extends localize(i18next)(PageView) {
|
|
|
653
658
|
{ header: i18next.t('field.sku'), key: 'sku', width: 75, type: 'string' },
|
|
654
659
|
{ header: i18next.t('field.product_name'), key: 'productName', width: 75, type: 'string' },
|
|
655
660
|
{ header: i18next.t('field.product_description'), key: 'productDescription', width: 75, type: 'string' },
|
|
661
|
+
{ header: i18next.t('field.brand'), key: 'brand', width: 75, type: 'string' },
|
|
656
662
|
{ header: i18next.t('field.seq'), key: 'seq', width: 75, type: 'number' },
|
|
657
663
|
{ header: i18next.t('field.lot_id'), key: 'palletId', width: 75, type: 'string' },
|
|
658
664
|
{ header: i18next.t('field.carton_id'), key: 'cartonId', width: 75, type: 'string' },
|
|
@@ -662,6 +668,7 @@ class InventoryHistory extends localize(i18next)(PageView) {
|
|
|
662
668
|
{ header: i18next.t('field.uom_value'), key: 'uomValue', width: 75, type: 'number' },
|
|
663
669
|
{ header: i18next.t('field.uom'), key: 'uom', width: 75, type: 'string' },
|
|
664
670
|
{ header: i18next.t('field.location'), key: 'location', width: 75, type: 'string' },
|
|
671
|
+
{ header: i18next.t('field.batch_id'), key: 'batchId', width: 75, type: 'string' },
|
|
665
672
|
{ header: i18next.t('field.batch_no_ref'), key: 'batchIdRef', width: 75, type: 'string' },
|
|
666
673
|
{ header: i18next.t('field.order_no'), key: 'orderNo', width: 75, type: 'string' },
|
|
667
674
|
{ header: i18next.t('field.ref_no'), key: 'refNo', width: 75, type: 'string' },
|
|
@@ -1599,6 +1599,13 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1599
1599
|
imex: { header: i18next.t('field.uom'), key: 'uom', width: 25, type: 'string' },
|
|
1600
1600
|
width: 100
|
|
1601
1601
|
},
|
|
1602
|
+
{
|
|
1603
|
+
type: 'float',
|
|
1604
|
+
name: 'uomValue',
|
|
1605
|
+
header: i18next.t('field.uom_value'),
|
|
1606
|
+
imex: { header: i18next.t('field.uom_value'), key: 'uomValue', width: 25, type: 'float' },
|
|
1607
|
+
width: 100
|
|
1608
|
+
},
|
|
1602
1609
|
{
|
|
1603
1610
|
type: 'integer',
|
|
1604
1611
|
name: 'packQty',
|
|
@@ -1730,6 +1737,7 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1730
1737
|
async importHandler(patches) {
|
|
1731
1738
|
patches.map(itm => {
|
|
1732
1739
|
itm.unitPrice = parseFloat(itm.unitPrice) || ''
|
|
1740
|
+
itm.uomValue = parseFloat(itm.uomValue) || ''
|
|
1733
1741
|
itm.manufactureYear = parseFloat(itm.manufactureYear) || ''
|
|
1734
1742
|
itm.packQty = parseFloat(itm.packQty) || ''
|
|
1735
1743
|
itm.palletQty = parseFloat(itm.palletQty) || ''
|
|
@@ -1744,6 +1752,7 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1744
1752
|
return {
|
|
1745
1753
|
...patch,
|
|
1746
1754
|
unitPrice: parseFloat(patch.unitPrice) || 0,
|
|
1755
|
+
uomValue: parseFloat(patch.uomValue) || 0,
|
|
1747
1756
|
manufactureYear: parseFloat(patch.manufactureYear) || 0,
|
|
1748
1757
|
packQty: parseFloat(patch.packQty) || 0,
|
|
1749
1758
|
palletQty: parseFloat(patch.palletQty) || 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.24",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -57,56 +57,56 @@
|
|
|
57
57
|
"@operato/scene-tab": "^0.1.5",
|
|
58
58
|
"@operato/scene-table": "^0.1.5",
|
|
59
59
|
"@operato/scene-wheel-sorter": "^0.1.5",
|
|
60
|
-
"@things-factory/apptool-ui": "^4.1.
|
|
61
|
-
"@things-factory/attachment-ui": "^4.1.
|
|
62
|
-
"@things-factory/auth-ui": "^4.1.
|
|
63
|
-
"@things-factory/barcode-ui": "^4.1.
|
|
64
|
-
"@things-factory/biz-ui": "^4.1.
|
|
65
|
-
"@things-factory/board-service": "^4.1.
|
|
66
|
-
"@things-factory/board-ui": "^4.1.
|
|
67
|
-
"@things-factory/code-ui": "^4.1.
|
|
68
|
-
"@things-factory/context-ui": "^4.1.
|
|
69
|
-
"@things-factory/export-ui": "^4.1.
|
|
70
|
-
"@things-factory/export-ui-csv": "^4.1.
|
|
71
|
-
"@things-factory/export-ui-excel": "^4.1.
|
|
72
|
-
"@things-factory/fav-base": "^4.1.
|
|
73
|
-
"@things-factory/form-ui": "^4.1.
|
|
74
|
-
"@things-factory/grist-ui": "^4.1.
|
|
75
|
-
"@things-factory/help": "^4.1.
|
|
76
|
-
"@things-factory/i18n-base": "^4.1.
|
|
77
|
-
"@things-factory/id-rule-base": "^4.1.
|
|
78
|
-
"@things-factory/import-ui": "^4.1.
|
|
79
|
-
"@things-factory/import-ui-excel": "^4.1.
|
|
80
|
-
"@things-factory/menu-ui": "^4.1.
|
|
81
|
-
"@things-factory/more-ui": "^4.1.
|
|
82
|
-
"@things-factory/notification": "^4.1.
|
|
60
|
+
"@things-factory/apptool-ui": "^4.1.22",
|
|
61
|
+
"@things-factory/attachment-ui": "^4.1.22",
|
|
62
|
+
"@things-factory/auth-ui": "^4.1.22",
|
|
63
|
+
"@things-factory/barcode-ui": "^4.1.22",
|
|
64
|
+
"@things-factory/biz-ui": "^4.1.22",
|
|
65
|
+
"@things-factory/board-service": "^4.1.22",
|
|
66
|
+
"@things-factory/board-ui": "^4.1.22",
|
|
67
|
+
"@things-factory/code-ui": "^4.1.22",
|
|
68
|
+
"@things-factory/context-ui": "^4.1.22",
|
|
69
|
+
"@things-factory/export-ui": "^4.1.22",
|
|
70
|
+
"@things-factory/export-ui-csv": "^4.1.22",
|
|
71
|
+
"@things-factory/export-ui-excel": "^4.1.22",
|
|
72
|
+
"@things-factory/fav-base": "^4.1.22",
|
|
73
|
+
"@things-factory/form-ui": "^4.1.22",
|
|
74
|
+
"@things-factory/grist-ui": "^4.1.22",
|
|
75
|
+
"@things-factory/help": "^4.1.22",
|
|
76
|
+
"@things-factory/i18n-base": "^4.1.22",
|
|
77
|
+
"@things-factory/id-rule-base": "^4.1.22",
|
|
78
|
+
"@things-factory/import-ui": "^4.1.22",
|
|
79
|
+
"@things-factory/import-ui-excel": "^4.1.22",
|
|
80
|
+
"@things-factory/menu-ui": "^4.1.22",
|
|
81
|
+
"@things-factory/more-ui": "^4.1.22",
|
|
82
|
+
"@things-factory/notification": "^4.1.22",
|
|
83
83
|
"@things-factory/pdf": "^4.1.19",
|
|
84
|
-
"@things-factory/print-proxy-service": "^4.1.
|
|
85
|
-
"@things-factory/print-service": "^4.1.
|
|
86
|
-
"@things-factory/print-ui": "^4.1.
|
|
87
|
-
"@things-factory/product-base": "^4.1.
|
|
88
|
-
"@things-factory/resource-ui": "^4.1.
|
|
89
|
-
"@things-factory/sales-ui": "^4.1.
|
|
84
|
+
"@things-factory/print-proxy-service": "^4.1.22",
|
|
85
|
+
"@things-factory/print-service": "^4.1.22",
|
|
86
|
+
"@things-factory/print-ui": "^4.1.22",
|
|
87
|
+
"@things-factory/product-base": "^4.1.22",
|
|
88
|
+
"@things-factory/resource-ui": "^4.1.22",
|
|
89
|
+
"@things-factory/sales-ui": "^4.1.24",
|
|
90
90
|
"@things-factory/scene-data-transform": "^4.1.19",
|
|
91
91
|
"@things-factory/scene-excel": "^4.1.19",
|
|
92
92
|
"@things-factory/scene-firebase": "^4.1.19",
|
|
93
93
|
"@things-factory/scene-form": "^4.1.19",
|
|
94
94
|
"@things-factory/scene-google-map": "^4.1.19",
|
|
95
95
|
"@things-factory/scene-graphql": "^4.1.19",
|
|
96
|
-
"@things-factory/scene-label": "^4.1.
|
|
96
|
+
"@things-factory/scene-label": "^4.1.22",
|
|
97
97
|
"@things-factory/scene-marker": "^4.1.19",
|
|
98
98
|
"@things-factory/scene-mqtt": "^4.1.19",
|
|
99
99
|
"@things-factory/scene-restful": "^4.1.19",
|
|
100
100
|
"@things-factory/scene-visualizer": "^4.1.19",
|
|
101
|
-
"@things-factory/setting-ui": "^4.1.
|
|
102
|
-
"@things-factory/system-ui": "^4.1.
|
|
103
|
-
"@things-factory/transport-base": "^4.1.
|
|
104
|
-
"@things-factory/tutorial-ui": "^4.1.
|
|
105
|
-
"@things-factory/warehouse-base": "^4.1.
|
|
106
|
-
"@things-factory/worksheet-base": "^4.1.
|
|
101
|
+
"@things-factory/setting-ui": "^4.1.22",
|
|
102
|
+
"@things-factory/system-ui": "^4.1.22",
|
|
103
|
+
"@things-factory/transport-base": "^4.1.22",
|
|
104
|
+
"@things-factory/tutorial-ui": "^4.1.22",
|
|
105
|
+
"@things-factory/warehouse-base": "^4.1.22",
|
|
106
|
+
"@things-factory/worksheet-base": "^4.1.24"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@things-factory/builder": "^4.1.19"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "4b53e53d4daa1258317b2e9f5260fc3038586a18"
|
|
112
112
|
}
|