funcion: notas de producto #36

Merged
atasistro merged 15 commits from funcion/notas-producto into master 2024-11-12 22:08:37 -03:00
Showing only changes of commit c1af6909c4 - Show all commits

View file

@ -79,7 +79,9 @@
} }
}, },
hayCambios() { hayCambios() {
return this.cantidad != this.cantidadEnChismosa() || this.notas != this.notasEnChismosa(); if (this.cantidad != this.cantidadEnChismosa()) return true;
return this.cantidad > 0 && this.notas != this.notasEnChismosa();
}, },
puedeBorrar() { puedeBorrar() {
return this.cantidadEnChismosa() > 0; return this.cantidadEnChismosa() > 0;