pulizia codice test inutilizzato
This commit is contained in:
@@ -11,7 +11,7 @@ else
|
||||
<div class="row">
|
||||
@if (showKitDetail)
|
||||
{
|
||||
<MP.SPEC.Components.ProdKit.KitDetailModal CodArtParent="@CodArtParent" ListRecords="@ListKitTemplate" EC_Close="() => KitToggleDetail(null)"></MP.SPEC.Components.ProdKit.KitDetailModal>
|
||||
<MP.SPEC.Components.ProdKit.KitDetailModal ListTK="@ListKitTemplate" EC_Close="() => KitToggleDetail(null)"></MP.SPEC.Components.ProdKit.KitDetailModal>
|
||||
}
|
||||
@if (currRecord != null && !showStats && isCurrOdl)
|
||||
{
|
||||
|
||||
@@ -386,10 +386,9 @@ namespace MP.SPEC.Components
|
||||
}
|
||||
protected void KitToggleDetail(string? selCodArt)
|
||||
{
|
||||
CodArtParent = selCodArt ?? "";
|
||||
if (!string.IsNullOrEmpty(CodArtParent))
|
||||
if (!string.IsNullOrEmpty(selCodArt))
|
||||
{
|
||||
ListKitTemplate = MDService.TemplateKitFilt(CodArtParent, "");
|
||||
ListKitTemplate = MDService.TemplateKitFilt(selCodArt, "");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -405,6 +404,5 @@ namespace MP.SPEC.Components
|
||||
|
||||
private List<TemplateKitModel>? ListKitTemplate = null;
|
||||
private bool showKitDetail = false;
|
||||
private string CodArtParent = "";
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ else
|
||||
<div class="@mainCss">
|
||||
@if (showKitDetail)
|
||||
{
|
||||
<MP.SPEC.Components.ProdKit.KitDetailModal CodArtParent="@CodArtParent" ListTK="@ListKitTemplate" ListPODL="@ListPOdlKit" EC_Close="() => KitToggleDetail(null)"></MP.SPEC.Components.ProdKit.KitDetailModal>
|
||||
<MP.SPEC.Components.ProdKit.KitDetailModal ListTK="@ListKitTemplate" ListPODL="@ListPOdlKit" EC_Close="() => KitToggleDetail(null)"></MP.SPEC.Components.ProdKit.KitDetailModal>
|
||||
}
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
|
||||
@@ -162,13 +162,10 @@ namespace MP.SPEC.Components
|
||||
|
||||
protected void KitToggleDetail(PODLExpModel? recSel)
|
||||
{
|
||||
// init valori filtro...
|
||||
CodArtParent = recSel != null ? recSel.CodArticolo : "";
|
||||
IdxPOdlParent = recSel != null ? recSel.IdxPromessa : 0;
|
||||
if (!string.IsNullOrEmpty(CodArtParent))
|
||||
if (recSel != null)
|
||||
{
|
||||
ListKitTemplate = MDService.TemplateKitFilt(CodArtParent, "");
|
||||
ListPOdlKit = MDService.POdlListByKitParent(IdxPOdlParent);
|
||||
ListKitTemplate = MDService.TemplateKitFilt(recSel.CodArticolo, "");
|
||||
ListPOdlKit = MDService.POdlListByKitParent(recSel.IdxPromessa);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -334,9 +331,6 @@ namespace MP.SPEC.Components
|
||||
#region Private Fields
|
||||
|
||||
private static Logger Log = LogManager.GetCurrentClassLogger();
|
||||
private string CodArtParent = "";
|
||||
private int IdxPOdlParent = 0;
|
||||
private int IdxOdlParent = 0;
|
||||
private string currRecipeArchPath = "";
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -104,9 +104,6 @@
|
||||
|
||||
@code {
|
||||
|
||||
[Parameter]
|
||||
public string CodArtParent { get; set; } = "";
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<bool> EC_Close { get; set; }
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.SPEC</RootNamespace>
|
||||
<Version>6.16.2505.1515</Version>
|
||||
<Version>6.16.2505.1516</Version>
|
||||
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2505.1515</h4>
|
||||
<h4>Versione: 6.16.2505.1516</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2505.1515
|
||||
6.16.2505.1516
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2505.1515</version>
|
||||
<version>6.16.2505.1516</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>
|
||||
|
||||
Reference in New Issue
Block a user