This commit is contained in:
2021-08-14 09:02:48 -05:00
parent e170fe7f94
commit 3b2a06b043

View File

@@ -108,11 +108,11 @@ export default {
openForm: false , openForm: false ,
}; };
}, },
mounted() { async mounted() {
this.$store.dispatch("getCategorias"); await this.$store.dispatch("getCategorias");
this.$store.dispatch("getMetodos"); await this.$store.dispatch("getMetodos");
this.newCompra.fecha = this.$store.state.fecha; this.newCompra.fecha = this.$store.state.fecha;
this.categorias = this.$store.state.categorias; this.categorias = this.$store.state.categorias;
this.metodos_pago = this.$store.state.metodos_de_pago; this.metodos_pago = this.$store.state.metodos_de_pago;