diff --git a/MP.Data/Controllers/MpSpecController.cs b/MP.Data/Controllers/MpSpecController.cs
index 49850023..95e81c10 100644
--- a/MP.Data/Controllers/MpSpecController.cs
+++ b/MP.Data/Controllers/MpSpecController.cs
@@ -415,7 +415,7 @@ namespace MP.Data.Controllers
currRec.CodGruppo = editRec.CodGruppo;
currRec.CodArticolo = editRec.CodArticolo;
currRec.IdxMacchina = editRec.IdxMacchina;
- currRec.KeyBCode = editRec.KeyBCode;
+ currRec.KeyBCode = editRec.KeyRichiesta;
currRec.KeyRichiesta = editRec.KeyRichiesta;
currRec.NumPezzi = editRec.NumPezzi;
currRec.Tcassegnato = editRec.Tcassegnato;
diff --git a/MP.SPEC/Components/ListPODL.razor b/MP.SPEC/Components/ListPODL.razor
index cd10c4a2..f3f42f4f 100644
--- a/MP.SPEC/Components/ListPODL.razor
+++ b/MP.SPEC/Components/ListPODL.razor
@@ -20,12 +20,11 @@ else
Articolo |
+ Fase |
Macchina |
# pz |
T.Ciclo |
Note |
- Fase |
- Richiesta |
|
@@ -39,6 +38,7 @@ else
@record.CodArticolo
|
+ @tradFase(record.KeyRichiesta) |
@record.IdxMacchina
|
@@ -49,8 +49,6 @@ else
@record.Tcassegnato.ToString("N3")
@record.Note |
- @record.CodFase |
- @record.KeyRichiesta |
@*@if (ArticoloDelEnabled(record.CodArticolo))
{
diff --git a/MP.SPEC/Components/ListPODL.razor.cs b/MP.SPEC/Components/ListPODL.razor.cs
index aae19e37..7dc836fb 100644
--- a/MP.SPEC/Components/ListPODL.razor.cs
+++ b/MP.SPEC/Components/ListPODL.razor.cs
@@ -67,6 +67,7 @@ namespace MP.SPEC.Components
MsgService.EA_PageUpdated += MessageService_EA_PageUpdated;
MsgService.EA_SearchUpdated += OnSeachUpdated;
MsgService.EA_StatoSearch += MsgService_EA_StatoSearch;
+ ListStati = await MDService.AnagStatiComm();
await reloadData();
}
@@ -152,9 +153,22 @@ namespace MP.SPEC.Components
});
}
-#if false
- private string _statoSel = "*";
-#endif
+ private string tradFase(string codFase)
+ {
+ string answ = codFase;
+ if (ListStati != null && ListStati.Count > 0)
+ {
+ var recSel = ListStati.FirstOrDefault(x => x.value == codFase);
+ if (recSel != null)
+ {
+ answ = recSel.label;
+ }
+ }
+ return answ;
+ }
+
+
+ private List? ListStati;
private async Task reloadData()
{
diff --git a/MP.SPEC/Pages/PODL.razor b/MP.SPEC/Pages/PODL.razor
index 8ba370bd..1fad04c9 100644
--- a/MP.SPEC/Pages/PODL.razor
+++ b/MP.SPEC/Pages/PODL.razor
@@ -71,6 +71,25 @@
+
+
+
+
+ Fase
+
+
+
+
+
-
-
-
-
+
-
+
|