diff --git a/GMW/GMW/GMW.csproj b/GMW/GMW/GMW.csproj
index 5305be77..7624336c 100644
--- a/GMW/GMW/GMW.csproj
+++ b/GMW/GMW/GMW.csproj
@@ -568,6 +568,8 @@
+
+
diff --git a/GMW/GMW/Style.css b/GMW/GMW/Style.css
index b73da8e2..f6372497 100644
--- a/GMW/GMW/Style.css
+++ b/GMW/GMW/Style.css
@@ -118,21 +118,21 @@
.cellaVerde
{
text-align: center;
- font-size: 7pt;
+ font-size: 8pt;
height: 80px;
background-image: url(images/verde_80.png);
}
.cellaGialla
{
text-align: center;
- font-size: 7pt;
+ font-size: 8pt;
height: 80px;
background-image: url(images/giallo_80.png);
}
.cellaRossa
{
text-align: center;
- font-size: 7pt;
+ font-size: 8pt;
height: 80px;
background-image: url(images/rosso_80.png);
color: White;
@@ -140,15 +140,22 @@
.cellaGrigia
{
text-align: center;
- font-size: 7pt;
+ font-size: 8pt;
height: 80px;
background-image: url(images/grigio_80.png);
color: White;
}
+.cellaBlu
+{
+ text-align: center;
+ font-size: 8pt;
+ height: 80px;
+ background-image: url(images/blu_80.png);
+}
.cellaBianca
{
text-align: center;
- font-size: 7pt;
+ font-size: 8pt;
font-weight: bold;
}
/*group search provider*/
diff --git a/GMW/GMW/WebUserControls/mod_dettCelleBlocco.ascx.cs b/GMW/GMW/WebUserControls/mod_dettCelleBlocco.ascx.cs
index 5ee2ef4d..8bb40adb 100644
--- a/GMW/GMW/WebUserControls/mod_dettCelleBlocco.ascx.cs
+++ b/GMW/GMW/WebUserControls/mod_dettCelleBlocco.ascx.cs
@@ -68,6 +68,7 @@ namespace GMW.WebUserControls
///
private void aggiornaCelleOccupate()
{
+ string ParticolareSel = memLayer.ML.StringSessionObj("Particolare_sel");
// ottengo elenco dettaglio UDC che occupano il blocco...
DS_magazzino.v_UdcDetailDataTable tabUdc = MagClass.magazzino.taDettUDC.getUdcDetailByIdxBlocco(IdxBlocco);
// SE ci sono righe aggiorno il blocco...
@@ -76,7 +77,16 @@ namespace GMW.WebUserControls
// ...sovrascrivo valori di default
foreach (DS_magazzino.v_UdcDetailRow riga in tabUdc)
{
- BloccoCelle[riga.X - 1, riga.Y - 1].Css = "cellaRossa";
+ // controllo se nella cella ci sia il aprticolare selezionato...
+ if (ParticolareSel == riga.Particolare)
+ {
+ BloccoCelle[riga.X - 1, riga.Y - 1].Css = "cellaBlu";
+ }
+ else
+ {
+ // se NON C'E' alcun particolare selezionato ...
+ BloccoCelle[riga.X - 1, riga.Y - 1].Css = "cellaRossa";
+ }
BloccoCelle[riga.X - 1, riga.Y - 1].Label = string.Format("{0:#}", riga.Qta);
BloccoCelle[riga.X - 1, riga.Y - 1].ToolTip = string.Format("{2} - {0} {1:#}pz", riga.UDC, riga.Qta, riga.Particolare);
}
@@ -87,6 +97,7 @@ namespace GMW.WebUserControls
///
private void disegnaTabella()
{
+ tblBlocco.Rows.Clear();
// metto prima riga con indicazione valori NUMERICI delle colonne
setupRigaConteggioX();
// ciclo nel mio array e creo di conseguenza le celle di tabella
diff --git a/GMW/GMW/WebUserControls/mod_dettaglioBlocco.ascx.cs b/GMW/GMW/WebUserControls/mod_dettaglioBlocco.ascx.cs
index d575d413..d4f18d95 100644
--- a/GMW/GMW/WebUserControls/mod_dettaglioBlocco.ascx.cs
+++ b/GMW/GMW/WebUserControls/mod_dettaglioBlocco.ascx.cs
@@ -37,6 +37,8 @@ namespace GMW.WebUserControls
{
base.OnInit(e);
mod_filtroBlock.eh_selValore += new EventHandler(mod_filtroBlock_eh_selValore);
+ mod_paretoUdcBlocco1.eh_selValore += new EventHandler(mod_paretoUdcBlocco1_eh_selValore);
+ mod_paretoUdcBlocco1.eh_resetSelezione += new EventHandler(mod_paretoUdcBlocco1_eh_resetSelezione);
if (!Page.IsPostBack)
{
lnkReturn.Text = traduci("TornaStatoMag");
@@ -59,6 +61,22 @@ namespace GMW.WebUserControls
updateControlli();
}
}
+
+ void mod_paretoUdcBlocco1_eh_resetSelezione(object sender, EventArgs e)
+ {
+ // aggiorno la visualizzazione del magazzino!
+ mod_dettCelleBlocco1.doUpdate();
+ }
+ ///
+ /// aggiorna in caso di selezione valore x un dato Particolare
+ ///
+ ///
+ ///
+ void mod_paretoUdcBlocco1_eh_selValore(object sender, EventArgs e)
+ {
+ // aggiorno la visualizzazione del magazzino!
+ mod_dettCelleBlocco1.doUpdate();
+ }
void mod_filtroBlock_eh_selValore(object sender, EventArgs e)
{
// salvo in sessione il valore selezionato...
diff --git a/GMW/GMW/WebUserControls/mod_paretoUdcBlocco.ascx b/GMW/GMW/WebUserControls/mod_paretoUdcBlocco.ascx
index 8a319402..64338ad6 100644
--- a/GMW/GMW/WebUserControls/mod_paretoUdcBlocco.ascx
+++ b/GMW/GMW/WebUserControls/mod_paretoUdcBlocco.ascx
@@ -18,7 +18,7 @@
+ Visible="true" />