pc
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user