COmpletata gestione spezzoni x editing e display dettaglio
This commit is contained in:
@@ -1,20 +1,27 @@
|
||||
@if (CurrRecord != null)
|
||||
{
|
||||
<div class="row g-1">
|
||||
<div class="col-md-8">
|
||||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<div class="form-floating">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" @bind="@CurrRecord.IsRemn">
|
||||
@* <label class="form-check-label">Spezzone</label> *@
|
||||
<div class="form-floating" title="Spezzone">
|
||||
<div class="form-control">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" @bind="@CurrRecord.IsRemn">
|
||||
</div>
|
||||
</div>
|
||||
<label class="small">Spezzone</label>
|
||||
<label class="small">Spezz.</label>
|
||||
@* <div class="form-control">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" @bind="@(IsAcquisto)">
|
||||
</div>
|
||||
<div class="form-floating">
|
||||
</div>
|
||||
<label class="small">Acqusito</label> *@
|
||||
</div>
|
||||
<div class="form-floating" title="Giacenza">
|
||||
<input type="text" class="form-control" @bind="@CurrRecord.QtyAvail">
|
||||
<label class="small">Giacenza</label>
|
||||
<label class="small">Giac.</label>
|
||||
</div>
|
||||
<div class="form-floating">
|
||||
<div class="form-floating w-25">
|
||||
<input type="text" class="form-control" @bind="@CurrRecord.Note">
|
||||
<label class="small">Note</label>
|
||||
</div>
|
||||
@@ -24,7 +31,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-3">
|
||||
<div class="d-flex">
|
||||
<div class="input-group">
|
||||
@if (CurrRecord.MaterialNav.IsWall)
|
||||
|
||||
@@ -51,6 +51,12 @@ namespace MagMan.UI.Components
|
||||
}
|
||||
}
|
||||
|
||||
protected bool IsAcquisto
|
||||
{
|
||||
get => !(CurrRecord!.IsRemn);
|
||||
set => CurrRecord!.IsRemn = !value;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Private Properties
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
</th>
|
||||
<th class="text-end">Qty <Sorter ParamName="Qty" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
|
||||
<th>ID <Sorter ParamName="RawItemId" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
|
||||
<th>A/S <Sorter ParamName="IsRemn" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
|
||||
<th>Note <Sorter ParamName="Note" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
|
||||
<th>Posizione <Sorter ParamName="Location" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
|
||||
@if (MaterialSel.IsWall)
|
||||
@@ -109,6 +110,16 @@
|
||||
}
|
||||
@item.RawItemId
|
||||
</td>
|
||||
<td>
|
||||
@if(item.IsRemn)
|
||||
{
|
||||
<i class="fas fa-cut"></i>
|
||||
}
|
||||
else
|
||||
{
|
||||
<i class="fas fa-tree"></i>
|
||||
}
|
||||
</td>
|
||||
<td>
|
||||
@item.Note
|
||||
</td>
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace MagMan.UI.Components
|
||||
}
|
||||
protected string remnMessage
|
||||
{
|
||||
get => showRemn ? "Mostra Spezzoni" : "Solo Acquisto";
|
||||
get => "Mostra Spezzoni";// showRemn ? "Mostra Spezzoni" : "Solo Acquisto";
|
||||
}
|
||||
|
||||
[Inject]
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Version>1.0.2408.0119</Version>
|
||||
<Version>1.0.2408.0208</Version>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>MagMan - Wood Warehouse Management System</i>
|
||||
<h4>Versione: 1.0.2408.0119</h4>
|
||||
<h4>Versione: 1.0.2408.0208</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.0.2408.0119
|
||||
1.0.2408.0208
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>1.0.2408.0119</version>
|
||||
<version>1.0.2408.0208</version>
|
||||
<url>http://nexus.steamware.net/repository/SWS/MagMan/stable/0/MagMan.UI.zip</url>
|
||||
<changelog>http://nexus.steamware.net/repository/SWS/MagMan/stable/0/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user