funcion: notas de producto #36
1 changed files with 3 additions and 1 deletions
|
@ -79,7 +79,9 @@
|
|||
}
|
||||
},
|
||||
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() {
|
||||
return this.cantidadEnChismosa() > 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue