diff --git a/MP-TAB3/Components/OdlMan.razor b/MP-TAB3/Components/OdlMan.razor
index b5d405de..6e1f0f70 100644
--- a/MP-TAB3/Components/OdlMan.razor
+++ b/MP-TAB3/Components/OdlMan.razor
@@ -82,9 +82,9 @@
}
-
+ @*
Check articolo in revisione
-
+
*@
@if (cancelSetupEnabled && RecMSE != null && RecMSE.PezziConf == 0)
{
diff --git a/MP-TAB3/Components/OdlMan.razor.cs b/MP-TAB3/Components/OdlMan.razor.cs
index 8090d76a..fcb4cf15 100644
--- a/MP-TAB3/Components/OdlMan.razor.cs
+++ b/MP-TAB3/Components/OdlMan.razor.cs
@@ -1543,21 +1543,25 @@ namespace MP_TAB3.Components
}
}
await updateIdxOdl();
- // imposto tcRichAttr in base allo stato...
- if (odlOk)
+ // aggiorno questi dati SOLO SE non sono in attrezzaggio
+ if (!inAttr)
{
- // prendo TCRich da PODL...
- if (IdxPOdlSel > 0)
+ // imposto tcRichAttr in base allo stato...
+ if (odlOk)
{
- tcRichAttr = currPodl.Tcassegnato;
- noteAttr = currPodl.Note;
- PzPallet = currPodl.PzPallet;
- }
- else
- {
- tcRichAttr = currOdl.TCRichAttr;
- noteAttr = currOdl.Note;
- PzPallet = currOdl.PzPallet;
+ // prendo TCRich da PODL...
+ if (IdxPOdlSel > 0)
+ {
+ tcRichAttr = currPodl.Tcassegnato;
+ noteAttr = currPodl.Note;
+ PzPallet = currPodl.PzPallet;
+ }
+ else
+ {
+ tcRichAttr = currOdl.TCRichAttr;
+ noteAttr = currOdl.Note;
+ PzPallet = currOdl.PzPallet;
+ }
}
}
}
@@ -1570,13 +1574,17 @@ namespace MP_TAB3.Components
if (IdxPOdlSel > 0)
{
await ReloadXDL(false);
+ // solo se NON sno in attrezzaggio
// controllo se sia cambiato PODL
if (IdxPOdlSel != lastIdxPOdl)
{
lastIdxPOdl = IdxPOdlSel;
- tcRichAttr = currPodl.Tcassegnato;
- noteAttr = currPodl.Note;
- PzPallet = currPodl.PzPallet;
+ if (!inAttr)
+ {
+ tcRichAttr = currPodl.Tcassegnato;
+ noteAttr = currPodl.Note;
+ PzPallet = currPodl.PzPallet;
+ }
}
}
}