aggiunti vari refresh (NON FIX DEFINITIVO)
This commit is contained in:
@@ -27,6 +27,9 @@ namespace MP_TAB3.Components
|
||||
protected List<ODLModel> ListComplete { get; set; } = new List<ODLModel>();
|
||||
protected List<ODLModel> ListPaged { get; set; } = new List<ODLModel>();
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<bool> E_RefreshData { get; set; }
|
||||
|
||||
[Inject]
|
||||
protected MessageService MServ { get; set; } = null!;
|
||||
|
||||
@@ -100,10 +103,11 @@ namespace MP_TAB3.Components
|
||||
// registro ODL retroattivamente...
|
||||
await TabDServ.OdlSetupPostumo(IdxOdlSel, IdxMaccCurr);
|
||||
}
|
||||
await E_RefreshData.InvokeAsync(true);
|
||||
}
|
||||
|
||||
// redirect
|
||||
NavMan.NavigateTo(NavMan.Uri, true);
|
||||
//NavMan.NavigateTo(NavMan.Uri, true);
|
||||
}
|
||||
|
||||
protected void toggleFixOdl()
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
@if (!odlOk)
|
||||
{
|
||||
<div class="col-12">
|
||||
<FixOdl IdxMaccCurr="@IdxMaccParent"></FixOdl>
|
||||
<FixOdl IdxMaccCurr="@IdxMaccParent" E_RefreshData="refreshAfterFixOdl"></FixOdl>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -867,6 +867,15 @@ namespace MP_TAB3.Components
|
||||
await ReloadData(true);
|
||||
}
|
||||
|
||||
protected async Task refreshAfterFixOdl(bool has2Refr)
|
||||
{
|
||||
if (has2Refr)
|
||||
{
|
||||
await RefreshData();
|
||||
await InvokeAsync(StateHasChanged);
|
||||
}
|
||||
}
|
||||
|
||||
protected void SaveTCRich(decimal newTCRich)
|
||||
{
|
||||
tcRichAttr = newTCRich;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>6.16.2312.1812</Version>
|
||||
<Version>6.16.2312.1816</Version>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP_TAB3</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2312.1812</h4>
|
||||
<h4>Versione: 6.16.2312.1816</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2312.1812
|
||||
6.16.2312.1816
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2312.1812</version>
|
||||
<version>6.16.2312.1816</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user