diff --git a/Step/wwwroot/src/components/tooling-magpos.ts b/Step/wwwroot/src/components/tooling-magpos.ts index 88974b2d..4cc66da9 100644 --- a/Step/wwwroot/src/components/tooling-magpos.ts +++ b/Step/wwwroot/src/components/tooling-magpos.ts @@ -27,10 +27,9 @@ export default class toolingMagPos extends Vue { public cancel = function (path:string) { this.$router.push({ path: path}); } + async modify(model) { - async modify(item){ - await new ToolingService().UpdateMagPos(item).then(response => { - this.selectedTool = response; + new ToolingService().UpdateMagPos(model).then(response => { this.magposConfiguration = (this.$store.state as AppModel).tooling.magazinePosConfiguration; }); } diff --git a/Step/wwwroot/src/components/tooling-magpos.vue b/Step/wwwroot/src/components/tooling-magpos.vue index 82fd18cf..fe4ccd03 100644 --- a/Step/wwwroot/src/components/tooling-magpos.vue +++ b/Step/wwwroot/src/components/tooling-magpos.vue @@ -21,7 +21,7 @@
@@ -36,121 +36,13 @@ - - - -
- +
{{'tooling_shanks_boxright_header_modify' | localize("Modifica di Codolo")}} {{selectedTool.id}}
@@ -53,63 +53,7 @@ :title="s.name | localize(s.name)" :type="s.type"> - -
-
@@ -127,126 +71,10 @@
- - - - - -