modal regreso sin transparencias
This commit is contained in:
@@ -1150,6 +1150,17 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fncCantidad(checkbox, numeroMax, idTbCantidadF) {
|
||||||
|
|
||||||
|
var $textbox = $('#' + idTbCantidadF);
|
||||||
|
|
||||||
|
if ($(checkbox).is(':checked')) {
|
||||||
|
$textbox.val(numeroMax);
|
||||||
|
} else {
|
||||||
|
$textbox.val(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ Imports System.Data
|
|||||||
Imports System.Data.SqlClient
|
Imports System.Data.SqlClient
|
||||||
Imports System.IO
|
Imports System.IO
|
||||||
Imports System.Web.Management
|
Imports System.Web.Management
|
||||||
|
Imports DocumentFormat.OpenXml.InkML
|
||||||
Imports Extensiones
|
Imports Extensiones
|
||||||
Imports Microsoft.Reporting.WebForms
|
Imports Microsoft.Reporting.WebForms
|
||||||
Imports MoreLinq
|
Imports MoreLinq
|
||||||
@@ -1237,13 +1238,13 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
|
|
||||||
If BloqueCantidad Then
|
If BloqueCantidad Then
|
||||||
e.Row.FCTextBox("TbCantidadF").Enabled = False
|
e.Row.FCTextBox("TbCantidadF").Enabled = False
|
||||||
|
Else
|
||||||
|
e.Row.FCCheckBox("cbInv").Attributes.Add("onclick", $"fncCantidad(this,{e.Row.DBCampo("CantidadF")},'{e.Row.FCTextBox("TbCantidadF").ClientID}')")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
If Boolean.Parse(e.Row.DataKey("AplicaLote")) Or Boolean.Parse(e.Row.DataKey("AplicaCaducidad")) Then
|
If Boolean.Parse(e.Row.DataKey("AplicaLote")) Or Boolean.Parse(e.Row.DataKey("AplicaCaducidad")) Then
|
||||||
|
|
||||||
CargarCaducidadProducto(e.Row.DataKey("CvePS").ToEntero, e.Row.FCDropDownList("DdlCaducidadProducto"))
|
CargarCaducidadProducto(e.Row.DataKey("CvePS").ToEntero, e.Row.FCDropDownList("DdlCaducidadProducto"))
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -68,8 +68,7 @@ Partial Class UserControl_AddMedico
|
|||||||
Private Sub UserControl_AddMedico_Load(sender As Object, e As EventArgs) Handles Me.Load
|
Private Sub UserControl_AddMedico_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||||
|
|
||||||
If Not Page.IsPostBack Then
|
If Not Page.IsPostBack Then
|
||||||
CargaCombos()
|
|
||||||
CargaCombosMedicoClientesucursal()
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -138,6 +137,9 @@ Partial Class UserControl_AddMedico
|
|||||||
|
|
||||||
|
|
||||||
Public Sub LimpiarControles()
|
Public Sub LimpiarControles()
|
||||||
|
CargaCombos()
|
||||||
|
CargaCombosMedicoClientesucursal()
|
||||||
|
|
||||||
CveMedico = -1
|
CveMedico = -1
|
||||||
CrearDTMedicosClientesSucursales()
|
CrearDTMedicosClientesSucursales()
|
||||||
CveMedicoClienteSucursal = -1
|
CveMedicoClienteSucursal = -1
|
||||||
@@ -197,6 +199,9 @@ Partial Class UserControl_AddMedico
|
|||||||
Public Sub PreparaEdicion(CveMedicoEditar As Integer, Nombre As String, APaterno As String, AMaterno As String, CedulaProfecional As String, FechaNacimiento As Date, Notas As String, Estatus As Boolean,
|
Public Sub PreparaEdicion(CveMedicoEditar As Integer, Nombre As String, APaterno As String, AMaterno As String, CedulaProfecional As String, FechaNacimiento As Date, Notas As String, Estatus As Boolean,
|
||||||
Mail As String, Telefono As String, Celular As String, CveMedicoEspecialidad As Integer, CveMedicoSubEspecialidad As Integer, FechaIng As DateTime, Usuario As String, CveVendedor As Integer)
|
Mail As String, Telefono As String, Celular As String, CveMedicoEspecialidad As Integer, CveMedicoSubEspecialidad As Integer, FechaIng As DateTime, Usuario As String, CveVendedor As Integer)
|
||||||
|
|
||||||
|
CargaCombos()
|
||||||
|
CargaCombosMedicoClientesucursal()
|
||||||
|
|
||||||
CveMedico = CveMedicoEditar
|
CveMedico = CveMedicoEditar
|
||||||
TxtNombre.Text = Nombre
|
TxtNombre.Text = Nombre
|
||||||
TxtAPaterno.Text = APaterno
|
TxtAPaterno.Text = APaterno
|
||||||
|
|||||||
@@ -36949,8 +36949,14 @@ Partial Class Ventas
|
|||||||
If DdlClientesModal.SelectedValue.ToEntero > 0 Then
|
If DdlClientesModal.SelectedValue.ToEntero > 0 Then
|
||||||
ViewState("CveCliente") = DdlClientesModal.SelectedValue.ToEntero
|
ViewState("CveCliente") = DdlClientesModal.SelectedValue.ToEntero
|
||||||
Else
|
Else
|
||||||
Alert("Debe de seleccionar un cliente.", TipoMensaje.MsgAdvertencia)
|
Dim CveClientePublicoGeneral As Integer = GlobalDTCliente(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveCliente", " RFC = 'XAXX010101000' ").ToEntero
|
||||||
Exit Sub
|
|
||||||
|
If CveClientePublicoGeneral > 0 Then
|
||||||
|
ViewState("CveCliente") = CveClientePublicoGeneral
|
||||||
|
Else
|
||||||
|
Alert("Debe de seleccionar un cliente.", TipoMensaje.MsgAdvertencia)
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user