This commit is contained in:
2025-04-05 13:05:42 -05:00
parent b4a5db028e
commit 1100a0fc08
7 changed files with 22 additions and 11 deletions

View File

@@ -75,8 +75,11 @@
:saveCompra="saveCompra"
:updateCompra="updateCompra"
:isUpdate="isUpdate"
/>
</div>
</div>
</template>
@@ -98,7 +101,8 @@ export default {
detalle: "",
valor: 0,
metodopago: "",
categoria: "",
categoria: ""
},
compras: [],
search: "",
@@ -106,6 +110,7 @@ export default {
categorias: [],
isUpdate: false,
openForm: false ,
isOpen: false,
};
},
async mounted() {
@@ -179,6 +184,7 @@ export default {
var reg_edit = this.compras.filter((ic) => ic._id===id)[0];
this.newCompra = JSON.parse(JSON.stringify(reg_edit));
this.openForm = true;
},