Editar propiedad en venta

This commit is contained in:
2023-11-29 20:44:13 -03:00
parent 39048e12b3
commit 62153dd1ef
4 changed files with 145 additions and 45 deletions

View File

@ -244,6 +244,9 @@
return {
price: (id, value) => {
const idx = this.unidades.findIndex(unidad => unidad.pu_id === id)
if (idx === -1) {
return
}
const old_value = this.unidades[idx].precio
if (old_value === parseFloat(value)) {
return