173 lines
7.1 KiB
Plaintext
173 lines
7.1 KiB
Plaintext
|
|
|
|
<div class="d-flex justify-content-between mt-2">
|
|
<div class="col-4">
|
|
<MachSel RecMSE="RecMSE" E_MachSel="SetMacc"></MachSel>
|
|
</div>
|
|
|
|
<div class="col-8 d-flex justify-content-end">
|
|
<div class="px-1 col-4">
|
|
<PrintMag RecMSE="RecMSE"></PrintMag>
|
|
</div>
|
|
@if (odlOk)
|
|
{
|
|
<div class="px-1 col-8">
|
|
<button class="btn btn-sm @ConfBg py-2 px-4" style="width: 100%" @onclick="ToggleConfProd">
|
|
<i class="fa-solid fa-check pe-1"></i><span>@ConfTitle</span>
|
|
</button>
|
|
</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="alert alert-warning fs-3">MANCA ODL: conferma NON permessa</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@if (showInnov)
|
|
{
|
|
<div class="cardBg p-2 mt-2">
|
|
<div class="d-flex justify-content-between">
|
|
<div class="col-3 p-1">
|
|
|
|
<div class="bg-success rounded">
|
|
<div class="ps-1 fw-bold" style="font-size: .9rem;">Pezzi confermati</div>
|
|
|
|
<input class="form-control text-light bg-success border-0" aria-label="Floating label select example" @bind="numPzProdotti2Rec" @onblur="() => setConfirmBtn(true)" @onfocus="() => setConfirmBtn(false)" />
|
|
</div>
|
|
@*<div class="form-floating">
|
|
<input class="form-select" id="floatingSelect" aria-label="Floating label select example" />
|
|
<label for="floatingSelect">Works with selects</label>
|
|
</div>*@
|
|
@*<div class="form-floating">
|
|
<input type="number" class="form-control bg-success" id="floatingInputConf" @bind="numPzProdotti2Rec" @onblur="() => setConfirmBtn(true)" @onfocus="() => setConfirmBtn(false)">
|
|
<label for="floatingInputConf" class="text-light bg-success fw-bold" style="font-size: .8rem;">
|
|
Pezzi confermati
|
|
</label>
|
|
</div>*@
|
|
</div>
|
|
<div class="col-3 p-1">
|
|
<div class="bg-secondary rounded">
|
|
@if (enablePzProdLasciati)
|
|
{
|
|
<div class="ps-1 fw-bold" style="font-size: .9rem;">Lasciati</div>
|
|
|
|
<input class="form-control text-light bg-secondary border-0" aria-label="Floating label select example" @bind="numPzLasciati" @onblur="() => setConfirmBtn(true)" @onfocus="() => setConfirmBtn(false)" />
|
|
}
|
|
else
|
|
{
|
|
<label class="btn btn-dark text-light btn-lg w-100" Visible="false"> </label>
|
|
}
|
|
</div>
|
|
</div>
|
|
<div class="col-3 p-1">
|
|
<div><span class="text-success">Pz Buoni</span> <span>@lblPz2RecBuoni</span></div>
|
|
<div><span class="text-danger">Pz scarto</span> <span>@lblPz2RecScarto</span></div>
|
|
</div>
|
|
<div class="col-3 p-1">
|
|
@if (showConfirm)
|
|
{
|
|
<button class="btn btn-success text-light btn-lg w-100 h-100" @onclick="SalvaConfPz"><i class="fa-regular fa-floppy-disk"></i></button>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
}
|
|
<div class="row textCondens mt-2">
|
|
<div class="col-4 py-1 text-start text-uppercase">
|
|
<b>Dati Globali ODL</b>
|
|
</div>
|
|
<div class="col-8 d-flex justify-content-end pe-3">
|
|
<div>
|
|
<a class="btn btn-info btn-sm w-100 py-2 px-4" style="min-width: 72px; min-height: 39px" href="scrap"><i class="fa fa-bug"></i></a>
|
|
</div>
|
|
<div class="ms-2">
|
|
<a class="btn btn-primary btn-sm w-100 py-2 px-4" style="min-width: 72px; min-height: 39px" href="controls"><i class="fa fa-wrench"></i></a>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex justify-content-between flex-wrap mt-2">
|
|
|
|
<div class="col-6 col-sm-3 p-1">
|
|
<div class="text-center h-100 w-100 p-2" style=" background-color: #fff3cd; border-radius: .5rem;">
|
|
<div class="text-truncate">
|
|
<span class="text-dark small">[A] NUOVI Pz.Prod</span>
|
|
</div>
|
|
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
|
@if (isProcessing)
|
|
{
|
|
<i class="fa-solid fa-spinner span"></i>
|
|
}
|
|
else
|
|
{
|
|
<span class="fw-bold" style="font-size: 3vh">@($"{numPzProdotti2Rec:N0}")</span>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-6 col-sm-3 p-1">
|
|
<div class="text-center h-100 w-100 p-2" style=" background-color: #cff4fc; border-radius: .5rem;">
|
|
<div class="text-truncate">
|
|
<span class="text-dark small">Pz Prodotti TOT [A+B+C]</span>
|
|
</div>
|
|
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
|
@if (isProcessing)
|
|
{
|
|
<i class="fa-solid fa-spinner span"></i>
|
|
}
|
|
else
|
|
{
|
|
<span class="fw-bold" style="font-size: 3vh">@numPzProdotti.ToString("N0")</span>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-6 col-sm-3 p-1">
|
|
<div class="text-center h-100 w-100 p-2" style=" background-color: #f8d7da; border-radius: .5rem;">
|
|
<div class="text-truncate">
|
|
<span class="text-dark small">[B] Scarti VERS.</span>
|
|
</div>
|
|
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
|
@if (isProcessing)
|
|
{
|
|
<i class="fa-solid fa-spinner span"></i>
|
|
}
|
|
else
|
|
{
|
|
<span class="fw-bold" style="font-size: 3vh">@numPzScaConf.ToString("N0")</span>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-6 col-sm-3 p-1">
|
|
<div class="text-center h-100 w-100 p-2" style=" background-color: #d1e7dd; border-radius: .5rem;">
|
|
<div class="text-truncate">
|
|
<span class="text-dark small">[C] Pz Buoni VERS.</span>
|
|
</div>
|
|
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
|
@if (isProcessing)
|
|
{
|
|
<i class="fa-solid fa-spinner span"></i>
|
|
}
|
|
else
|
|
{
|
|
<span class="fw-bold" style="font-size: 3vh">@numPzBuoniConf.ToString("N0")</span>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@if (!string.IsNullOrEmpty(lblOut))
|
|
{
|
|
<div class="d-flex justify-content-around my-2">
|
|
<div class="alert alert-info py-1 w-100 text-center">
|
|
@lblOut
|
|
</div>
|
|
</div>
|
|
}
|
|
<ShowProcessing IsProcessing="@isProcessing"></ShowProcessing> |