Aggiunta running kit sulle pagine dove necessario
This commit is contained in:
@@ -393,6 +393,7 @@
|
||||
<Content Include="WebUserControls\cmp_kitList.ascx" />
|
||||
<Content Include="WebUserControls\cmp_kitReqRunning.ascx" />
|
||||
<Content Include="WebUserControls\cmp_kitReqSched.ascx" />
|
||||
<Content Include="WebUserControls\cmp_kitRunning.ascx" />
|
||||
<Content Include="WebUserControls\cmp_kitting.ascx" />
|
||||
<Content Include="WebUserControls\cmp_kittingBin.ascx" />
|
||||
<Content Include="WebUserControls\cmp_kittingCart.ascx" />
|
||||
@@ -914,6 +915,13 @@
|
||||
<Compile Include="WebUserControls\cmp_kitReqSched.ascx.designer.cs">
|
||||
<DependentUpon>cmp_kitReqSched.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_kitRunning.ascx.cs">
|
||||
<DependentUpon>cmp_kitRunning.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_kitRunning.ascx.designer.cs">
|
||||
<DependentUpon>cmp_kitRunning.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_kitting.ascx.cs">
|
||||
<DependentUpon>cmp_kitting.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kitRunning.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kitRunning" %>
|
||||
|
||||
|
||||
<%--<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="PackListID" DataSourceID="odsKit" Width="100%" CssClass="table table-success table-striped table-sm">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<EmptyDataTemplate>
|
||||
<%# traduci("NoKitReqRunning") %>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:BoundField DataField="PackListID" HeaderText="PackListID" ReadOnly="True" SortExpression="PackListID" />
|
||||
<asp:BoundField DataField="BatchName" HeaderText="BatchName" SortExpression="BatchName" />
|
||||
<asp:BoundField DataField="ImportDate" HeaderText="ImportDate" SortExpression="ImportDate" ItemStyle-CssClass="text-right">
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="StatusID" HeaderText="StatusID" SortExpression="StatusID" />
|
||||
<asp:BoundField DataField="NumKit" HeaderText="NumKit" SortExpression="NumKit" />
|
||||
<asp:BoundField DataField="NumParts" HeaderText="NumParts" SortExpression="NumParts" />
|
||||
<asp:BoundField DataField="TotQty" HeaderText="TotQty" SortExpression="TotQty" />
|
||||
<asp:BoundField DataField="StatusDesc" HeaderText="StatusDesc" ReadOnly="True" SortExpression="StatusDesc" />
|
||||
<asp:BoundField DataField="SchedPrior" HeaderText="SchedPrior" SortExpression="SchedPrior" />
|
||||
</Columns>
|
||||
</asp:GridView>--%>
|
||||
<asp:FormView ID="frmView" runat="server" DataKeyNames="PackListID" DataSourceID="odsKit" Width="100%">
|
||||
<ItemTemplate>
|
||||
<div class="row table-success border-success">
|
||||
<div class="col-4 col-lg-2 text-center textCondens"># <b><asp:Label ID="PackListIDLabel" runat="server" Text='<%# Eval("PackListID") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens"><b><asp:Label ID="BatchNameLabel" runat="server" Text='<%# Bind("BatchName") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens"><b><asp:Label ID="StatusDescLabel" runat="server" Text='<%# Bind("StatusDesc") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens">KIT #: <b><asp:Label ID="NumKitLabel" runat="server" Text='<%# Bind("NumKit") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens">Parts #: <b><asp:Label ID="NumPartsLabel" runat="server" Text='<%# Bind("NumParts") %>' /></b></div>
|
||||
<div class="col-4 col-lg-2 text-center textCondens">Tot #: <b><asp:Label ID="TotQtyLabel" runat="server" Text='<%# Bind("TotQty") %>' /></b></div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsKit" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getRunning" TypeName="AppData.DS_AppTableAdapters.PackListTableAdapter"></asp:ObjectDataSource>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace NKC_WF.WebUserControls
|
||||
{
|
||||
public partial class cmp_kitRunning : BaseUserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace NKC_WF.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_kitRunning
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo frmView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FormView frmView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsKit.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsKit;
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,13 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Kitting.aspx.cs" Inherits="NKC_WF.Kitting" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Kitting.aspx.cs" Inherits="NKC_WF.site.Kitting" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_kitting.ascx" TagPrefix="uc1" TagName="cmp_kitting" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_kitRunning.ascx" TagPrefix="uc1" TagName="cmp_kitRunning" %>
|
||||
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="m-2">
|
||||
<uc1:cmp_kitting runat="server" ID="cmp_kitting" />
|
||||
</div>
|
||||
<div class="m-2">
|
||||
<uc1:cmp_kitRunning runat="server" id="cmp_kitRunning" />
|
||||
<uc1:cmp_kitting runat="server" ID="cmp_kitting" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Web.UI;
|
||||
|
||||
namespace NKC_WF
|
||||
namespace NKC_WF.site
|
||||
{
|
||||
public partial class Kitting : System.Web.UI.Page
|
||||
{
|
||||
|
||||
Generated
+21
-12
@@ -7,20 +7,29 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace NKC_WF
|
||||
namespace NKC_WF.site
|
||||
{
|
||||
|
||||
|
||||
public partial class Kitting
|
||||
{
|
||||
public partial class Kitting
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_kitting.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::NKC_WF.WebUserControls.cmp_kitting cmp_kitting;
|
||||
}
|
||||
/// <summary>
|
||||
/// Controllo cmp_kitRunning.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::NKC_WF.WebUserControls.cmp_kitRunning cmp_kitRunning;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_kitting.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::NKC_WF.WebUserControls.cmp_kitting cmp_kitting;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="KittingSmart.aspx.cs" Inherits="NKC_WF.site.KittingSmart" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="KittingSmart.aspx.cs" Inherits="NKC_WF.site.KittingSmart" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_kittingSmart.ascx" TagPrefix="uc1" TagName="cmp_kittingSmart" %>
|
||||
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_kitRunning.ascx" TagPrefix="uc1" TagName="cmp_kitRunning" %>
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<asp:HiddenField ID="hfBatchID" runat="server" />
|
||||
<uc1:cmp_kittingSmart runat="server" id="cmp_kittingSmart" />
|
||||
<div class="m-2">
|
||||
<asp:HiddenField ID="hfBatchID" runat="server" />
|
||||
<uc1:cmp_kitRunning runat="server" id="cmp_kitRunning" />
|
||||
<uc1:cmp_kittingSmart runat="server" ID="cmp_kittingSmart" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
+28
-19
@@ -11,25 +11,34 @@ namespace NKC_WF.site
|
||||
{
|
||||
|
||||
|
||||
public partial class KittingSmart
|
||||
{
|
||||
public partial class KittingSmart
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfBatchID.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfBatchID;
|
||||
/// <summary>
|
||||
/// Controllo hfBatchID.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfBatchID;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_kittingSmart.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::NKC_WF.WebUserControls.cmp_kittingSmart cmp_kittingSmart;
|
||||
}
|
||||
/// <summary>
|
||||
/// Controllo cmp_kitRunning.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::NKC_WF.WebUserControls.cmp_kitRunning cmp_kitRunning;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_kittingSmart.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::NKC_WF.WebUserControls.cmp_kittingSmart cmp_kittingSmart;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user