Update display info su rilavorati in TAB
This commit is contained in:
@@ -52,9 +52,18 @@
|
||||
<div class="px-2">
|
||||
Pezzi NC: <b>@numPz2Conf</b>
|
||||
</div>
|
||||
<div class="px-2">
|
||||
Scarti NC: <b>@numSca2Conf</b>
|
||||
</div>
|
||||
@if (numSca2Conf > 0)
|
||||
{
|
||||
<div class="px-2">
|
||||
Scarti NC: <b>@numSca2Conf</b>
|
||||
</div>
|
||||
}
|
||||
@if (numRil2Conf > 0)
|
||||
{
|
||||
<div class="px-2">
|
||||
Cicli Rilav NC: <b>@numRil2Conf</b>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
|
||||
@@ -1358,6 +1358,18 @@ namespace MP_TAB3.Components
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
private int numRil2Conf
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = -1;
|
||||
if (datiProdAct != null)
|
||||
{
|
||||
answ = datiProdAct.Pz2RecRilav;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
private bool setupActive { get; set; } = false;
|
||||
|
||||
|
||||
@@ -122,10 +122,10 @@
|
||||
<div class="col-12 py-0 text-start text-uppercase lh-1 fw-bold">
|
||||
Dati Globali ODL
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 p-1">
|
||||
<div class="col-6 col-sm p-1">
|
||||
<div class="text-center h-100 px-2 shadows" style=" background-color: #fff3cd; border-radius: .5rem;">
|
||||
<div class="text-truncate lh-sm pt-1">
|
||||
<span class="text-dark small">[A] NUOVI Pz.Prod</span>
|
||||
<span class="text-dark small"><b>[A]</b> NUOVI Pz.Prod</span>
|
||||
</div>
|
||||
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
||||
@if (isProcessing)
|
||||
@@ -139,10 +139,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 p-1">
|
||||
<div class="col-6 col-sm p-1">
|
||||
<div class="text-center h-100 px-2" style=" background-color: #cff4fc; border-radius: .5rem;">
|
||||
<div class="text-truncate lh-sm pt-1">
|
||||
<span class="text-dark small">Pz Prodotti TOT [A+B+C]</span>
|
||||
<span class="text-dark small">Cicli Prod <b>[A+B+C+D]</b></span>
|
||||
</div>
|
||||
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
||||
@if (isProcessing)
|
||||
@@ -156,10 +156,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 p-1">
|
||||
<div class="text-center h-100 px-2" style=" background-color: #f8d7da; border-radius: .5rem;">
|
||||
<div class="col-6 col-sm p-1">
|
||||
<div class="text-center h-100 px-2" style=" background-color: #f8abcd; border-radius: .5rem;">
|
||||
<div class="text-truncate lh-sm pt-1">
|
||||
<span class="text-dark small">[B] Scarti VERS.</span>
|
||||
<span class="text-dark small"><b>[B]</b> Scarti Vers.</span>
|
||||
</div>
|
||||
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
||||
@if (isProcessing)
|
||||
@@ -173,10 +173,27 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 p-1">
|
||||
<div class="col-6 col-sm p-1">
|
||||
<div class="text-center h-100 px-2" style=" background-color: #f8c7cd; border-radius: .5rem;">
|
||||
<div class="text-truncate lh-sm pt-1">
|
||||
<span class="text-dark small"><b>[C]</b> Rilav 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 fs-2">@numPzRilavConf</span>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-sm p-1">
|
||||
<div class="text-center h-100 px-2" style=" background-color: #d1e7dd; border-radius: .5rem;">
|
||||
<div class="text-truncate lh-sm pt-1">
|
||||
<span class="text-dark small">[C] Pz Buoni VERS.</span>
|
||||
<span class="text-dark small"><b>[D]</b> Buoni Vers.</span>
|
||||
</div>
|
||||
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
||||
@if (isProcessing)
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace MP_TAB3.Components
|
||||
{
|
||||
get => confProdActive ? "Nascondi conferma" : "Mostra conferma";
|
||||
}
|
||||
|
||||
protected string ConfTitleIcon
|
||||
{
|
||||
get => confProdActive ? "fa-chevron-up" : "fa-chevron-down";
|
||||
@@ -105,6 +106,11 @@ namespace MP_TAB3.Components
|
||||
}
|
||||
}
|
||||
|
||||
protected int lblCicliRilavorati
|
||||
{
|
||||
get => numPzRilav2Rec;
|
||||
}
|
||||
|
||||
protected int lblPz2RecBuoni
|
||||
{
|
||||
get => numPzConfermati - numPzLasciati;
|
||||
@@ -114,10 +120,6 @@ namespace MP_TAB3.Components
|
||||
{
|
||||
get => numPzScarto2Rec;
|
||||
}
|
||||
protected int lblCicliRilavorati
|
||||
{
|
||||
get => 0;
|
||||
}
|
||||
|
||||
[Inject]
|
||||
protected MessageService MsgServ { get; set; } = null!;
|
||||
@@ -153,6 +155,8 @@ namespace MP_TAB3.Components
|
||||
|
||||
protected int numPzProdotti2Rec { get; set; } = 0;
|
||||
|
||||
protected int numPzRilavConf{ get; set; } = 0;
|
||||
protected int numPzRilav2Rec { get; set; } = 0;
|
||||
protected int numPzScaConf { get; set; } = 0;
|
||||
|
||||
protected int numPzScarto2Rec { get; set; } = 0;
|
||||
@@ -216,9 +220,11 @@ namespace MP_TAB3.Components
|
||||
// aggiorno visualizzazione...
|
||||
numPzProdotti = datiProdAct.PzTotODL;
|
||||
numPz2Rec = datiProdAct.Pz2RecTot;
|
||||
numPzScaConf = datiProdAct.PzConfScarto;
|
||||
numPzBuoniConf = datiProdAct.PzConfBuoni;
|
||||
numPzRilavConf = datiProdAct.PzConfRilav;
|
||||
numPzScaConf = datiProdAct.PzConfScarto;
|
||||
numPzProdotti2Rec = datiProdAct.Pz2RecTot;
|
||||
numPzRilav2Rec = datiProdAct.Pz2RecRilav;
|
||||
numPzScarto2Rec = datiProdAct.Pz2RecScarto;
|
||||
dtInizio = RecMSE?.DataInizioOdl ?? DateTime.Today.AddMonths(-2);
|
||||
dtFine = dtReqUpdate;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>6.16.2502.1909</Version>
|
||||
<Version>6.16.2502.2411</Version>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP_TAB3</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2502.1909</h4>
|
||||
<h4>Versione: 6.16.2502.2411</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2502.1909
|
||||
6.16.2502.2411
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2502.1909</version>
|
||||
<version>6.16.2502.2411</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
@@ -22,5 +22,7 @@ namespace MP.Data.DatabaseModels
|
||||
public int Pz2RecScarto { get; set; } = 0;
|
||||
public DateTime DataFrom { get; set; } = DateTime.Now;
|
||||
public DateTime DataTo { get; set; } = DateTime.Now;
|
||||
public int PzConfRilav { get; set; } = 0;
|
||||
public int Pz2RecRilav { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user