From b8b3a58b52ec78e5c5a293cedffc51dc9b16b9b3 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 18 Feb 2025 19:07:27 +0100 Subject: [PATCH] Completata prima release display PODL in testata --- MP-TAB3/Components/CurrOdlDetail.razor | 2 +- MP-TAB3/Components/CurrOdlDetail.razor.cs | 2 ++ MP-TAB3/Components/MachineBlock.razor | 23 ++++++++++++----------- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/MP-TAB3/Components/CurrOdlDetail.razor b/MP-TAB3/Components/CurrOdlDetail.razor index 0e79520b..89754756 100644 --- a/MP-TAB3/Components/CurrOdlDetail.razor +++ b/MP-TAB3/Components/CurrOdlDetail.razor @@ -12,7 +12,7 @@ - @if (!InAttr) + @if (!InAttr && ShowClose) {
diff --git a/MP-TAB3/Components/CurrOdlDetail.razor.cs b/MP-TAB3/Components/CurrOdlDetail.razor.cs index 5a7a4336..a3638c9b 100644 --- a/MP-TAB3/Components/CurrOdlDetail.razor.cs +++ b/MP-TAB3/Components/CurrOdlDetail.razor.cs @@ -29,6 +29,8 @@ namespace MP_TAB3.Components [Parameter] public bool InAttr { get; set; } + [Parameter] + public bool ShowClose { get; set; } = true; [Parameter] public bool ShowOdlDetail { get; set; } diff --git a/MP-TAB3/Components/MachineBlock.razor b/MP-TAB3/Components/MachineBlock.razor index 7cb11698..f5c2c822 100644 --- a/MP-TAB3/Components/MachineBlock.razor +++ b/MP-TAB3/Components/MachineBlock.razor @@ -187,33 +187,34 @@ else
+
+
+ Cicli Prod. + @* *@ +
+
@($"{RecMSE.PezziProd}")
+
- Confermati + Conf Buoni @* *@
- @($"{RecMSE.PezziConf}") + @($"{datiProdAct.PzConfBuoni}") + @* @($"{RecMSE.PezziConf}") *@
@if (datiProdAct != null && datiProdAct.PzConfScarto > 0) {
- Scarto Conf + Conf Scarti
@($"- {datiProdAct.PzConfScarto}")
} -
-
- Prodotti - @* *@ -
-
@($"{RecMSE.PezziProd}")
-
@if (RecMSE.extraVal > 0) {
@@ -307,5 +308,5 @@ else } @if (showPodl && RecMSE != null) { - + } \ No newline at end of file