Columna CveTipoEmpaque agregada en Exp_ExportacionesDetalle
This commit is contained in:
@@ -351,13 +351,14 @@ Public Class ClsExportaciones
|
|||||||
Return Retorno
|
Return Retorno
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Function AddPartida(CvePS As Integer, CveUnidadMedida As Integer, Precio As Decimal, CveEmpresa As Integer, CveUsuario As Integer, CveExportacion As Integer, Cantidad As Decimal,
|
Public Function AddPartida(CvePS As Integer, CveUnidadMedida As Integer, CveTipoEmpaque As Integer, Precio As Decimal, CveEmpresa As Integer, CveUsuario As Integer, CveExportacion As Integer, Cantidad As Decimal,
|
||||||
PesoUnitario As Decimal, CvePais As Integer) As Boolean
|
PesoUnitario As Decimal, CvePais As Integer) As Boolean
|
||||||
Dim Retorno As Boolean = False
|
Dim Retorno As Boolean = False
|
||||||
DataAdapter("PA_Exp_ExportacionesDetalleAdd")
|
DataAdapter("PA_Exp_ExportacionesDetalleAdd")
|
||||||
With SqlAdapter.SelectCommand.Parameters
|
With SqlAdapter.SelectCommand.Parameters
|
||||||
.Add("@CvePS", SqlDbType.Int).Value = CvePS
|
.Add("@CvePS", SqlDbType.Int).Value = CvePS
|
||||||
.Add("@CveUnidadMedida", SqlDbType.Int).Value = CveUnidadMedida
|
.Add("@CveUnidadMedida", SqlDbType.Int).Value = CveUnidadMedida
|
||||||
|
.Add("@CveTipoEmpaque", SqlDbType.Int).Value = CveTipoEmpaque
|
||||||
.Add("@Precio", SqlDbType.Decimal).Value = Precio
|
.Add("@Precio", SqlDbType.Decimal).Value = Precio
|
||||||
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
||||||
.Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
|
.Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
|
||||||
@@ -378,7 +379,7 @@ Public Class ClsExportaciones
|
|||||||
Return Retorno
|
Return Retorno
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Function UpdatePartida(CveExportacionDetalle As Integer, CvePS As Integer, CveUnidadMedida As Integer, Precio As Decimal, CveUsuario As Integer, Cantidad As Decimal,
|
Public Function UpdatePartida(CveExportacionDetalle As Integer, CvePS As Integer, CveUnidadMedida As Integer, CveTipoEmpaque As Integer, Precio As Decimal, CveUsuario As Integer, Cantidad As Decimal,
|
||||||
PesoUnitario As Decimal, CvePais As Integer) As Boolean
|
PesoUnitario As Decimal, CvePais As Integer) As Boolean
|
||||||
Dim Retorno As Boolean = False
|
Dim Retorno As Boolean = False
|
||||||
DataAdapter("PA_Exp_ExportacionesDetalleUpdate")
|
DataAdapter("PA_Exp_ExportacionesDetalleUpdate")
|
||||||
@@ -386,6 +387,7 @@ Public Class ClsExportaciones
|
|||||||
.Add("@CveExportacionDetalle", SqlDbType.Int).Value = CveExportacionDetalle
|
.Add("@CveExportacionDetalle", SqlDbType.Int).Value = CveExportacionDetalle
|
||||||
.Add("@CvePS", SqlDbType.Int).Value = CvePS
|
.Add("@CvePS", SqlDbType.Int).Value = CvePS
|
||||||
.Add("@CveUnidadMedida", SqlDbType.Int).Value = CveUnidadMedida
|
.Add("@CveUnidadMedida", SqlDbType.Int).Value = CveUnidadMedida
|
||||||
|
.Add("@CveTipoEmpaque", SqlDbType.Int).Value = CveTipoEmpaque
|
||||||
.Add("@Precio", SqlDbType.Decimal).Value = Precio
|
.Add("@Precio", SqlDbType.Decimal).Value = Precio
|
||||||
.Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
|
.Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
|
||||||
.Add("@Cantidad", SqlDbType.Decimal).Value = Cantidad
|
.Add("@Cantidad", SqlDbType.Decimal).Value = Cantidad
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
<asp:DropDownList ID="DdlClavePedimento" CssClass="form-control select2me" AppendDataBoundItems="true" Style="width: 100%;" runat="server" DataTextField="ClaveSATPedimentoDescripcion" DataValueField="CvePedimento"></asp:DropDownList>
|
<asp:DropDownList ID="DdlClavePedimento" CssClass="form-control select2me" AppendDataBoundItems="true" Style="width: 100%;" runat="server" DataTextField="ClaveSATPedimentoDescripcion" DataValueField="CvePedimento"></asp:DropDownList>
|
||||||
<label for="<%= DdlClavePedimento.ClientID.ToString()%>">Clave pedimento:</label>
|
<label for="<%= DdlClavePedimento.ClientID.ToString()%>">Clave pedimento:</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright" style="width: 150px;">
|
<div class="form-group form-md-line-input input-iconright" style="width: 170px;">
|
||||||
<asp:TextBox ID="TxtNumPed" CssClass="form-control" runat="server" MaxLength="50"></asp:TextBox>
|
<asp:TextBox ID="TxtNumPed" CssClass="form-control" runat="server" MaxLength="50"></asp:TextBox>
|
||||||
<ajaxToolkit:MaskedEditExtender
|
<ajaxToolkit:MaskedEditExtender
|
||||||
ID="meeTxtPedimento"
|
ID="meeTxtPedimento"
|
||||||
@@ -674,6 +674,11 @@
|
|||||||
<asp:Label ID="lblUM" runat="server" Text='<%# Eval("UnidadMedida")%>'> </asp:Label>
|
<asp:Label ID="lblUM" runat="server" Text='<%# Eval("UnidadMedida")%>'> </asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="Tipo de Empaque" ItemStyle-HorizontalAlign="Left">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="lblTE" runat="server" Text='<%# Eval("TipoEmpaque")%>'> </asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Valor Total USD" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="Valor Total USD" ItemStyle-HorizontalAlign="Right">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lblPrecio" runat="server" Text='<%# Eval("Precio", "{0:N2}")%>'> </asp:Label>
|
<asp:Label ID="lblPrecio" runat="server" Text='<%# Eval("Precio", "{0:N2}")%>'> </asp:Label>
|
||||||
@@ -783,7 +788,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-4">
|
||||||
<asp:UpdatePanel ID="UPPUM" runat="server" UpdateMode="Conditional" RenderMode="Inline">
|
<asp:UpdatePanel ID="UPPUM" runat="server" UpdateMode="Conditional" RenderMode="Inline">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
@@ -793,6 +798,16 @@
|
|||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<asp:UpdatePanel ID="UPPTE" runat="server" UpdateMode="Conditional" RenderMode="Inline">
|
||||||
|
<ContentTemplate>
|
||||||
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
|
<asp:DropDownList ID="DdlTipoEmpaque" runat="server" CssClass=" form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="UnidadMedida" DataValueField="CveUnidadMedida" Width="100"></asp:DropDownList></td>
|
||||||
|
<label for="<%= DdlTipoEmpaque.ClientID.ToString()%>">Tipo de Empaque:</label>
|
||||||
|
</div>
|
||||||
|
</ContentTemplate>
|
||||||
|
</asp:UpdatePanel>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -489,13 +489,14 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
{
|
{
|
||||||
int CvePS = row["CvePS"].ToEntero();
|
int CvePS = row["CvePS"].ToEntero();
|
||||||
int CveUnidadMedida = row["CveUnidadMedida"].ToEntero();
|
int CveUnidadMedida = row["CveUnidadMedida"].ToEntero();
|
||||||
|
int CveTipoEmpaque = row["CveTipoEmpaque"].ToEntero();
|
||||||
int CvePais = row["CvePais"].ToEntero();
|
int CvePais = row["CvePais"].ToEntero();
|
||||||
decimal Precio = ModExtensiones.ToDecimal(row["Precio"].ToString());
|
decimal Precio = ModExtensiones.ToDecimal(row["Precio"].ToString());
|
||||||
decimal Cantidad = ModExtensiones.ToDecimal(row["Cantidad"].ToString());
|
decimal Cantidad = ModExtensiones.ToDecimal(row["Cantidad"].ToString());
|
||||||
decimal PesoUnitario = ModExtensiones.ToDecimal(row["PesoUnitario"].ToString());
|
decimal PesoUnitario = ModExtensiones.ToDecimal(row["PesoUnitario"].ToString());
|
||||||
|
|
||||||
ClsExportaciones Partidas = new ClsExportaciones();
|
ClsExportaciones Partidas = new ClsExportaciones();
|
||||||
Partidas.AddPartida(CvePS, CveUnidadMedida, Precio, CveEmpresa, CveUsuario, ExportacionGuardada, Cantidad, PesoUnitario, CvePais);
|
Partidas.AddPartida(CvePS, CveUnidadMedida, CveTipoEmpaque, Precio, CveEmpresa, CveUsuario, ExportacionGuardada, Cantidad, PesoUnitario, CvePais);
|
||||||
Partidas.Dispose();
|
Partidas.Dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -598,7 +599,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
}
|
}
|
||||||
Partidas.Dispose();
|
Partidas.Dispose();
|
||||||
}
|
}
|
||||||
protected void CargarUnidadMedida(string CvePS = "-1", string CveUnidadMedida = "-1")
|
protected void CargarUnidadMedida(string CvePS = "-1", string CveUnidadMedida = "-1", string CveTipoEmpaque = "-1")
|
||||||
{
|
{
|
||||||
int CveEmpresa = UsuarioActual.CveEmpresa;
|
int CveEmpresa = UsuarioActual.CveEmpresa;
|
||||||
|
|
||||||
@@ -618,6 +619,23 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
DdlUM.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
DdlUM.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
||||||
DdlUM.SelectedValue = "-1";
|
DdlUM.SelectedValue = "-1";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DdlTipoEmpaque.Items.Clear();
|
||||||
|
if (CvePS != "" && CvePS != "-1")
|
||||||
|
{
|
||||||
|
if (UsuarioActual.Empresa.UsaInventarios)
|
||||||
|
DdlTipoEmpaque.DataSource = get_GlobalDTProductosServiciosEquivalencias(CvePS.ToEntero(), -1, CveEmpresa);
|
||||||
|
else
|
||||||
|
DdlTipoEmpaque.DataSource = get_GlobalDTUnidadesMedida(CveEmpresa);
|
||||||
|
DdlTipoEmpaque.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
||||||
|
DdlTipoEmpaque.DataBind();
|
||||||
|
DdlTipoEmpaque.SelectedValueExist(CveTipoEmpaque);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DdlTipoEmpaque.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
||||||
|
DdlTipoEmpaque.SelectedValue = "-1";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
protected void AbrirModalPartida(int GVPartidasRowIndex = -1)
|
protected void AbrirModalPartida(int GVPartidasRowIndex = -1)
|
||||||
{
|
{
|
||||||
@@ -631,6 +649,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
DdlPS.DataBind();
|
DdlPS.DataBind();
|
||||||
|
|
||||||
DdlUM.Items.Clear();
|
DdlUM.Items.Clear();
|
||||||
|
DdlTipoEmpaque.Items.Clear();
|
||||||
|
|
||||||
DdlPaisOrigen.Items.Clear();
|
DdlPaisOrigen.Items.Clear();
|
||||||
DdlPaisOrigen.DataSource = GlobalDTGralPaises;
|
DdlPaisOrigen.DataSource = GlobalDTGralPaises;
|
||||||
@@ -657,7 +676,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
TxtCantidad.Text = DTPartidas.FiltroPrimeroValor("Cantidad");
|
TxtCantidad.Text = DTPartidas.FiltroPrimeroValor("Cantidad");
|
||||||
TxtPesoUnitario.Text = DTPartidas.FiltroPrimeroValor("PesoUnitario");
|
TxtPesoUnitario.Text = DTPartidas.FiltroPrimeroValor("PesoUnitario");
|
||||||
|
|
||||||
CargarUnidadMedida(CvePS, DTPartidas.FiltroPrimeroValor("CveUnidadMedida"));
|
CargarUnidadMedida(CvePS, DTPartidas.FiltroPrimeroValor("CveUnidadMedida"), DTPartidas.FiltroPrimeroValor("CveTipoEmpaque"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Partidas.Dispose();
|
Partidas.Dispose();
|
||||||
@@ -681,7 +700,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
TxtCantidad.Text = DTTemp.Rows[GVPartidasRowIndex]["Cantidad"].ToString();
|
TxtCantidad.Text = DTTemp.Rows[GVPartidasRowIndex]["Cantidad"].ToString();
|
||||||
TxtPesoUnitario.Text = DTTemp.Rows[GVPartidasRowIndex]["PesoUnitario"].ToString();
|
TxtPesoUnitario.Text = DTTemp.Rows[GVPartidasRowIndex]["PesoUnitario"].ToString();
|
||||||
|
|
||||||
CargarUnidadMedida(CvePS, DTTemp.Rows[GVPartidasRowIndex]["CveUnidadMedida"].ToString());
|
CargarUnidadMedida(CvePS, DTTemp.Rows[GVPartidasRowIndex]["CveUnidadMedida"].ToString(), DTTemp.Rows[GVPartidasRowIndex]["CveTipoEmpaque"].ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -807,6 +826,8 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
string PSCodigo = DdlPS.SelectedItem.Text;
|
string PSCodigo = DdlPS.SelectedItem.Text;
|
||||||
int CveUnidadMedida = (DdlUM.Text == "") ? -1 : DdlUM.Text.ToEntero();
|
int CveUnidadMedida = (DdlUM.Text == "") ? -1 : DdlUM.Text.ToEntero();
|
||||||
string UnidadMedida = (CveUnidadMedida == -1) ? "" : DdlUM.SelectedItem.Text;
|
string UnidadMedida = (CveUnidadMedida == -1) ? "" : DdlUM.SelectedItem.Text;
|
||||||
|
int CveTipoEmpaque = (DdlTipoEmpaque.Text == "") ? -1 : DdlTipoEmpaque.Text.ToEntero();
|
||||||
|
string TipoEmpaque = (CveTipoEmpaque == -1) ? "" : DdlTipoEmpaque.SelectedItem.Text;
|
||||||
int CvePais = (DdlPaisOrigen.Text == "") ? -1 : DdlPaisOrigen.Text.ToEntero();
|
int CvePais = (DdlPaisOrigen.Text == "") ? -1 : DdlPaisOrigen.Text.ToEntero();
|
||||||
string ClaveSATPais = (CvePais == -1) ? "" : DdlPaisOrigen.SelectedItem.Text;
|
string ClaveSATPais = (CvePais == -1) ? "" : DdlPaisOrigen.SelectedItem.Text;
|
||||||
decimal Precio = ModExtensiones.ToDecimal(TxtPrecio.Text);
|
decimal Precio = ModExtensiones.ToDecimal(TxtPrecio.Text);
|
||||||
@@ -854,6 +875,8 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
PartidaRow["PSCodigo"] = PSCodigo;
|
PartidaRow["PSCodigo"] = PSCodigo;
|
||||||
PartidaRow["CveUnidadMedida"] = CveUnidadMedida;
|
PartidaRow["CveUnidadMedida"] = CveUnidadMedida;
|
||||||
PartidaRow["UnidadMedida"] = UnidadMedida;
|
PartidaRow["UnidadMedida"] = UnidadMedida;
|
||||||
|
PartidaRow["CveTipoEmpaque"] = CveTipoEmpaque;
|
||||||
|
PartidaRow["TipoEmpaque"] = TipoEmpaque;
|
||||||
PartidaRow["CvePais"] = CvePais;
|
PartidaRow["CvePais"] = CvePais;
|
||||||
PartidaRow["ClaveSATPais"] = ClaveSATPais;
|
PartidaRow["ClaveSATPais"] = ClaveSATPais;
|
||||||
PartidaRow["Precio"] = Precio;
|
PartidaRow["Precio"] = Precio;
|
||||||
@@ -878,6 +901,8 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
PartidaRow["PSCodigo"] = PSCodigo;
|
PartidaRow["PSCodigo"] = PSCodigo;
|
||||||
PartidaRow["CveUnidadMedida"] = CveUnidadMedida;
|
PartidaRow["CveUnidadMedida"] = CveUnidadMedida;
|
||||||
PartidaRow["UnidadMedida"] = UnidadMedida;
|
PartidaRow["UnidadMedida"] = UnidadMedida;
|
||||||
|
PartidaRow["CveTipoEmpaque"] = CveTipoEmpaque;
|
||||||
|
PartidaRow["TipoEmpaque"] = TipoEmpaque;
|
||||||
PartidaRow["CvePais"] = CvePais;
|
PartidaRow["CvePais"] = CvePais;
|
||||||
PartidaRow["ClaveSATPais"] = ClaveSATPais;
|
PartidaRow["ClaveSATPais"] = ClaveSATPais;
|
||||||
PartidaRow["Precio"] = Precio;
|
PartidaRow["Precio"] = Precio;
|
||||||
@@ -899,6 +924,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
{
|
{
|
||||||
int CvePS = DdlPS.Text.ToEntero();
|
int CvePS = DdlPS.Text.ToEntero();
|
||||||
int CveUnidadMedida = (DdlUM.Text == "") ? -1 : DdlUM.Text.ToEntero();
|
int CveUnidadMedida = (DdlUM.Text == "") ? -1 : DdlUM.Text.ToEntero();
|
||||||
|
int CveTipoEmpaque = (DdlTipoEmpaque.Text == "") ? -1 : DdlTipoEmpaque.Text.ToEntero();
|
||||||
int CvePais = (DdlPaisOrigen.Text == "") ? -1 : DdlPaisOrigen.Text.ToEntero();
|
int CvePais = (DdlPaisOrigen.Text == "") ? -1 : DdlPaisOrigen.Text.ToEntero();
|
||||||
decimal Precio = ModExtensiones.ToDecimal(TxtPrecio.Text);
|
decimal Precio = ModExtensiones.ToDecimal(TxtPrecio.Text);
|
||||||
decimal ValorTotalMXP = Precio * ModExtensiones.ToDecimal(TxtTipoCambio.Text);
|
decimal ValorTotalMXP = Precio * ModExtensiones.ToDecimal(TxtTipoCambio.Text);
|
||||||
@@ -921,6 +947,8 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
DTTemp.Columns.Add("PSCodigo", typeof(string));
|
DTTemp.Columns.Add("PSCodigo", typeof(string));
|
||||||
DTTemp.Columns.Add("CveUnidadMedida", typeof(int));
|
DTTemp.Columns.Add("CveUnidadMedida", typeof(int));
|
||||||
DTTemp.Columns.Add("UnidadMedida", typeof(string));
|
DTTemp.Columns.Add("UnidadMedida", typeof(string));
|
||||||
|
DTTemp.Columns.Add("CveTipoEmpaque", typeof(int));
|
||||||
|
DTTemp.Columns.Add("TipoEmpaque", typeof(string));
|
||||||
DTTemp.Columns.Add("CvePais", typeof(int));
|
DTTemp.Columns.Add("CvePais", typeof(int));
|
||||||
DTTemp.Columns.Add("ClaveSATPais", typeof(string));
|
DTTemp.Columns.Add("ClaveSATPais", typeof(string));
|
||||||
DTTemp.Columns.Add("Precio", typeof(decimal));
|
DTTemp.Columns.Add("Precio", typeof(decimal));
|
||||||
@@ -954,7 +982,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bool Continuar = Partidas.AddPartida(CvePS, CveUnidadMedida, Precio, UsuarioActual.CveEmpresa, CveUsuario, CveExportacion, Cantidad, PesoUnitario, CvePais);
|
bool Continuar = Partidas.AddPartida(CvePS, CveUnidadMedida, CveTipoEmpaque, Precio, UsuarioActual.CveEmpresa, CveUsuario, CveExportacion, Cantidad, PesoUnitario, CvePais);
|
||||||
Partidas.Dispose();
|
Partidas.Dispose();
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
@@ -965,7 +993,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bool Continuar = Partidas.UpdatePartida(CveExportacionDetalle, CvePS, CveUnidadMedida, Precio, CveUsuario, Cantidad, PesoUnitario, CvePais);
|
bool Continuar = Partidas.UpdatePartida(CveExportacionDetalle, CvePS, CveUnidadMedida, CveTipoEmpaque, Precio, CveUsuario, Cantidad, PesoUnitario, CvePais);
|
||||||
Partidas.Dispose();
|
Partidas.Dispose();
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
@@ -980,6 +1008,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
DdlUM.Items.Clear();
|
DdlUM.Items.Clear();
|
||||||
|
DdlTipoEmpaque.Items.Clear();
|
||||||
DdlPS.SelectedValue = "-1";
|
DdlPS.SelectedValue = "-1";
|
||||||
DdlPaisOrigen.SelectedValue = "-1";
|
DdlPaisOrigen.SelectedValue = "-1";
|
||||||
TxtPrecio.Text = "";
|
TxtPrecio.Text = "";
|
||||||
@@ -991,7 +1020,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
}
|
}
|
||||||
protected void DdlPS_SelectedIndexChanged(object sender, EventArgs e)
|
protected void DdlPS_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
CargarUnidadMedida(DdlPS.Text, DdlUM.Text);
|
CargarUnidadMedida(DdlPS.Text, DdlUM.Text, DdlTipoEmpaque.Text);
|
||||||
UpPSS.Update();
|
UpPSS.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user