From 09499df9848811fd7d2b795cd4041a022aa2cc57 Mon Sep 17 00:00:00 2001 From: SamuelQuetin Date: Wed, 18 Sep 2024 08:13:10 +0200 Subject: [PATCH] fix change etat apres simu --- src/views/Suppression/SuppSteps.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/Suppression/SuppSteps.vue b/src/views/Suppression/SuppSteps.vue index 93c43ff..c2827dd 100644 --- a/src/views/Suppression/SuppSteps.vue +++ b/src/views/Suppression/SuppSteps.vue @@ -272,6 +272,12 @@ function changeEtape() { demande.value = response.data; }); } + if ((currentStep.value + 1) === 3 ) { + itemService.choixEtape(demande.value.id, 3, 'SUPP') + .then(response => { + demande.value = response.data; + }); + } } function uploadFileFinal() {