avanzamento inve acquisizione
+ metodo get configurazione
This commit is contained in:
@@ -28,6 +28,34 @@ namespace MP.Data.Controllers
|
||||
_configuration = null;
|
||||
}
|
||||
|
||||
|
||||
#region gestione config
|
||||
|
||||
/// <summary>
|
||||
/// Elenco da tabella Config
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<ConfigModel> ConfigGetAll()
|
||||
{
|
||||
List<ConfigModel> dbResult = new List<ConfigModel>();
|
||||
using (var dbCtx = new MoonProContext(_configuration))
|
||||
{
|
||||
dbResult = dbCtx
|
||||
.DbSetConfig
|
||||
.AsNoTracking()
|
||||
.OrderBy(x => x.Chiave)
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
#endregion gestione config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Elenco Scansioni dato Id sessione inventario
|
||||
/// </summary>
|
||||
|
||||
@@ -40,13 +40,15 @@ namespace MP.INVE.Components
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
//&& !(answ.dtExp < DateTime.Now)
|
||||
|
||||
protected async Task getId()
|
||||
{
|
||||
OperatoreDTO answ = new OperatoreDTO();
|
||||
answ = await localStorage.GetItemAsync<OperatoreDTO>("MatrOpr");
|
||||
if (!NavManager.Uri.Contains("Jumper?"))
|
||||
{
|
||||
if (answ != null && !(answ.dtExp < DateTime.Now))
|
||||
if (answ != null)
|
||||
{
|
||||
userName = $"{answ.Cognome} {answ.Nome} ({answ.MatrOpr})";
|
||||
if (NavManager.Uri.Contains("OperatoreLogin"))
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
@if (udc != null)
|
||||
{
|
||||
|
||||
<ul class="p-0">
|
||||
<li class="list-group-item">
|
||||
Lotto:
|
||||
@@ -22,14 +21,14 @@
|
||||
<li class="list-group-item">
|
||||
Articolo:
|
||||
<div class="input-group input-group-sm">
|
||||
<input class="form-control @reqArtMod" value="@udc.lottoNav.CodArt" type="text" />
|
||||
<input class="form-control @reqArtMod" @bind-value="@udc.lottoNav.CodArt" type="text" />
|
||||
<button title="Mod articolo" @onclick="@cssDisableArt" class="btn btn-sm btn-primary"><i class="fa-solid fa-pen-to-square"></i></button>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Quantità:
|
||||
<div class="input-group input-group-sm">
|
||||
<input class="form-control @reqQtaMod" value="@Math.Round(udc.Qta, 0)" type="number" />
|
||||
<input class="form-control @reqQtaMod" @bind-value="@udc.Qta" type="number" />
|
||||
<button title="Mod quantità" @onclick="@cssDisableQta" class="btn btn-sm btn-primary"><i class="fa-solid fa-pen-to-square"></i></button>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@@ -23,21 +23,8 @@ namespace MP.INVE.Components
|
||||
{
|
||||
[Inject]
|
||||
private MiDataService MIService { get; set; } = null!;
|
||||
|
||||
#if false
|
||||
[Parameter]
|
||||
public SelectScanParams currParams { get; set; } = null!;
|
||||
#endif
|
||||
[Parameter]
|
||||
public string lastScan { get; set; } = null!;
|
||||
|
||||
#if false
|
||||
protected string rawScan
|
||||
{
|
||||
get => currParams.UDC;
|
||||
set => currParams.UDC = value;
|
||||
}
|
||||
#endif
|
||||
private string tipo { get; set; } = "";
|
||||
|
||||
public List<AnagUdcModel>? searchrecords;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.INVE</RootNamespace>
|
||||
<Version>6.16.2212.210</Version>
|
||||
<Version>6.16.2212.212</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -16,9 +16,12 @@
|
||||
<div class="col-12">
|
||||
<ProcSuggestion lastScan="@rawScan"></ProcSuggestion>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<ProcOperat></ProcOperat>
|
||||
</div>
|
||||
@if (rawScan != null)
|
||||
{
|
||||
<div class="col-12">
|
||||
<ProcOperat></ProcOperat>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="col-12">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOINVE </i>
|
||||
<h4>Versione: 6.16.2212.210</h4>
|
||||
<h4>Versione: 6.16.2212.212</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2212.210
|
||||
6.16.2212.212
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2212.210</version>
|
||||
<version>6.16.2212.212</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/MP.INVE.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user