Aggiunti nuovi campi al form
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
<MudMenuItem Disabled="!NetworkService.IsNetworkAvailable()" OnClick="@NewActivity">
|
<MudMenuItem Disabled="!NetworkService.IsNetworkAvailable()" OnClick="@NewActivity">
|
||||||
Nuova rilevazione
|
Nuova ispezione
|
||||||
</MudMenuItem>
|
</MudMenuItem>
|
||||||
}
|
}
|
||||||
</ChildContent>
|
</ChildContent>
|
||||||
|
|||||||
@@ -119,6 +119,27 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
<div class="input-card">
|
<div class="input-card">
|
||||||
|
<div class="form-container">
|
||||||
|
<span class="disable-full-width">Scadenza</span>
|
||||||
|
|
||||||
|
<MudSelectExtended FullWidth="true" ReadOnly="@IsView" T="int" Variant="Variant.Text"
|
||||||
|
@bind-Value="@SchedaDto.Scadenza" @bind-Value:after="OnAfterChangeValue"
|
||||||
|
Class="customIcon-select" AdornmentIcon="@Icons.Material.Filled.Code">
|
||||||
|
<MudSelectItemExtended Class="custom-item-select" Text="24H" Value="24" />
|
||||||
|
<MudSelectItemExtended Class="custom-item-select" Text="1 Settimana" Value="168" />
|
||||||
|
<MudSelectItemExtended Class="custom-item-select" Text="1 Mese" Value="730" />
|
||||||
|
<MudSelectItemExtended Class="custom-item-select" Text="2 Mesi" Value="1460" />
|
||||||
|
</MudSelectExtended>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="divider"></div>
|
||||||
|
|
||||||
|
<MudTextField ReadOnly="IsView" T="string?" Placeholder="Responsabile" Variant="Variant.Text"
|
||||||
|
@bind-Value="SchedaDto.Responsabile" @bind-Value:after="OnAfterChangeValue"
|
||||||
|
DebounceInterval="500" OnDebounceIntervalElapsed="OnAfterChangeValue"/>
|
||||||
|
|
||||||
|
<div class="divider"></div>
|
||||||
|
|
||||||
<MudTextField ReadOnly="IsView" T="string?" Placeholder="Note" Variant="Variant.Text" Lines="3"
|
<MudTextField ReadOnly="IsView" T="string?" Placeholder="Note" Variant="Variant.Text" Lines="3"
|
||||||
@bind-Value="SchedaDto.Note" @bind-Value:after="OnAfterChangeValue"
|
@bind-Value="SchedaDto.Note" @bind-Value:after="OnAfterChangeValue"
|
||||||
DebounceInterval="500" OnDebounceIntervalElapsed="OnAfterChangeValue"/>
|
DebounceInterval="500" OnDebounceIntervalElapsed="OnAfterChangeValue"/>
|
||||||
|
|||||||
@@ -5,4 +5,6 @@ public class SchedaDto
|
|||||||
public JtbFasiDto? Reparto { get; set; }
|
public JtbFasiDto? Reparto { get; set; }
|
||||||
public string? ActivityTypeId { get; set; }
|
public string? ActivityTypeId { get; set; }
|
||||||
public string? Note { get; set; }
|
public string? Note { get; set; }
|
||||||
|
public string? Responsabile { get; set; }
|
||||||
|
public int Scadenza { get; set; } = 24;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user