77 lines
3.7 KiB
Plaintext
77 lines
3.7 KiB
Plaintext
<div class="modal" tabindex="-1" style="display:block; background-color: rgba(10,10,10,.6);" role="dialog">
|
|
<div class="modal-dialog modal-xl">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<div class="d-flex justify-content-between w-100">
|
|
<div class="px-0 fs-5">
|
|
<h3>Selezione Materiali</h3>
|
|
</div>
|
|
<div class="px-0">
|
|
<div class="input-group">
|
|
<button class="btn btn-lg" @onclick="DoClose"><i class="fa-solid fa-xmark" title="Close Preview"></i></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="row">
|
|
<div class="@mainColCss">
|
|
@if (isLoading)
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
else if (ListRecords == null || totalCount == 0)
|
|
{
|
|
<div class="alert alert-warning fs-4">Nessun record trovato</div>
|
|
}
|
|
else
|
|
{
|
|
<table class="table table-sm table-striped mb-0">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-nowrap"></th>
|
|
<th class="text-nowrap">Item</th>
|
|
<th class="text-nowrap">Qty</th>
|
|
<th class="text-nowrap"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in ListRecords)
|
|
{
|
|
<tr class="@checkSel(item.Key)">
|
|
<td><button class="btn btn-sm btn-info" @onclick="() => DoSelect(item.Key)"><i class="fa-solid fa-magnifying-glass"></i></button></td>
|
|
<td class="">@item.Key</td>
|
|
<td class="">@item.Value.Count</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
@if (totalCount >= numRecord)
|
|
{
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="15">
|
|
<EgwCoreLib.Razor.DataPager currPage="@currPage" PageSize="@numRecord" totalCount="@totalCount" numPageChanged="SavePage" numRecordChanged="SaveNumRec"></EgwCoreLib.Razor.DataPager>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
}
|
|
</table>
|
|
}
|
|
</div>
|
|
@if (CurrBomItem != null)
|
|
{
|
|
<div class="col-9 bg-info bg-opacity-25 shadow py-2">
|
|
<ItemSel SelFilt="CurrFilt" ListItemGroup="ListItemGroup"></ItemSel>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer text-center small">
|
|
Per ogni materiale previsto è possibile indicare con quali varianti effettuare il calcolo del file PROD.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|