@things-factory/operato-wms 4.3.418 → 4.3.420
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.
|
@@ -244,6 +244,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
244
244
|
name="inventoryCheckItemStatus"
|
|
245
245
|
@change="${async e => {
|
|
246
246
|
this.inventoryCheckItemStatus = e.target.value
|
|
247
|
+
this._arrayIndex = 0
|
|
247
248
|
this.updateContext({ inventoryCheckItemStatus: e.target.value })
|
|
248
249
|
await this.fetchCycleCountWorksheet()
|
|
249
250
|
}}"
|
|
@@ -1032,53 +1033,55 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1032
1033
|
cancelButton: { text: i18next.t('button.cancel') }
|
|
1033
1034
|
})
|
|
1034
1035
|
|
|
1035
|
-
|
|
1036
|
+
if (result.value) {
|
|
1037
|
+
let response
|
|
1036
1038
|
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1039
|
+
if (!this._enableCartonLabel) {
|
|
1040
|
+
response = await client.mutate({
|
|
1041
|
+
mutation: gql`
|
|
1042
|
+
mutation undoInspection($worksheetDetailName: String!) {
|
|
1043
|
+
undoInspection(worksheetDetailName: $worksheetDetailName)
|
|
1044
|
+
}
|
|
1045
|
+
`,
|
|
1046
|
+
variables: { worksheetDetailName: name }
|
|
1047
|
+
})
|
|
1048
|
+
} else {
|
|
1049
|
+
response = await client.mutate({
|
|
1050
|
+
mutation: gql`
|
|
1051
|
+
mutation undoInspectionCarton(
|
|
1052
|
+
$productDetailId: String!
|
|
1053
|
+
$cartonId: String!
|
|
1054
|
+
$batchId: String!
|
|
1055
|
+
$locationId: String!
|
|
1056
|
+
$inventoryCheckNo: String!
|
|
1057
|
+
$countNo: Int!
|
|
1058
|
+
) {
|
|
1059
|
+
undoInspectionCarton(
|
|
1060
|
+
productDetailId: $productDetailId
|
|
1061
|
+
cartonId: $cartonId
|
|
1062
|
+
batchId: $batchId
|
|
1063
|
+
locationId: $locationId
|
|
1064
|
+
inventoryCheckNo: $inventoryCheckNo
|
|
1065
|
+
countNo: $countNo
|
|
1066
|
+
)
|
|
1067
|
+
}
|
|
1068
|
+
`,
|
|
1069
|
+
variables: {
|
|
1070
|
+
productDetailId,
|
|
1071
|
+
cartonId,
|
|
1072
|
+
batchId,
|
|
1073
|
+
locationId,
|
|
1074
|
+
inventoryCheckNo: this.cycleCountNo,
|
|
1075
|
+
countNo
|
|
1065
1076
|
}
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
productDetailId,
|
|
1069
|
-
cartonId,
|
|
1070
|
-
batchId,
|
|
1071
|
-
locationId,
|
|
1072
|
-
inventoryCheckNo: this.cycleCountNo,
|
|
1073
|
-
countNo
|
|
1074
|
-
}
|
|
1075
|
-
})
|
|
1076
|
-
}
|
|
1077
|
+
})
|
|
1078
|
+
}
|
|
1077
1079
|
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1080
|
+
if (!response.errors) {
|
|
1081
|
+
await this.fetchCycleCountWorksheet()
|
|
1082
|
+
this.resetInput()
|
|
1083
|
+
this.showToast({ message: i18next.t('text.the_inventory_has_been_successfully_reverted') })
|
|
1084
|
+
}
|
|
1082
1085
|
}
|
|
1083
1086
|
} catch (e) {
|
|
1084
1087
|
this.showToast(e)
|
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.420",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@things-factory/attachment-ui": "^4.3.381",
|
|
67
67
|
"@things-factory/auth-ui": "^4.3.381",
|
|
68
68
|
"@things-factory/barcode-ui": "^4.3.381",
|
|
69
|
-
"@things-factory/biz-ui": "^4.3.
|
|
69
|
+
"@things-factory/biz-ui": "^4.3.419",
|
|
70
70
|
"@things-factory/board-service": "^4.3.381",
|
|
71
71
|
"@things-factory/board-ui": "^4.3.381",
|
|
72
72
|
"@things-factory/code-ui": "^4.3.381",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"@things-factory/pdf": "^4.3.381",
|
|
90
90
|
"@things-factory/print-proxy-service": "^4.3.381",
|
|
91
91
|
"@things-factory/print-ui": "^4.3.381",
|
|
92
|
-
"@things-factory/product-base": "^4.3.
|
|
92
|
+
"@things-factory/product-base": "^4.3.419",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.381",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.419",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.381",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.381",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.381",
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
"@things-factory/scene-visualizer": "^4.3.381",
|
|
106
106
|
"@things-factory/setting-ui": "^4.3.381",
|
|
107
107
|
"@things-factory/system-ui": "^4.3.381",
|
|
108
|
-
"@things-factory/transport-base": "^4.3.
|
|
108
|
+
"@things-factory/transport-base": "^4.3.419",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.381",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.419",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.420"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.381",
|
|
@@ -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": "61d6577a4388832a9f01be90fdacc4b90e6b79bf"
|
|
121
121
|
}
|