54 lines
2.7 KiB
Plaintext
54 lines
2.7 KiB
Plaintext
@page "/WorkLoadBalance"
|
|
@inherits BaseComp
|
|
|
|
<div class="p-2 shadow">
|
|
<div class="d-flex align-items-center justify-content-end">
|
|
<div class="row">
|
|
<div class="col-4">
|
|
<div class="input-group" title="@Traduci("ricerca")">
|
|
<span class="input-group-text">@Traduci("ambiente")</span>
|
|
<select class="form-select" @bind="@FiltEnvir">
|
|
<option value="">-- @Traduci("tutti") --</option>
|
|
@foreach (var item in Enum.GetValues(typeof(EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS))
|
|
.Cast<EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS>()
|
|
.Where(e => Convert.ToInt32(e) != 0))
|
|
{
|
|
<option value="@item">@item</option>
|
|
}
|
|
</select>
|
|
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
|
</div>
|
|
</div>
|
|
<div class="col-8">
|
|
<PeriodoSel E_PeriodoSel="SetPeriodo" CurrPeriodo="PeriodoSel" PeriodoLabel="@Traduci("periodo")" DictSelect="CustomSelDict"></PeriodoSel>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="my-2 py-1">
|
|
<div class="row">
|
|
<div class="col-6 col-lg-4">
|
|
<WLB_Estimated AllRecords="@ListEstimRecords" EC_DoBalance="DoBalance" EC_DoBalanceAll="DoBalanceAll"></WLB_Estimated>
|
|
</div>
|
|
<div class="col">
|
|
@if (ListBalancedRecords == null || ListBalancedRecords.Count == 0)
|
|
{
|
|
<div class="alert alert-warning fs-4">@Traduci("noRecord")</div>
|
|
}
|
|
else
|
|
{
|
|
<BalanceProgGroup AllRecords="@ListBalancedRecords" EC_RemBalance="RemoveBalance" EC_ReqCreateBatch="DoCreateBatch" CurrEnvir="SelEnvir"></BalanceProgGroup>
|
|
}
|
|
@if (ListOdl != null && ListOdl.Count > 0)
|
|
{
|
|
<OdlMan AllRecords="ListOdl" EC_ReqCreateProd="DoCreateProd" EC_ReqCalcProd="DoPrepareRawMatSel"></OdlMan>
|
|
@if (currOdlAssign != null)
|
|
{
|
|
<RawPartSelector ItemAvailDict="currDictItem" BomListAll="currBomList" DefaultValSet="currDefaultSet" EC_ReqCalcProd="DoCalculateProd" EC_ReqClose="DoCloseRawPart"></RawPartSelector>
|
|
}
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<BootstrapModal @ref=Modal Title=@mTitle Message=@mMessage Mode="mMode" UserOptions=@modalOpt></BootstrapModal> |