diff --git a/MP.INVE/Components/InveSessionList.razor b/MP.INVE/Components/InveSessionList.razor index f777e5c3..eb6f4e03 100644 --- a/MP.INVE/Components/InveSessionList.razor +++ b/MP.INVE/Components/InveSessionList.razor @@ -70,10 +70,7 @@
| QR | - } +Apri | ID sessione | Magazzino | Operatore | diff --git a/MP.INVE/Components/ListScan.razor.cs b/MP.INVE/Components/ListScan.razor.cs index 8ffdd6e3..40456e7d 100644 --- a/MP.INVE/Components/ListScan.razor.cs +++ b/MP.INVE/Components/ListScan.razor.cs @@ -1,19 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Components; -using System.Net.Http; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Components.Authorization; -using Microsoft.AspNetCore.Components.Forms; -using Microsoft.AspNetCore.Components.Routing; -using Microsoft.AspNetCore.Components.Web; -using Microsoft.AspNetCore.Components.Web.Virtualization; using Microsoft.JSInterop; -using MP.INVE; -using MP.INVE.Shared; -using MP.INVE.Components; using MP.Data.DatabaseModels; using MP.INVE.Data; @@ -21,26 +7,51 @@ namespace MP.INVE.Components { public partial class ListScan { - [Inject] - MiDataService MIService { get; set; } = null!; - [Inject] - IJSRuntime JSRuntime { get; set; } = null!; + #region Public Properties + [Parameter] public string lastScan { get; set; } = ""; - [Parameter] - public string userScan { get; set; } = null!; - [Parameter] - public int sessID { get; set; } = 0; + [Parameter] public string magID { get; set; } = ""; + + [Parameter] + public int sessID { get; set; } = 0; + + [Parameter] + public string userScan { get; set; } = null!; + + #endregion Public Properties + + #region Protected Properties + protected string rawScan { get; set; } = null!; - List
|---|
| Lotto | -Cod.Art. | -Descrizione Articolo | -# Colli | -Qty Tot | -
|---|
| - @item.Lotto - | -- @item.CodArticolo - | -- @item.DescrArt - | -- @item.NumColli - | -- @($"{item.TotLotto:N2}") - | ++ @if (currRecord != null) + { + + } + | +Lotto | +Cod.Art. | +Descrizione Articolo | +# Colli | +Qty Tot |
|---|
| + @*@if (currRecord != null) + { + + }*@ + | +Lotto | +Cod.Art. | +Descrizione Articolo | +# Colli | +Qty Tot | +
|---|---|---|---|---|---|
| + + | ++ @item.Lotto + | ++ @item.CodArticolo + | ++ @item.DescrArt + | ++ @item.NumColli + | ++ @($"{item.TotLotto:N2}") + | +