Router al validar ticket

This commit is contained in:
Andres2908
2022-02-28 23:40:28 -06:00
parent 9108a0f0df
commit c18d48292c
+3 -1
View File
@@ -92,13 +92,15 @@ export default {
.then((res) => {
this.updateIsLoading(false)
this.imprimirMensaje(res.data.message)
// this.$router.go(-1)
})
.catch((err) => {
console.log(err)
this.updateIsLoading(false)
this.imprimirError(err.response.data)
})
.finally(() => {
this.$router.go(-1)
})
},
fecha(fecha) {
return moment(fecha).format('L')