fix evento x acquisizione
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
<div class="input-group input-group-sm">
|
||||
<input @bind="@LastScan" class="fs-6 text-center mb-2 form-control" @ref="@target" style="width: 17rem;" />
|
||||
<input @bind="LastScan" class="fs-6 text-center mb-2 form-control" @ref="@target" style="width: 17rem;" />
|
||||
</div>
|
||||
|
||||
@@ -28,8 +28,8 @@ namespace MP.INVE.Components
|
||||
/// Imposta il focus su input scansione
|
||||
/// </summary>
|
||||
protected void setFocus()
|
||||
{
|
||||
// all'apertura del componente --> focus su txtbox scan (e anche dopo input)
|
||||
{
|
||||
// all'apertura del componente --> focus su txtbox scan (e anche dopo input)
|
||||
}
|
||||
|
||||
|
||||
@@ -44,8 +44,17 @@ namespace MP.INVE.Components
|
||||
// get => currParams.UDC;
|
||||
// set => currParams.UDC = value;
|
||||
//}
|
||||
protected string _lastScan = "";
|
||||
protected string LastScan
|
||||
{
|
||||
get => _lastScan;
|
||||
set
|
||||
{
|
||||
_lastScan = value;
|
||||
saveSel(LastScan);
|
||||
}
|
||||
}
|
||||
|
||||
protected string LastScan = "";
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
@@ -55,10 +64,10 @@ namespace MP.INVE.Components
|
||||
}
|
||||
}
|
||||
|
||||
private async Task saveSel(string lastScan)
|
||||
private void saveSel(string scanToSend)
|
||||
{
|
||||
LastScan = lastScan;
|
||||
await lastRawScan.InvokeAsync(lastScan);
|
||||
//LastScan = scanToSend;
|
||||
Task.FromResult(lastRawScan.InvokeAsync(scanToSend));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.INVE</RootNamespace>
|
||||
<Version>6.16.2212.118</Version>
|
||||
<Version>6.16.2212.210</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOINVE </i>
|
||||
<h4>Versione: 6.16.2212.118</h4>
|
||||
<h4>Versione: 6.16.2212.210</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2212.118
|
||||
6.16.2212.210
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2212.118</version>
|
||||
<version>6.16.2212.210</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