-
- @if (!string.IsNullOrEmpty(SelCodGroup))
- {
-
- }
-
-
-
- Gruppo
-
-
-
@@ -38,12 +20,19 @@
-
-
-
-
-
-
+ @if (isLoading)
+ {
+
+ }
+ else
+ {
+
+
+
+
+
+
+ }
\ No newline at end of file
diff --git a/Lux.UI/Components/Pages/GenList.razor.cs b/Lux.UI/Components/Pages/GenList.razor.cs
index 9cd9cdd0..ba25de8d 100644
--- a/Lux.UI/Components/Pages/GenList.razor.cs
+++ b/Lux.UI/Components/Pages/GenList.razor.cs
@@ -2,6 +2,7 @@ using EgwCoreLib.Lux.Data.DbModel;
using EgwCoreLib.Lux.Data.Services;
using Lux.UI.Components.Compo;
using Microsoft.AspNetCore.Components;
+using System.Threading.Tasks;
namespace Lux.UI.Components.Pages
{
@@ -49,35 +50,10 @@ namespace Lux.UI.Components.Pages
#region Protected Methods
- protected void DoAdd()
- {
- editRecord = new ItemModel()
- {
-#if false
- CodGroup = ListGenClass.FirstOrDefault()?.CodGroup ?? "",
-#endif
- ItemType = EgwCoreLib.Lux.Core.Enums.ItemClassType.ND,
- IsService = false,
- ItemCode = 0,
- ExtItemCode = "NEW-ITEM",
- SupplCode = "",
- Description = $"Nuova Offerta {DateTime.Today:ddd yyyy.MM.dd}",
- Cost = 0,
- Margin = 0,
- QtyMin = 0,
- QtyMax = 0,
- UM = "#"
- };
- }
-
protected override async Task OnInitializedAsync()
{
isLoading = true;
await ReloadBaseData();
-#if false
- await ReloadData();
- UpdateTable();
-#endif
}
protected void ResetSearch()
@@ -96,9 +72,16 @@ namespace Lux.UI.Components.Pages
#region Private Methods
+ private async Task ForceReloadAsync()
+ {
+ await ReloadBaseData();
+ }
+
private async Task ReloadBaseData()
{
+ isLoading = true;
ListGenClass = await DLService.GenClassGetAllAsync();
+ isLoading = false;
}
private void SaveSel(string codGroup)
diff --git a/Lux.UI/Lux.UI.csproj b/Lux.UI/Lux.UI.csproj
index a0fcec6b..328212b0 100644
--- a/Lux.UI/Lux.UI.csproj
+++ b/Lux.UI/Lux.UI.csproj
@@ -5,7 +5,7 @@
enable
enable
aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50
-
0.9.2509.1813
+
0.9.2509.1816
diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html
index 53d02dee..2c553fa7 100644
--- a/Resources/ChangeLog.html
+++ b/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
LUX - Web Windows MES
- Versione: 0.9.2509.1813
+ Versione: 0.9.2509.1816
Note di rilascio:
-
diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt
index 9f8d908b..b1f250ea 100644
--- a/Resources/VersNum.txt
+++ b/Resources/VersNum.txt
@@ -1 +1 @@
-0.9.2509.1813
+0.9.2509.1816
diff --git a/Resources/manifest.xml b/Resources/manifest.xml
index 2499a925..90bf740f 100644
--- a/Resources/manifest.xml
+++ b/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 0.9.2509.1813
+ 0.9.2509.1816
http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip
http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html
false