diff --git a/MP-TAB3/Components/MachineBlock.razor b/MP-TAB3/Components/MachineBlock.razor index 04a957c6..67a70b1e 100644 --- a/MP-TAB3/Components/MachineBlock.razor +++ b/MP-TAB3/Components/MachineBlock.razor @@ -214,6 +214,17 @@ else } + else + { +
+
+ Da Confermare +
+
+ @($"{datiProdAct.Pz2RecTot}") +
+
+ } @if (NumScartiConf > 0) {
diff --git a/MP-TAB3/Components/MachineBlock.razor.cs b/MP-TAB3/Components/MachineBlock.razor.cs index 187adf45..8e9e633a 100644 --- a/MP-TAB3/Components/MachineBlock.razor.cs +++ b/MP-TAB3/Components/MachineBlock.razor.cs @@ -267,7 +267,7 @@ namespace MP_TAB3.Components // controllo SE ho variazioni cosė rileggo if (RecMSE != null) { - if (SDService.MachNumPzGet(RecMSE.IdxMacchina) != RecMSE.PezziProd || SDService.MachProdStGet(RecMSE.IdxMacchina).IdxOdl != RecMSE.IdxOdl) + if (SDService.MachNumPzGet(RecMSE.IdxMacchina) != RecMSE.PezziProd || SDService.MachProdStGet(RecMSE.IdxMacchina).IdxOdl != RecMSE.IdxOdl || (datiProdAct != null && datiProdAct.PzTotODL != RecMSE.PezziProd)) { datiProdAct = await TabDServ.StatoProdMacchina(RecMSE.IdxMacchina, adesso); SDService.MachProdStSet(RecMSE.IdxMacchina, datiProdAct); diff --git a/MP-TAB3/Components/ProdConfirm.razor b/MP-TAB3/Components/ProdConfirm.razor index 51121c8d..f7518c93 100644 --- a/MP-TAB3/Components/ProdConfirm.razor +++ b/MP-TAB3/Components/ProdConfirm.razor @@ -122,27 +122,10 @@
Dati Globali ODL
-
-
-
- [A] NUOVI Pz.Prod -
-
- @if (isProcessing) - { - - } - else - { - @numPzProdotti2Rec - } -
-
-
- Cicli Prod [A+B+C+D] + Cicli Prod (ABCD)
@if (isProcessing) @@ -156,6 +139,23 @@
+
+
+
+ [A] Da Conf. +
+
+ @if (isProcessing) + { + + } + else + { + @numPzProdotti2Rec + } +
+
+