| @record.CodArtParent |
- @record.ChildFound |
+ @record.ChildFound / @numRecWsm |
@($"{record.TotalScore:P2}") |
- @if (record.TotalScore == 1)
+ @if (record.TotalScore == 1 && numRecWsm == record.ChildFound)
{
}
diff --git a/MP.SPEC/Components/ProdKit/KitVerify.razor.cs b/MP.SPEC/Components/ProdKit/KitVerify.razor.cs
index bb5b5185..67cae1cb 100644
--- a/MP.SPEC/Components/ProdKit/KitVerify.razor.cs
+++ b/MP.SPEC/Components/ProdKit/KitVerify.razor.cs
@@ -13,7 +13,9 @@ namespace MP.SPEC.Components.ProdKit
public string KeyFilt { get; set; } = "";
[Parameter]
- public List SearchRecord { get; set; } = new List();
+ public List AllRecTSM { get; set; } = new List();
+ [Parameter]
+ public List AllRecWSM { get; set; } = new List();
#endregion Public Properties
@@ -38,7 +40,7 @@ namespace MP.SPEC.Components.ProdKit
#region Private Fields
- private List ListRecords = new List();
+ private List ListRecScore = new List();
#endregion Private Fields
@@ -50,9 +52,15 @@ namespace MP.SPEC.Components.ProdKit
private void ReloadData()
{
- ListRecords = SearchRecord.ToList();
+ ListRecScore = AllRecTSM.ToList();
+ numRecWsm = AllRecWSM.Count();
}
+ ///
+ /// Num record composizione kit...
+ ///
+ private int numRecWsm = 0;
+
#endregion Private Methods
}
}
\ No newline at end of file
diff --git a/MP.SPEC/Components/ProdKit/Manager.razor b/MP.SPEC/Components/ProdKit/Manager.razor
index 7f0f7642..3058eebb 100644
--- a/MP.SPEC/Components/ProdKit/Manager.razor
+++ b/MP.SPEC/Components/ProdKit/Manager.razor
@@ -15,7 +15,7 @@
-
+
|