diff --git a/Step.Utils/languages/IT.xml b/Step.Utils/languages/IT.xml index cfb8efa1..0cb7380f 100644 --- a/Step.Utils/languages/IT.xml +++ b/Step.Utils/languages/IT.xml @@ -181,7 +181,8 @@ Utensile %d Modifica utensile %d della famiglia %s Modifica utensile %d del gruppo %s - Cerca un utensile per nome + Cerca un utensile per id + Cerca un utensile per nome Cerca un colodo per Id Cerca un Multitool per nome Cerca una manina per Id diff --git a/Step.Utils/languages/en.xml b/Step.Utils/languages/en.xml index a0af09af..5c478817 100644 --- a/Step.Utils/languages/en.xml +++ b/Step.Utils/languages/en.xml @@ -180,7 +180,8 @@ Tool no. %d Edit Tool no. %d of family: %s Edit Tool no. %d of group: %s - Find a tool by name + Find a tool by id + Find a tool by name Find a shank by Id Find a Multitool by name Find a mag.position by Id diff --git a/Step/wwwroot/src/app_modules/tooling/components/tooling-depot.vue b/Step/wwwroot/src/app_modules/tooling/components/tooling-depot.vue index 66fb6a2f..6d7463b7 100644 --- a/Step/wwwroot/src/app_modules/tooling/components/tooling-depot.vue +++ b/Step/wwwroot/src/app_modules/tooling/components/tooling-depot.vue @@ -62,7 +62,7 @@
-
+
-
+
String(t.id).indexOf(id) >=0); + if(SH.length > 0) + return SH[0].magazineId; + + return null; + } + + public getToolShankPosition = function (id) { + if (!this.multitoolOptionActive) + return null + return id + } + private internalCounter = -1; public addEdge() { diff --git a/Step/wwwroot/src/app_modules/tooling/components/tooling-equipment.vue b/Step/wwwroot/src/app_modules/tooling/components/tooling-equipment.vue index ffcbdf0c..f5db493c 100644 --- a/Step/wwwroot/src/app_modules/tooling/components/tooling-equipment.vue +++ b/Step/wwwroot/src/app_modules/tooling/components/tooling-equipment.vue @@ -29,11 +29,13 @@ @click="selectTool(t)">
-