-
-
-
-
-
+
+
+ Quantità:
+
+
+
+
+
+
}
else
{
diff --git a/MP.INVE/Components/ProcSuggestion.razor.cs b/MP.INVE/Components/ProcSuggestion.razor.cs
index 8125c9ea..4085063f 100644
--- a/MP.INVE/Components/ProcSuggestion.razor.cs
+++ b/MP.INVE/Components/ProcSuggestion.razor.cs
@@ -23,14 +23,8 @@ namespace MP.INVE.Components
{
[Inject]
private MiDataService MIService { get; set; } = null!;
-
[Parameter]
- public SelectScanParams currParams { get; set; } = null!;
- protected string rawScan
- {
- get => currParams.UDC;
- set => currParams.UDC = value;
- }
+ public string lastScan { get; set; } = null!;
private string tipo { get; set; } = "";
public List
? searchrecords;
@@ -38,10 +32,9 @@ namespace MP.INVE.Components
protected override async Task OnParametersSetAsync()
{
- //await FilterChanged.InvokeAsync(actFilter);
await Task.Delay(1);
searchrecords = MIService.ElencoUDC();
- udc = searchrecords.Where(x => x.UDC == rawScan).FirstOrDefault();
+ udc = searchrecords.Where(x => x.UDC == lastScan).FirstOrDefault();
if (udc != null)
{
diff --git a/MP.INVE/MP.INVE.csproj b/MP.INVE/MP.INVE.csproj
index 2988c20a..158704a5 100644
--- a/MP.INVE/MP.INVE.csproj
+++ b/MP.INVE/MP.INVE.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.INVE
- 6.16.2211.2916
+ 6.16.2212.212
diff --git a/MP.INVE/Pages/Acquisizione.razor b/MP.INVE/Pages/Acquisizione.razor
index 7d5ced7c..d93521cf 100644
--- a/MP.INVE/Pages/Acquisizione.razor
+++ b/MP.INVE/Pages/Acquisizione.razor
@@ -6,5 +6,26 @@
Acquisizione
\ No newline at end of file
diff --git a/MP.INVE/Pages/Acquisizione.razor.cs b/MP.INVE/Pages/Acquisizione.razor.cs
index b797884c..c50cce10 100644
--- a/MP.INVE/Pages/Acquisizione.razor.cs
+++ b/MP.INVE/Pages/Acquisizione.razor.cs
@@ -33,12 +33,16 @@ namespace MP.INVE.Pages
private SelectScanParams currParams = new SelectScanParams();
private bool logged { get;set; } = false;
-
+ protected string rawScan { get; set; } = null!;
protected string idOPeratore { get; set; } = null!;
protected string authKey { get; set; } = null!;
protected override async Task OnInitializedAsync()
{
}
- protected DateTime? lastScan { get; set; } = null;
+ protected void saveScan(string newScan)
+ {
+ rawScan = newScan;
+ }
+ //protected DateTime? lastScan { get; set; } = null;
}
}
\ No newline at end of file
diff --git a/MP.INVE/Pages/Jumper.razor.cs b/MP.INVE/Pages/Jumper.razor.cs
index e5ec42ee..7969d480 100644
--- a/MP.INVE/Pages/Jumper.razor.cs
+++ b/MP.INVE/Pages/Jumper.razor.cs
@@ -62,7 +62,8 @@ namespace MP.INVE.Pages
MatrOpr = currOpr.MatrOpr,
Nome = currOpr.Nome,
Cognome = currOpr.Cognome,
- hashAuthKey = hash
+ hashAuthKey = hash,
+ dtExp = DateTime.Now.AddMinutes(1)
};
await localStorage.SetItemAsync("MatrOpr", currOpr);
diff --git a/MP.INVE/Pages/OperatoreLogin.razor b/MP.INVE/Pages/OperatoreLogin.razor
index 9d0e9867..15e1aa06 100644
--- a/MP.INVE/Pages/OperatoreLogin.razor
+++ b/MP.INVE/Pages/OperatoreLogin.razor
@@ -5,50 +5,58 @@