Update display modale controllo KIT

This commit is contained in:
Samuele Locatelli
2025-06-09 17:54:43 +02:00
parent 6e9795f1c0
commit c1bf40a38c
10 changed files with 22 additions and 10 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
@using MP.SPEC.Components
@using MP.SPEC.Components.ProdKit
@using MP.SPEC.Data
@if (ListRecords == null || isLoading)
@@ -15,7 +16,7 @@ else
<div class="@mainCss">
@if (showKitDetail)
{
<MP.SPEC.Components.ProdKit.KitDetailModal ListTK="@ListKitTemplate" ListPODL="@ListPOdlKit" EC_Close="() => KitToggleDetail(null)"></MP.SPEC.Components.ProdKit.KitDetailModal>
<KitDetailModal ListTK="@ListKitTemplate" ListPODL="@ListPOdlKit" EC_Close="() => KitToggleDetail(null)"></KitDetailModal>
}
<table class="table table-sm table-striped">
<thead>
@@ -16,7 +16,7 @@
}
else if (numIstKit == 0)
{
<div class="alert alert-warning text-center display-4">
<div class="alert alert-warning text-center display-6">
Nessun record trovato
</div>
}
@@ -62,7 +62,7 @@
<div class="modal-footer d-flex justify-content-between px-0">
@if (numTempKit == 0)
{
<div class="alert alert-warning text-center display-4">
<div class="alert alert-warning text-center display-6">
Nessun record trovato
</div>
}
+1 -1
View File
@@ -16,7 +16,7 @@
{
@if (doShowDetail)
{
<KitDetailModal CodArtParent="@CodArtParent" ListRecords="@ListKitTemplate" EC_Close="() => KitToggleDetail(null)"></KitDetailModal>
<KitDetailModal ListTK="@ListKitTemplate" ListPODL="@ListRecKitPODL" EC_Close="() => KitToggleDetail(null)"></KitDetailModal>
}
<table class="table table-sm table-striped">
<thead>
@@ -24,6 +24,9 @@ namespace MP.SPEC.Components.ProdKit
[Parameter]
public string KeyFilt { get; set; } = "";
[Parameter]
public List<PODLExpModel> PodlRecords { get; set; } = new List<PODLExpModel>();
#endregion Public Properties
#region Protected Properties
@@ -45,6 +48,11 @@ namespace MP.SPEC.Components.ProdKit
{
ListKitTemplate = MDService.TemplateKitFilt(CodArtParent, "");
totalKitCount = ListKitTemplate.Count;
ListRecKitPODL = PodlRecords
.Where(x => !string.IsNullOrEmpty(x.KeyRichiesta)
&& x.KeyRichiesta.StartsWith("KIT")
&& x.CodArticolo==CodArtParent)
.ToList();
}
else
{
@@ -67,6 +75,7 @@ namespace MP.SPEC.Components.ProdKit
private bool doShowDetail = false;
private List<TemplateKitModel>? ListKitTemplate = null;
private List<PODLExpModel> ListRecPODL = new List<PODLExpModel>();
private List<PODLExpModel> ListRecKitPODL = new List<PODLExpModel>();
private List<TksScoreModel> ListRecScore = new List<TksScoreModel>();
/// <summary>
@@ -102,6 +111,7 @@ namespace MP.SPEC.Components.ProdKit
{
ListRecScore = AllRecTSM.ToList();
ListRecPODL = AllRecPODL.ToList();
numRecWsm = AllRecWSM.Count();
}
+1 -1
View File
@@ -16,7 +16,7 @@
<KitComposer SearchRecords="@listWSM" KeyFilt="@keyFilt" EC_ListUpdated="ForceReloadData" EC_ListCleared="ForceReset"></KitComposer>
</div>
<div class="col-6 mb-1 px-1">
<KitVerify KeyFilt="@keyFilt" AllRecTSM="@listTSM" AllRecWSM="@listWSM" AllRecPODL="listPOdlCheck" EC_KitCreated="ForceReset"></KitVerify>
<KitVerify KeyFilt="@keyFilt" AllRecTSM="@listTSM" AllRecWSM="@listWSM" AllRecPODL="listPOdlCheck" PodlRecords="@listPOdlAct" EC_KitCreated="ForceReset"></KitVerify>
</div>
}
<div class="@KPColClass mb-1 px-1">
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>6.16.2505.1516</Version>
<Version>6.16.2506.917</Version>
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2505.1516</h4>
<h4>Versione: 6.16.2506.917</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2505.1516
6.16.2506.917
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2505.1516</version>
<version>6.16.2506.917</version>
<url>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>
+2 -1
View File
@@ -68,8 +68,9 @@ namespace MP.TaskMan.Models
/// DataOra ultima esecuzione
/// </summary>
public DateTime DtLastExec { get; set; } = DateTime.Today.AddYears(-10);
/// <summary>
/// DataOra ultima esecuzione
/// DataOra prossima esecuzione (prevista)
/// </summary>
public DateTime DtNextExec { get; set; } = DateTime.Today.AddYears(-9);