sigesp 1.0.21-20240826 → 1.0.23-20240902

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.
@@ -715,8 +715,9 @@ class MPersonalNomina extends MBasicModel {
715
715
  this.idPermisoPersonal = 0;
716
716
  this.codigoPermisoPersonal = '';
717
717
  this.denominacionPermisoPersonal = '';
718
- this.tipoCargo = '';
718
+ this.tipoCargo = 'N';
719
719
  this.denominacionTipoCargo = '';
720
+ this.TipoCargo = TipoCargo;
720
721
  if (e) {
721
722
  this.idEnterprise = +e.id_enterprise;
722
723
  this.idEmpresa = e.id_empresa;
@@ -830,7 +831,7 @@ class MPersonalNomina extends MBasicModel {
830
831
  this.denominacionPermisoPersonal = e.denperper;
831
832
  this.codigoPermisoPersonal = e.codperper;
832
833
  this.tipoCargo = e.tipcar;
833
- this.denominacionTipoCargo = this.TipoCargo.find(e => e.value == e.tipoCargo).denominacion;
834
+ this.denominacionTipoCargo = this.TipoCargo.find(e => e.value == e.value).denominacion;
834
835
  }
835
836
  else {
836
837
  this.isNew = true;
@@ -4468,7 +4469,6 @@ class MPeriodoNomina extends MBasicModel {
4468
4469
  this.ingresoContabilizadoPeriodo = 0;
4469
4470
  this.fideicomisoContabilizado = 0;
4470
4471
  this.fideicomisoInteresContabilizadoPeriodo = 0;
4471
- this.fechaMostar = '';
4472
4472
  this.mes = 0;
4473
4473
  this.denominacionEstatus = '';
4474
4474
  if (e) {
@@ -4490,7 +4490,6 @@ class MPeriodoNomina extends MBasicModel {
4490
4490
  this.fideicomisoInteresContabilizadoPeriodo = parseInt(e.fidintconper);
4491
4491
  this.denominacionEstatus = this.estatusPeriodo();
4492
4492
  this.mes = +e.mes;
4493
- this.fechaMostar = formatDate(this.fechaDesdePeriodo, 'dd-MM-yyyy', 'es-ES') + " / " + formatDate(this.fechaHastaperiodo, 'dd-MM-yyyy', 'es-ES');
4494
4493
  }
4495
4494
  }
4496
4495
  dataInterface() {