mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
corregido direcciones borran precio
This commit is contained in:
@ -376,6 +376,10 @@ class Direcciones {
|
||||
}
|
||||
}
|
||||
this.#addTarjetaDireccion(this.divDirecciones, this.direcciones, divId, id, unidades, entregaPalets);
|
||||
|
||||
this.calcularPresupuesto = true;
|
||||
this.divDirecciones.trigger('change');
|
||||
|
||||
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
@ -578,6 +582,10 @@ class Direcciones {
|
||||
this.sameAddPrincipalFP2.trigger('change');
|
||||
}
|
||||
}
|
||||
|
||||
this.calcularPresupuesto = true;
|
||||
this.divDirecciones.trigger('change');
|
||||
|
||||
}
|
||||
|
||||
#deleteDireccionFP(event, num_ferroPrototipo = 1) {
|
||||
|
||||
@ -851,7 +851,7 @@ class PresupuestoCliente {
|
||||
self.direcciones.cargarDatos(response.data.direcciones, response.data.datosGenerales,
|
||||
(response.data.direccionesFerroPrototipo && response.data.direccionesFerroPrototipo.length > 0) ?
|
||||
response.data.direccionesFerroPrototipo : [] ,
|
||||
response.data.direccionesFPChecks ? JSON.parse(response.data.direccionesFPChecks) : {}
|
||||
response.data.direccionesFPChecks && response.data.direccionesFPChecks.length > 0 ? JSON.parse(response.data.direccionesFPChecks) : {}
|
||||
);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user