-- requerido modelo auto

This commit is contained in:
2023-02-02 21:59:10 -07:00
parent 52c6fdd3dd
commit ab9198a5ab
2 changed files with 7 additions and 0 deletions

View File

@@ -5510,6 +5510,11 @@ Partial Class PV
Alert("El campo año no puede ser mayor al año actual.", TipoMensaje.MsgAdvertencia)
Exit Sub
End If
If DdlModeloAuto.SelectedValue = "-1" Then
Alert("El campo modelo se debe de especificar.", TipoMensaje.MsgAdvertencia)
Exit Sub
End If
End If
End If
@@ -7087,6 +7092,7 @@ Partial Class PV
DdlModeloAuto.DataSource = DtModelosAuto
End If
DdlModeloAuto.DataBind()
DdlModeloAuto.Items.Insert(0, New ListItem("-", "-1"))
End Sub
'Protected Sub GvRecepcionUsados_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvRecepcionUsados.RowDataBound