@things-factory/operato-wms 4.3.46 → 4.3.47
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.
|
@@ -650,6 +650,17 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
650
650
|
)
|
|
651
651
|
if (quantityTally?.length == 1) {
|
|
652
652
|
this._selectedOrderProduct = null
|
|
653
|
+
if (this._isRequireSerialNumberScanningInbound) {
|
|
654
|
+
this.serialNumberInput.value = ''
|
|
655
|
+
if (this._enableCartonLabel) {
|
|
656
|
+
this.cartonInput.value = ''
|
|
657
|
+
this.productBarcodeInput.value = ''
|
|
658
|
+
this._focusOnCartonInput()
|
|
659
|
+
} else {
|
|
660
|
+
this.lotInput.value = ''
|
|
661
|
+
this._focusOnLotInput()
|
|
662
|
+
}
|
|
663
|
+
}
|
|
653
664
|
}
|
|
654
665
|
}
|
|
655
666
|
|
|
@@ -805,23 +816,29 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
805
816
|
|
|
806
817
|
if (this._enableCartonLabel) {
|
|
807
818
|
if (this._isRequireSerialNumberScanningInbound) {
|
|
808
|
-
this.
|
|
809
|
-
|
|
819
|
+
if (this.cartonInput.value == '') {
|
|
820
|
+
this._focusOnCartonInput()
|
|
821
|
+
} else {
|
|
822
|
+
this.serialNumberInput.value = ''
|
|
823
|
+
this._focusOnSerialNumberInput()
|
|
824
|
+
}
|
|
810
825
|
} else {
|
|
811
826
|
if (this._enableInputQty) {
|
|
812
827
|
this.actualQtyInput.value = ''
|
|
813
|
-
this.cartonInput.value = ''
|
|
814
|
-
this._focusOnCartonInput()
|
|
815
828
|
}
|
|
829
|
+
this.cartonInput.value = ''
|
|
830
|
+
this._focusOnCartonInput()
|
|
816
831
|
}
|
|
817
832
|
} else {
|
|
818
|
-
if (this.
|
|
819
|
-
this.
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
833
|
+
if (this.lotInput.value !== '') {
|
|
834
|
+
if (this._isRequireSerialNumberScanningInbound) {
|
|
835
|
+
this.serialNumberInput.value = ''
|
|
836
|
+
this._focusOnSerialNumberInput()
|
|
837
|
+
} else {
|
|
838
|
+
this.lotInput.value = ''
|
|
839
|
+
if (this._enableInputQty) this.actualQtyInput.value = ''
|
|
840
|
+
this._focusOnLotInput()
|
|
841
|
+
}
|
|
825
842
|
}
|
|
826
843
|
}
|
|
827
844
|
|
|
@@ -895,7 +912,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
895
912
|
inventory: {
|
|
896
913
|
palletId: this._enableCartonLabel ? null : this.lotInput.value.trim(),
|
|
897
914
|
cartonId: this._enableCartonLabel ? this.cartonInput.value.trim() : null,
|
|
898
|
-
expirationDate: this.
|
|
915
|
+
expirationDate: this._isRequiredCheckExpiry ? this.expDateInput.value : null
|
|
899
916
|
}
|
|
900
917
|
}
|
|
901
918
|
})
|
|
@@ -922,6 +939,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
922
939
|
|
|
923
940
|
if (this.serialNumberInput.value == '') {
|
|
924
941
|
this._scanning = false
|
|
942
|
+
this._focusOnSerialNumberInput()
|
|
925
943
|
return this._showToast({ message: i18next.t('text.enter_serial_number') })
|
|
926
944
|
}
|
|
927
945
|
|
|
@@ -951,7 +969,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
951
969
|
inventory: {
|
|
952
970
|
palletId: this._enableCartonLabel ? null : this.lotInput.value.trim(),
|
|
953
971
|
cartonId: this._enableCartonLabel ? this.cartonInput.value.trim() : null,
|
|
954
|
-
expirationDate: this.
|
|
972
|
+
expirationDate: this._isRequiredCheckExpiry ? this.expDateInput.value : null
|
|
955
973
|
}
|
|
956
974
|
}
|
|
957
975
|
})
|
|
@@ -832,7 +832,7 @@ class B2cOrderRequests extends connect(store)(localize(i18next)(PageView)) {
|
|
|
832
832
|
}
|
|
833
833
|
|
|
834
834
|
var headerSetting = this.dataGrist._config.columns
|
|
835
|
-
.filter(column => column.type !== 'gutter' && column.record !== undefined && column.imex !== undefined)
|
|
835
|
+
.filter(column => column.type !== 'gutter' /* && column.record !== undefined */ && column.imex !== undefined)
|
|
836
836
|
.map(column => {
|
|
837
837
|
return column.imex
|
|
838
838
|
})
|
|
@@ -841,7 +841,7 @@ class B2cOrderRequests extends connect(store)(localize(i18next)(PageView)) {
|
|
|
841
841
|
return {
|
|
842
842
|
id: item.id,
|
|
843
843
|
...this._columns
|
|
844
|
-
.filter(column => column.type !== 'gutter' && column.record !== undefined && column.imex !== undefined)
|
|
844
|
+
.filter(column => column.type !== 'gutter' /* && column.record !== undefined */ && column.imex !== undefined)
|
|
845
845
|
.reduce((record, column) => {
|
|
846
846
|
record[column.imex.key] = column.imex.key
|
|
847
847
|
.split('.')
|
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.47",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -63,61 +63,61 @@
|
|
|
63
63
|
"@operato/scene-tab": "^0.1.6",
|
|
64
64
|
"@operato/scene-table": "^0.1.6",
|
|
65
65
|
"@operato/scene-wheel-sorter": "^0.1.6",
|
|
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/geography": "^4.3.
|
|
81
|
-
"@things-factory/grist-ui": "^4.3.
|
|
82
|
-
"@things-factory/help": "^4.3.
|
|
83
|
-
"@things-factory/i18n-base": "^4.3.
|
|
84
|
-
"@things-factory/id-rule-base": "^4.3.
|
|
85
|
-
"@things-factory/import-ui": "^4.3.
|
|
86
|
-
"@things-factory/import-ui-excel": "^4.3.
|
|
87
|
-
"@things-factory/menu-ui": "^4.3.
|
|
88
|
-
"@things-factory/more-ui": "^4.3.
|
|
89
|
-
"@things-factory/notification": "^4.3.
|
|
90
|
-
"@things-factory/pdf": "^4.3.
|
|
91
|
-
"@things-factory/print-proxy-service": "^4.3.
|
|
92
|
-
"@things-factory/print-service": "^4.3.
|
|
93
|
-
"@things-factory/print-ui": "^4.3.
|
|
94
|
-
"@things-factory/product-base": "^4.3.
|
|
95
|
-
"@things-factory/resource-ui": "^4.3.
|
|
96
|
-
"@things-factory/sales-ui": "^4.3.
|
|
97
|
-
"@things-factory/scene-data-transform": "^4.3.
|
|
98
|
-
"@things-factory/scene-excel": "^4.3.
|
|
99
|
-
"@things-factory/scene-firebase": "^4.3.
|
|
100
|
-
"@things-factory/scene-form": "^4.3.
|
|
101
|
-
"@things-factory/scene-google-map": "^4.3.
|
|
102
|
-
"@things-factory/scene-graphql": "^4.3.
|
|
103
|
-
"@things-factory/scene-label": "^4.3.
|
|
104
|
-
"@things-factory/scene-marker": "^4.3.
|
|
105
|
-
"@things-factory/scene-mqtt": "^4.3.
|
|
106
|
-
"@things-factory/scene-restful": "^4.3.
|
|
107
|
-
"@things-factory/scene-visualizer": "^4.3.
|
|
108
|
-
"@things-factory/setting-ui": "^4.3.
|
|
109
|
-
"@things-factory/system-ui": "^4.3.
|
|
110
|
-
"@things-factory/transport-base": "^4.3.
|
|
111
|
-
"@things-factory/tutorial-ui": "^4.3.
|
|
112
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
113
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
66
|
+
"@things-factory/apptool-ui": "^4.3.47",
|
|
67
|
+
"@things-factory/attachment-ui": "^4.3.47",
|
|
68
|
+
"@things-factory/auth-ui": "^4.3.47",
|
|
69
|
+
"@things-factory/barcode-ui": "^4.3.47",
|
|
70
|
+
"@things-factory/biz-ui": "^4.3.47",
|
|
71
|
+
"@things-factory/board-service": "^4.3.47",
|
|
72
|
+
"@things-factory/board-ui": "^4.3.47",
|
|
73
|
+
"@things-factory/code-ui": "^4.3.47",
|
|
74
|
+
"@things-factory/context-ui": "^4.3.47",
|
|
75
|
+
"@things-factory/export-ui": "^4.3.47",
|
|
76
|
+
"@things-factory/export-ui-csv": "^4.3.47",
|
|
77
|
+
"@things-factory/export-ui-excel": "^4.3.47",
|
|
78
|
+
"@things-factory/fav-base": "^4.3.47",
|
|
79
|
+
"@things-factory/form-ui": "^4.3.47",
|
|
80
|
+
"@things-factory/geography": "^4.3.47",
|
|
81
|
+
"@things-factory/grist-ui": "^4.3.47",
|
|
82
|
+
"@things-factory/help": "^4.3.47",
|
|
83
|
+
"@things-factory/i18n-base": "^4.3.47",
|
|
84
|
+
"@things-factory/id-rule-base": "^4.3.47",
|
|
85
|
+
"@things-factory/import-ui": "^4.3.47",
|
|
86
|
+
"@things-factory/import-ui-excel": "^4.3.47",
|
|
87
|
+
"@things-factory/menu-ui": "^4.3.47",
|
|
88
|
+
"@things-factory/more-ui": "^4.3.47",
|
|
89
|
+
"@things-factory/notification": "^4.3.47",
|
|
90
|
+
"@things-factory/pdf": "^4.3.47",
|
|
91
|
+
"@things-factory/print-proxy-service": "^4.3.47",
|
|
92
|
+
"@things-factory/print-service": "^4.3.47",
|
|
93
|
+
"@things-factory/print-ui": "^4.3.47",
|
|
94
|
+
"@things-factory/product-base": "^4.3.47",
|
|
95
|
+
"@things-factory/resource-ui": "^4.3.47",
|
|
96
|
+
"@things-factory/sales-ui": "^4.3.47",
|
|
97
|
+
"@things-factory/scene-data-transform": "^4.3.47",
|
|
98
|
+
"@things-factory/scene-excel": "^4.3.47",
|
|
99
|
+
"@things-factory/scene-firebase": "^4.3.47",
|
|
100
|
+
"@things-factory/scene-form": "^4.3.47",
|
|
101
|
+
"@things-factory/scene-google-map": "^4.3.47",
|
|
102
|
+
"@things-factory/scene-graphql": "^4.3.47",
|
|
103
|
+
"@things-factory/scene-label": "^4.3.47",
|
|
104
|
+
"@things-factory/scene-marker": "^4.3.47",
|
|
105
|
+
"@things-factory/scene-mqtt": "^4.3.47",
|
|
106
|
+
"@things-factory/scene-restful": "^4.3.47",
|
|
107
|
+
"@things-factory/scene-visualizer": "^4.3.47",
|
|
108
|
+
"@things-factory/setting-ui": "^4.3.47",
|
|
109
|
+
"@things-factory/system-ui": "^4.3.47",
|
|
110
|
+
"@things-factory/transport-base": "^4.3.47",
|
|
111
|
+
"@things-factory/tutorial-ui": "^4.3.47",
|
|
112
|
+
"@things-factory/warehouse-base": "^4.3.47",
|
|
113
|
+
"@things-factory/worksheet-base": "^4.3.47"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@things-factory/builder": "^4.3.
|
|
116
|
+
"@things-factory/builder": "^4.3.47",
|
|
117
117
|
"cypress": "^9.4.1",
|
|
118
118
|
"cypress-file-upload": "^5.0.8",
|
|
119
119
|
"cypress-localstorage-commands": "^1.6.1",
|
|
120
120
|
"eslint-plugin-cypress": "^2.12.1"
|
|
121
121
|
},
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "2abf3aa51954ef43fde410c44e854495422e6612"
|
|
123
123
|
}
|