00a0fc81ce
- FIX Selezione stato comemssa e filtraggio
69 lines
2.5 KiB
Plaintext
69 lines
2.5 KiB
Plaintext
@using MP.SPEC.Components
|
|
@using MP.SPEC.Data
|
|
|
|
@if (ListRecords == null)
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
else if (totalCount == 0)
|
|
{
|
|
<div class="alert alert-warning text-center display-4">Nessun record trovato</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<table class="table table-sm table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
@*<button @onclick="() => resetSel()" class="btn btn-primary btn-sm"><i class="bi bi-arrow-counterclockwise"></i></button>*@
|
|
</th>
|
|
<th>Articolo</th>
|
|
<th>Macchina</th>
|
|
<th># pz</th>
|
|
<th>T.Ciclo</th>
|
|
<th>Inizio</th>
|
|
<th>Note</th>
|
|
<th>Richiesta</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var record in ListRecords)
|
|
{
|
|
<tr class="@checkSelect(@record.CodArticolo)">
|
|
<td>
|
|
@*<button @onclick="() => selRecord(record)" class="btn btn-primary btn-sm"><i class="bi bi-pencil-square"></i></button>*@
|
|
</td>
|
|
<td>
|
|
@record.CodArticolo
|
|
</td>
|
|
<td>
|
|
@record.IdxMacchina
|
|
</td>
|
|
<td>
|
|
@record.NumPezzi
|
|
</td>
|
|
<td>
|
|
@record.Tcassegnato.ToString("N3")
|
|
</td>
|
|
<td>
|
|
<div>@record.DataInizio</div>
|
|
</td>
|
|
<td>@record.Note</td>
|
|
<td>@record.KeyRichiesta</td>
|
|
<td>
|
|
@*@if (ArticoloDelEnabled(record.CodArticolo))
|
|
{
|
|
<button @onclick="() => deleteRecord(record)" class="btn btn-danger btn-sm"><i class="bi bi-trash-fill"></i></button>
|
|
}*@
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
}
|