Update parziale componente x gestione modifiche parametri

This commit is contained in:
Samuele Locatelli
2026-03-30 11:21:59 +02:00
parent c7128e19a8
commit 3eafecd756
8 changed files with 17 additions and 14 deletions
+2 -2
View File
@@ -8,8 +8,8 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageVersion>
<PackageVersion Include="Egw.Lux.WebWindow.Base" Version="3.1.3.2718" />
<PackageVersion Include="Egw.Lux.WebWindowComplex" Version="3.1.3.2718" />
<PackageVersion Include="Egw.Lux.WebWindow.Base" Version="3.1.3.3010" />
<PackageVersion Include="Egw.Lux.WebWindowComplex" Version="3.1.3.3010" />
<PackageVersion Include="Egw.Window.Data" Version="2.8.1.2611" />
<PackageVersion Include="EgwCoreLib.Razor" Version="1.5.2511.312" />
<PackageVersion Include="EgwCoreLib.Utils" Version="1.5.2511.312" />
+1 -1
View File
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>1.1.2603.2718</Version>
<Version>1.1.2603.3011</Version>
</PropertyGroup>
<ItemGroup>
@@ -12,10 +12,10 @@
<WebWindowComplex.TableComp ListPayload="SetupList"
LiveData="CurrData"
PendReq="CurrPendReq"
EC_PendantAction="DoUpdatePend"
EC_ActionReq="DoAction"
EC_DoUpdate="ExecRequest"
EC_OnClose="CloseEditJwd">
EC_OnClose="CloseEditJwd"
EC_UpdateReqPend="DoUpdatePend">
</WebWindowComplex.TableComp>
}
else
@@ -558,7 +558,7 @@ namespace Lux.UI.Components.Compo.Offer
if (doSave)
{
// salvo su DB!
await ORService.UpdateSerStructAsync(EditRecord.OfferRowID, prevJwd);
await ORService.UpdateSerStructDirtyAsync(EditRecord.OfferRowID, prevJwd, CurrPendReq);
// salvo nel record corrente!
EditRecord.SerStruct = prevJwd;
updateBom = true;
@@ -628,12 +628,14 @@ namespace Lux.UI.Components.Compo.Offer
}
/// <summary>
/// aggiorna sul DB le pending req del record
/// Aggiorna valore corrente reqPending x salvare poi con JWD su richiesta
/// </summary>
/// <param name="newPendReq"></param>
/// <returns></returns>
private async Task DoUpdatePend(Dictionary<string, string> newPendReq)
private void DoUpdatePend(Dictionary<string, string> newPendReq)
{
CurrPendReq = newPendReq;
#if false
if (EditRecord != null)
{
// aggiorno record richieste!
@@ -641,7 +643,8 @@ namespace Lux.UI.Components.Compo.Offer
//await ReloadDataAsync();
//UpdateTable();
}
await Task.Delay(100);
await Task.Delay(10);
#endif
}
/// <summary>
@@ -1131,7 +1134,7 @@ namespace Lux.UI.Components.Compo.Offer
private async Task DoForceParam(Dictionary<string, bool> writeSet)
{
if (!await JSRuntime.InvokeAsync<bool>("confirm", $"Confermi di voler i {writeSet.Count} parametri selezionati per l'offerta?"))
if (!await JSRuntime.InvokeAsync<bool>("confirm", $"Confermi di voler forzzare {writeSet.Count} parametro/i selezionati per l'offerta?"))
return;
// recupero obj dizionario x i parametri compresi...
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50</UserSecretsId>
<Version>1.1.2603.2718</Version>
<Version>1.1.2603.3011</Version>
</PropertyGroup>
<ItemGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>LUX - Web Windows MES</i>
<h4>Versione: 1.1.2603.2718</h4>
<h4>Versione: 1.1.2603.3011</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
1.1.2603.2718
1.1.2603.3011
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>1.1.2603.2718</version>
<version>1.1.2603.3011</version>
<url>http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip</url>
<changelog>http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html</changelog>
<mandatory>false</mandatory>