|
@@ -146,13 +147,21 @@ else
@if (DisplayMode == EgwCoreLib.Lux.Core.Enums.DisplayMode.Edit)
{
|
- @if (item.Envir == EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW)
+ @* rifare gestione switch tipo obj!!!! *@
+ @if (isBuy)
{
- DoEditJwd(item)" title="Edit Item" />
+
}
else
{
- DoEditFile(item)" title="Edit Item" />
+ @if (item.Envir == EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW)
+ {
+ DoEditJwd(item)" title="Edit Item" />
+ }
+ else
+ {
+ DoEditFile(item)" title="Edit Item" />
+ }
}
|
}
@@ -184,14 +193,17 @@ else
}
}
- @if (item.Envir != EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW || !string.IsNullOrEmpty(item.FileName))
+ @if (!isBuy)
{
-
-
- @fSize(item.FileSize)
-
+ @if (item.Envir != EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW || !string.IsNullOrEmpty(item.FileName))
+ {
+
+
+ @fSize(item.FileSize)
+
+ }
}
@* @if (PreparedFile.Contains(FixUidName(item.OfferRowUID)))
{
diff --git a/Lux.UI/Components/Compo/OfferRowMan.razor.cs b/Lux.UI/Components/Compo/OfferRowMan.razor.cs
index 49ecc29c..d4cc247b 100644
--- a/Lux.UI/Components/Compo/OfferRowMan.razor.cs
+++ b/Lux.UI/Components/Compo/OfferRowMan.razor.cs
@@ -723,6 +723,7 @@ namespace Lux.UI.Components.Compo
/// Channel update Profile List
///
private string chProfElem = "";
+
///
/// Channel update Profile List
///
@@ -738,6 +739,7 @@ namespace Lux.UI.Components.Compo
///
private string chSvg = "";
+ private List currAreaProfiles = new();
private List? CurrBomList = null;
///
@@ -746,8 +748,6 @@ namespace Lux.UI.Components.Compo
private EditMode CurrEditMode = EditMode.None;
private Dictionary currGroupShape = new();
- private List currAreaProfiles = new();
-
private Dictionary currHwOption = new();
private int currPage = 1;
@@ -905,6 +905,17 @@ namespace Lux.UI.Components.Compo
}
}
+ ///
+ /// Chiude edit con preprocess x caso JWD
+ ///
+ ///
+ ///
+ private Task CloseEditJwd(DataSave infoSave)
+ {
+ prevJwd = infoSave.currJwd;
+ return CloseEdit(infoSave.open);
+ }
+
private void ConfInit()
{
basePath = Config.GetValue("ServerConf:FileSharePath") ?? "unsafe_uploads";
@@ -1627,7 +1638,7 @@ namespace Lux.UI.Components.Compo
///
///
///
- private async void UpdateBom(List newBomList)
+ private async Task UpdateBom(List newBomList)
{
if (EditRecord != null)
{
diff --git a/Lux.UI/Components/Compo/OrderRowMan.razor b/Lux.UI/Components/Compo/OrderRowMan.razor
index 8ddf1869..bf3de9d5 100644
--- a/Lux.UI/Components/Compo/OrderRowMan.razor
+++ b/Lux.UI/Components/Compo/OrderRowMan.razor
@@ -6,7 +6,7 @@
LiveData="CurrData"
EC_ActionReq="DoAction"
EC_DoUpdate="ExecRequest"
- EC_OnClose="CloseEdit">
+ EC_OnClose="CloseEditJwd">
}
else
@@ -106,6 +106,7 @@ else
@foreach (var item in ListRecords)
{
bool isNote = item.Original.SellingItemID == null;
+ bool isBuy = (item.Original.SellingItemID> 2 && item.Original.SellingItemID < 5);
|
@@ -151,13 +152,21 @@ else
@if (DisplayMode == EgwCoreLib.Lux.Core.Enums.DisplayMode.Edit)
{
|
- @if (item.Original.Envir == EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW)
+ @* rifare gestione switch tipo obj!!!! *@
+ @if (isBuy)
{
- DoEditJwd(item.Original)" title="Edit Item" />
+
}
else
{
- DoEditFile(item.Original)" title="Edit Item" />
+ @if (item.Original.Envir == EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW)
+ {
+ DoEditJwd(item.Original)" title="Edit Item" />
+ }
+ else
+ {
+ DoEditFile(item.Original)" title="Edit Item" />
+ }
}
|
}
diff --git a/Lux.UI/Components/Compo/OrderRowMan.razor.cs b/Lux.UI/Components/Compo/OrderRowMan.razor.cs
index 60b79a3b..596bbc78 100644
--- a/Lux.UI/Components/Compo/OrderRowMan.razor.cs
+++ b/Lux.UI/Components/Compo/OrderRowMan.razor.cs
@@ -783,7 +783,7 @@ namespace Lux.UI.Components.Compo
///
protected async Task ReRunJob()
{
- if (WorkLoadRecord != null && SelRecord!=null)
+ if (WorkLoadRecord != null && SelRecord != null)
{
if (!await JSRuntime.InvokeAsync("confirm", $"Sicuro di voler rimettere in coda il calcolo?"))
return;
@@ -1083,6 +1083,17 @@ namespace Lux.UI.Components.Compo
}
}
+ ///
+ /// Chiude edit con preprocess x caso JWD
+ ///
+ ///
+ ///
+ private Task CloseEditJwd(DataSave infoSave)
+ {
+ prevJwd = infoSave.currJwd;
+ return CloseEdit(infoSave.open);
+ }
+
private void ConfInit()
{
basePath = Config.GetValue("ServerConf:FileSharePath") ?? "unsafe_uploads";
@@ -1793,7 +1804,7 @@ namespace Lux.UI.Components.Compo
///
///
///
- private async void UpdateBom(List newBomList)
+ private async Task UpdateBom(List newBomList)
{
if (EditRecord != null)
{
diff --git a/Lux.UI/Components/Compo/WorkLoad/JobQueueDisplay.razor.cs b/Lux.UI/Components/Compo/WorkLoad/JobQueueDisplay.razor.cs
index 90171c5c..f218f5bb 100644
--- a/Lux.UI/Components/Compo/WorkLoad/JobQueueDisplay.razor.cs
+++ b/Lux.UI/Components/Compo/WorkLoad/JobQueueDisplay.razor.cs
@@ -32,19 +32,19 @@ namespace Lux.UI.Components.Compo.WorkLoad
UpdateTable();
}
- protected async Task ReRunJob(string? JobCode)
+ protected Task ReRunJob(string? JobCode)
{
- await EC_ReRunJob.InvokeAsync(JobCode);
+ return EC_ReRunJob.InvokeAsync(JobCode);
}
- protected async Task ResetRunQueue()
+ protected Task ResetRunQueue()
{
- await EC_ResetQueue.InvokeAsync("Run");
+ return EC_ResetQueue.InvokeAsync("Run");
}
- protected async Task ResetWaitQueue()
+ protected Task ResetWaitQueue()
{
- await EC_ResetQueue.InvokeAsync("Wait");
+ return EC_ResetQueue.InvokeAsync("Wait");
}
protected void SaveNumRec(int newNum)
diff --git a/Lux.UI/Components/Compo/WorkLoad/PartStatus.razor.cs b/Lux.UI/Components/Compo/WorkLoad/PartStatus.razor.cs
index b080086e..18198698 100644
--- a/Lux.UI/Components/Compo/WorkLoad/PartStatus.razor.cs
+++ b/Lux.UI/Components/Compo/WorkLoad/PartStatus.razor.cs
@@ -20,14 +20,14 @@ namespace Lux.UI.Components.Compo.WorkLoad
#region Protected Methods
- protected async Task ClosePopup()
+ protected Task ClosePopup()
{
- await EC_ClosePopup.InvokeAsync(true);
+ return EC_ClosePopup.InvokeAsync(true);
}
- protected async Task ReRunJob()
+ protected Task ReRunJob()
{
- await EC_ReRunReq.InvokeAsync(true);
+ return EC_ReRunReq.InvokeAsync(true);
}
#endregion Protected Methods
diff --git a/Lux.UI/Components/Compo/WorkLoad/RawPartSelector.razor.cs b/Lux.UI/Components/Compo/WorkLoad/RawPartSelector.razor.cs
index 8bc56f4c..c7697038 100644
--- a/Lux.UI/Components/Compo/WorkLoad/RawPartSelector.razor.cs
+++ b/Lux.UI/Components/Compo/WorkLoad/RawPartSelector.razor.cs
@@ -65,7 +65,7 @@ namespace Lux.UI.Components.Compo.WorkLoad
/// Aggiunge un set standard
///
///
- private async void DoAddStdSet(KeyValuePair> selEntry)
+ private async Task DoAddStdSet(KeyValuePair> selEntry)
{
// aggiungo se mancassero...
int cLenght = 0;
diff --git a/Lux.UI/Lux.UI.csproj b/Lux.UI/Lux.UI.csproj
index 23943f68..524dc0fa 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
- 1.1.2602.1009
+ 1.1.2603.0510
diff --git a/Lux.UI/wwwroot/images/SellingItemID_03.png b/Lux.UI/wwwroot/images/SellingItemID_03.png
new file mode 100644
index 00000000..26237ab8
Binary files /dev/null and b/Lux.UI/wwwroot/images/SellingItemID_03.png differ
diff --git a/Lux.UI/wwwroot/images/SellingItemID_04.png b/Lux.UI/wwwroot/images/SellingItemID_04.png
new file mode 100644
index 00000000..49c3c371
Binary files /dev/null and b/Lux.UI/wwwroot/images/SellingItemID_04.png differ
diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html
index 07fb16ba..71755d85 100644
--- a/Resources/ChangeLog.html
+++ b/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
LUX - Web Windows MES
- Versione: 1.1.2602.1009
+ Versione: 1.1.2603.0510
Note di rilascio:
-
diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt
index 51b62139..f97fc258 100644
--- a/Resources/VersNum.txt
+++ b/Resources/VersNum.txt
@@ -1 +1 @@
-1.1.2602.1009
+1.1.2603.0510
diff --git a/Resources/manifest.xml b/Resources/manifest.xml
index 0ca636eb..7c1cc694 100644
--- a/Resources/manifest.xml
+++ b/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 1.1.2602.1009
+ 1.1.2603.0510
http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip
http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html
false