-- consideración de columnas
This commit is contained in:
@@ -183,7 +183,7 @@
|
|||||||
<asp:UpdatePanel ID="UpGvDatosOP" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpGvDatosOP" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6 box">
|
<div class="col-md-12 box">
|
||||||
<div class="section-title">Productos</div>
|
<div class="section-title">Productos</div>
|
||||||
<asp:GridView ID="GvProductos" runat="server" AutoGenerateColumns="False"
|
<asp:GridView ID="GvProductos" runat="server" AutoGenerateColumns="False"
|
||||||
CssClass="table table-striped table-hover" GridLines="None" Width="100%">
|
CssClass="table table-striped table-hover" GridLines="None" Width="100%">
|
||||||
@@ -203,8 +203,8 @@
|
|||||||
<Columns>
|
<Columns>
|
||||||
<asp:BoundField DataField="producto" HeaderText="Producto" />
|
<asp:BoundField DataField="producto" HeaderText="Producto" />
|
||||||
<asp:BoundField DataField="UnidadMedida" HeaderText="UM" />
|
<asp:BoundField DataField="UnidadMedida" HeaderText="UM" />
|
||||||
<asp:BoundField DataField="Cantidad" HeaderText="Cantidad" />
|
<asp:BoundField DataField="Cantidad" HeaderText="Cantidad" DataFormatString="{0:#,##0.####}" ItemStyle-HorizontalAlign="Right" />
|
||||||
<asp:BoundField DataField="Surtido" HeaderText="Surtido" />
|
<asp:BoundField DataField="Surtido" HeaderText="Surtido" ItemStyle-HorizontalAlign="Right"/>
|
||||||
</Columns>
|
</Columns>
|
||||||
</asp:GridView>
|
</asp:GridView>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ Partial Class OP_OP
|
|||||||
Dim rowMP As DataRow = DtMP.NewRow()
|
Dim rowMP As DataRow = DtMP.NewRow()
|
||||||
rowMP("Tipo") = "MP"
|
rowMP("Tipo") = "MP"
|
||||||
rowMP("Clave") = CvePS
|
rowMP("Clave") = CvePS
|
||||||
rowMP("Producto") = drMP("producto").ToString()
|
rowMP("Producto") = drMP("productoMateriaPrima").ToString()
|
||||||
rowMP("UnidadMedida") = drMP("UnidadMedidaMateriaPrima").ToString()
|
rowMP("UnidadMedida") = drMP("UnidadMedidaMateriaPrima").ToString()
|
||||||
rowMP("Cantidad") = drMP("Cantidad").ToString().ToDecimal()
|
rowMP("Cantidad") = drMP("Cantidad").ToString().ToDecimal()
|
||||||
rowMP("Surtido") = 0
|
rowMP("Surtido") = 0
|
||||||
@@ -222,7 +222,7 @@ Partial Class OP_OP
|
|||||||
Dim rowCI As DataRow = DtCI.NewRow()
|
Dim rowCI As DataRow = DtCI.NewRow()
|
||||||
rowCI("Tipo") = "CI"
|
rowCI("Tipo") = "CI"
|
||||||
rowCI("Clave") = CvePS
|
rowCI("Clave") = CvePS
|
||||||
rowCI("Producto") = drCI("producto").ToString()
|
rowCI("Producto") = drCI("productoMateriaPrima").ToString()
|
||||||
rowCI("Cantidad") = drCI("Cantidad").ToString().ToDecimal()
|
rowCI("Cantidad") = drCI("Cantidad").ToString().ToDecimal()
|
||||||
DtCI.Rows.Add(rowCI)
|
DtCI.Rows.Add(rowCI)
|
||||||
Next
|
Next
|
||||||
|
|||||||
Reference in New Issue
Block a user