-- mejora

This commit is contained in:
2024-07-08 21:57:58 -07:00
parent fe23e4f15e
commit b9c9b9d5aa
2 changed files with 4 additions and 4 deletions

View File

@@ -696,7 +696,6 @@
let mes = parseInt($('#<%=HidCurrentMonth.ClientID%>').val()); let mes = parseInt($('#<%=HidCurrentMonth.ClientID%>').val());
let anio = parseInt($('#<%=HidCurrentYear.ClientID%>').val()); let anio = parseInt($('#<%=HidCurrentYear.ClientID%>').val());
Calendario(mes,anio); Calendario(mes,anio);
}); });

View File

@@ -31,10 +31,10 @@ Partial Class RepContratosCalendario
Public Property CveContrato As Integer Public Property CveContrato As Integer
Get Get
Return IfNull(ViewState("CveContrato"), "").ToString.ToEntero Return HdnCveContrato.Value.ToEntero
End Get End Get
Set(value As Integer) Set(value As Integer)
ViewState("CveContrato") = value HdnCveContrato.Value = value.ToString
End Set End Set
End Property End Property
@@ -234,7 +234,8 @@ Partial Class RepContratosCalendario
DdlChofer.SelectedValueExist(GvRow.DataKey("CveChofer")) DdlChofer.SelectedValueExist(GvRow.DataKey("CveChofer"))
DdlChofer2.SelectedValueExist(GvRow.DataKey("CveChofer2")) DdlChofer2.SelectedValueExist(GvRow.DataKey("CveChofer2"))
DdlEstatusContrato.SelectedValue = GvRow.DataKey("CveContratosEstatus") DdlEstatusContrato.SelectedValue = GvRow.DataKey("CveContratosEstatus")
CveContrato = GvRow.DataKey("CveContrato").ToEntero
UpModal.Update() UpModal.Update()
RegistraScript("$('#ModalActualizar').modal('show');") RegistraScript("$('#ModalActualizar').modal('show');")
End Sub End Sub