From 36dc9741cef93041acd8fce3f04730d50ab375ed Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 12 Feb 2019 18:27:10 +0100 Subject: [PATCH] Update visualizzazione tablet pre conferma --- MP-TAB/MP-TAB.csproj | 8 ++ MP-TAB/WebUserControls/cmp_dettODL.ascx | 87 +++++++++++++++++++ MP-TAB/WebUserControls/cmp_dettODL.ascx.cs | 34 ++++++++ .../cmp_dettODL.ascx.designer.cs | 42 +++++++++ MP-TAB/WebUserControls/mod_ODL.ascx | 21 +++-- MP-TAB/WebUserControls/mod_ODL.ascx.cs | 2 + .../WebUserControls/mod_ODL.ascx.designer.cs | 36 ++++++-- 7 files changed, 215 insertions(+), 15 deletions(-) create mode 100644 MP-TAB/WebUserControls/cmp_dettODL.ascx create mode 100644 MP-TAB/WebUserControls/cmp_dettODL.ascx.cs create mode 100644 MP-TAB/WebUserControls/cmp_dettODL.ascx.designer.cs diff --git a/MP-TAB/MP-TAB.csproj b/MP-TAB/MP-TAB.csproj index f7bcb1ae..886184ca 100644 --- a/MP-TAB/MP-TAB.csproj +++ b/MP-TAB/MP-TAB.csproj @@ -518,6 +518,7 @@ Web.config + @@ -744,6 +745,13 @@ Bootstrap.Master + + cmp_dettODL.ascx + ASPXCodeBehind + + + cmp_dettODL.ascx + cmp_newODL.ascx ASPXCodeBehind diff --git a/MP-TAB/WebUserControls/cmp_dettODL.ascx b/MP-TAB/WebUserControls/cmp_dettODL.ascx new file mode 100644 index 00000000..fecf3eb0 --- /dev/null +++ b/MP-TAB/WebUserControls/cmp_dettODL.ascx @@ -0,0 +1,87 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_dettODL.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_dettODL" %> + + + +
+
+

Verifica parametri attrezzaggio

+
+
+ <%--

Some example text. Some example text.

+ Card link + Another link--%> + + + + +
+
+ P.ODL: +
+
+ + +
+
+ Rif: +
+
+ + +
+
+ CodArt: +
+
+ + +
+
+ DescArticolo: + +
+
+ CodGruppo: + +
+
+ NumPezzi: + +
+
+ TCAssegnato: + +
+
+ PzPallet: + +
+
+ Nome: + +
+
+ Priorita: + +
+
+ DueDate: + +
+
+
+
+ +
+ +
+ + + + + + + + diff --git a/MP-TAB/WebUserControls/cmp_dettODL.ascx.cs b/MP-TAB/WebUserControls/cmp_dettODL.ascx.cs new file mode 100644 index 00000000..bce7fd32 --- /dev/null +++ b/MP-TAB/WebUserControls/cmp_dettODL.ascx.cs @@ -0,0 +1,34 @@ +using System; + +namespace MoonProTablet.WebUserControls +{ + public partial class cmp_dettODL : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + /// + /// codice odl selezionato + /// + public int idxODLSel + { + get + { + int answ = 0; + try + { + answ = Convert.ToInt32(hfIdxODL.Value); + } + catch + { } + return answ; + } + set + { + hfIdxODL.Value = value.ToString(); + frmView.DataBind(); + } + } + } +} \ No newline at end of file diff --git a/MP-TAB/WebUserControls/cmp_dettODL.ascx.designer.cs b/MP-TAB/WebUserControls/cmp_dettODL.ascx.designer.cs new file mode 100644 index 00000000..7063f321 --- /dev/null +++ b/MP-TAB/WebUserControls/cmp_dettODL.ascx.designer.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace MoonProTablet.WebUserControls { + + + public partial class cmp_dettODL { + + /// + /// Controllo frmView. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.FormView frmView; + + /// + /// Controllo ods. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// Controllo hfIdxODL. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfIdxODL; + } +} diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx b/MP-TAB/WebUserControls/mod_ODL.ascx index 316c317e..49175f6d 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx +++ b/MP-TAB/WebUserControls/mod_ODL.ascx @@ -2,6 +2,8 @@ <%@ Register Src="~/WebUserControls/mod_tempoMSMC.ascx" TagPrefix="uc1" TagName="mod_tempoMSMC" %> <%@ Register Src="~/WebUserControls/cmp_newODL.ascx" TagPrefix="uc1" TagName="cmp_newODL" %> <%@ Register Src="~/WebUserControls/cmp_selPzPallet.ascx" TagPrefix="uc1" TagName="cmp_selPzPallet" %> +<%@ Register Src="~/WebUserControls/cmp_dettODL.ascx" TagPrefix="uc1" TagName="cmp_dettODL" %> +
@@ -31,7 +33,10 @@ CONFERMA produzione nuova REV
-
+
+
+ +
@@ -50,24 +55,28 @@
-
+
+
+ INIZIO Attrezzaggio +
+
+
- INIZIO Attrezzaggio -
+
-
+
Attrezza stesso ODL da altra tavola -
+
Riprendi ODL chiuso su tavola
diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx.cs b/MP-TAB/WebUserControls/mod_ODL.ascx.cs index 7350c46f..366760a2 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx.cs +++ b/MP-TAB/WebUserControls/mod_ODL.ascx.cs @@ -980,6 +980,8 @@ namespace MoonProTablet.WebUserControls divTempo.Visible = show; divNote.Visible = show; divPzPallet.Visible = show; + divDettOdl.Visible = show; + cmp_dettODL.idxODLSel = idxODLSel; // se abilitato da config su DB mostro selezione del numPzPallet... cmp_selPzPallet.enableSet = memLayer.ML.CRB("enableTabSetPzPallet"); diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs b/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs index 664e9951..a9019b44 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs +++ b/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs @@ -39,6 +39,24 @@ namespace MoonProTablet.WebUserControls { /// protected global::System.Web.UI.WebControls.LinkButton lbtConfNewRevProd; + /// + /// Controllo divDettOdl. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDettOdl; + + /// + /// Controllo cmp_dettODL. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::MoonProTablet.WebUserControls.cmp_dettODL cmp_dettODL; + /// /// Controllo ddlODL. /// @@ -75,6 +93,15 @@ namespace MoonProTablet.WebUserControls { /// protected global::System.Web.UI.WebControls.CheckBox chkTutti; + /// + /// Controllo lbtStartAttr. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtStartAttr; + /// /// Controllo divNote. /// @@ -93,15 +120,6 @@ namespace MoonProTablet.WebUserControls { /// protected global::System.Web.UI.WebControls.TextBox txtNote; - /// - /// Controllo lbtStartAttr. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.LinkButton lbtStartAttr; - /// /// Controllo divTempo. ///