From 35221eff5d1cf7e5428c8e3210f0dcc49f4cf950 Mon Sep 17 00:00:00 2001 From: Alessandro Francia Date: Wed, 19 Sep 2018 11:39:51 +0200 Subject: [PATCH] fix change reps --- .../modules/base-components/cards/card-element-queue.vue | 7 +------ .../base-components/cards/card-queue-production.vue | 7 ++++++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Step/wwwroot/src/modules/base-components/cards/card-element-queue.vue b/Step/wwwroot/src/modules/base-components/cards/card-element-queue.vue index 211ef1a4..b942ecfa 100644 --- a/Step/wwwroot/src/modules/base-components/cards/card-element-queue.vue +++ b/Step/wwwroot/src/modules/base-components/cards/card-element-queue.vue @@ -53,12 +53,7 @@ export default { debugger this.enablePopup = true; this.$emit("position", this.$el, this.enablePopup, true); - }, - async changeReps(value){ - console.log(value); - await new FileService().changeReps(this.selectedProcess, this.idPartProgram, value) - this.enablePopup = false; - }, + } // close(){ // this.enablePopup = false; // } diff --git a/Step/wwwroot/src/modules/base-components/cards/card-queue-production.vue b/Step/wwwroot/src/modules/base-components/cards/card-queue-production.vue index c57419c4..34afeeed 100644 --- a/Step/wwwroot/src/modules/base-components/cards/card-queue-production.vue +++ b/Step/wwwroot/src/modules/base-components/cards/card-queue-production.vue @@ -159,7 +159,12 @@ export default { }, close(){ this.enablePopup = false; - } + }, + async changeReps(value){ + console.log(value); + await new FileService().changeReps(this.selectedProcess, this.idPartProgram, value) + this.enablePopup = false; + }, } }