sigesp 1.1.37-20241221 → 1.1.38-20250103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6342,6 +6342,7 @@ class MTipoDepositos extends MBasicModel {
6342
6342
  constructor(e) {
6343
6343
  super();
6344
6344
  this.idEmpresa = 0;
6345
+ this.idEnterprise = 0;
6345
6346
  this.idTipoDeposito = 0;
6346
6347
  this.codigoTipoDeposito = '';
6347
6348
  this.denominacionTipoDeposito = '';
@@ -6358,7 +6359,8 @@ class MTipoDepositos extends MBasicModel {
6358
6359
  this.relacion = '';
6359
6360
  if (e) {
6360
6361
  this.idEmpresa = parseInt(e.id_empresa);
6361
- this.idTipoDeposito = parseInt(e.id_tipoalmacen);
6362
+ this.idEnterprise = +e.id_enterprise;
6363
+ this.idTipoDeposito = parseInt(e.id_tipodeposito);
6362
6364
  this.codigoTipoDeposito = e.codtipalm;
6363
6365
  this.idDeposito = parseInt(e.id_deposito);
6364
6366
  this.idCentroLogistico = parseInt(e.id_cenlog);
@@ -6380,7 +6382,8 @@ class MTipoDepositos extends MBasicModel {
6380
6382
  dataInterface() {
6381
6383
  return {
6382
6384
  id_empresa: this.idEmpresa.toString(),
6383
- id_tipoalmacen: this.idTipoDeposito.toString(),
6385
+ id_enterprise: this.idEnterprise.toString(),
6386
+ id_tipodeposito: this.idTipoDeposito.toString(),
6384
6387
  codtipalm: this.codigoTipoDeposito,
6385
6388
  dentipalm: this.denominacionTipoDeposito,
6386
6389
  existencia: this.existencia.toString(),