Aggiunto edit mode x file e jwd post template sel
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>1.1.2603.1315</Version>
|
||||
<Version>1.1.2603.1316</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<h3>ConfirmModal</h3>
|
||||
|
||||
@code {
|
||||
|
||||
}
|
||||
@@ -202,6 +202,15 @@ namespace Lux.UI.Components.Compo
|
||||
{
|
||||
await callBomUpdate(dbRec);
|
||||
await callImgUpdate(dbRec);
|
||||
// imposto ad editing record secondo tipo
|
||||
if (dbRec.Envir == EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW)
|
||||
{
|
||||
DoEditJwd(dbRec);
|
||||
}
|
||||
else
|
||||
{
|
||||
DoEditFile(dbRec);
|
||||
}
|
||||
}
|
||||
}
|
||||
await ReloadData();
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<label class="small">Nome</label>
|
||||
</div>
|
||||
</div>
|
||||
@if (CurrRecord.ImgType == Enums.ImageType.Fixed || CurrRecord.ImgType == Enums.ImageType.ND)
|
||||
@if (ShowImgUpload(CurrRecord.SellingItemID))
|
||||
{
|
||||
<div class="col-8">
|
||||
<div class="form-floating">
|
||||
|
||||
@@ -35,6 +35,25 @@ namespace Lux.UI.Components.Compo.Templates
|
||||
|
||||
#region Private Fields
|
||||
|
||||
/// <summary>
|
||||
/// Check visibilità upload dato il selling item ID corrente
|
||||
/// </summary>
|
||||
/// <param name="sellItemId"></param>
|
||||
/// <returns></returns>
|
||||
private bool ShowImgUpload(int sellItemId)
|
||||
{
|
||||
bool answ = false;
|
||||
if (sellItemId > 0)
|
||||
{
|
||||
var selRec = ListSellinglItems.FirstOrDefault(x => x.SellingItemID == sellItemId);
|
||||
if (selRec != null)
|
||||
{
|
||||
answ = selRec.ImgType != EgwCoreLib.Lux.Core.Enums.ImageType.Calculated;
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Path da parent record
|
||||
/// </summary>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</div>
|
||||
<div class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="Template">
|
||||
<span class="fa-solid fa-book-bookmark px-2 fs-4" aria-hidden="true"></span> <span class="@hideText">Template</span>
|
||||
<span class="fa-solid fa-book-bookmark px-2 fs-4" aria-hidden="true"></span> <span class="@hideText">Cataloghi</span>
|
||||
</NavLink>
|
||||
</div>
|
||||
<div class="nav-item px-3">
|
||||
|
||||
@@ -55,7 +55,16 @@
|
||||
<div class="@detailCss ps-0">
|
||||
<div class="card border-info shadow">
|
||||
<div class="card-header text-bg-info bg-opacity-50">
|
||||
@if (fullPageDetail)
|
||||
{
|
||||
<span>
|
||||
<b>@SelRecord.Name</b> | @SelRecord.Description
|
||||
</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<b>Elenco Prodotti a Catalogo</b>
|
||||
}
|
||||
</div>
|
||||
<div class="card-body py-1 px-2">
|
||||
<TemplateRowList CurrParent="@SelRecord" CurrSearchVal="@searchVal" EC_ReqFullPage="ToggleFull"></TemplateRowList>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UserSecretsId>aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50</UserSecretsId>
|
||||
<Version>1.1.2603.1315</Version>
|
||||
<Version>1.1.2603.1316</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>LUX - Web Windows MES</i>
|
||||
<h4>Versione: 1.1.2603.1315</h4>
|
||||
<h4>Versione: 1.1.2603.1316</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.1.2603.1315
|
||||
1.1.2603.1316
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>1.1.2603.1315</version>
|
||||
<version>1.1.2603.1316</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>
|
||||
|
||||
Reference in New Issue
Block a user