fix comportamento dx sx stato mag
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
@if (listItemByLoc != null)
|
||||
@if (listItemByLoc != null)
|
||||
{
|
||||
|
||||
<table class="table table-striped table-bordered small">
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
@if (listItemByLoc != null)
|
||||
{
|
||||
@if (listItemByLoc != null)
|
||||
{
|
||||
|
||||
<table class="table table-striped table-bordered small">
|
||||
<thead>
|
||||
<tr class="">
|
||||
<th></th>
|
||||
<th>Descr. Articolo</th>
|
||||
<th>Giacenza</th>
|
||||
<th>Valore Unit.</th>
|
||||
<th></th>
|
||||
<table class="table table-striped table-bordered small">
|
||||
<thead>
|
||||
<tr class="">
|
||||
<th></th>
|
||||
<th>Descr. Articolo</th>
|
||||
<th>Giacenza</th>
|
||||
<th>Valore Unit.</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in listItemByLoc)
|
||||
{
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
@item.ItemNav.Descr
|
||||
</td>
|
||||
<td>
|
||||
@item.QtyConf
|
||||
</td>
|
||||
<td>
|
||||
@($"{item.ItemNav.CurrValue:C2}")
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in listItemByLoc)
|
||||
{
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
@item.ItemNav.Descr
|
||||
</td>
|
||||
<td>
|
||||
@item.QtyConf
|
||||
</td>
|
||||
<td>
|
||||
@($"{item.ItemNav.CurrValue:C2}")
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
@@ -45,7 +45,7 @@
|
||||
@($"{item.TotVal:C2}")
|
||||
</td>
|
||||
<td style="width: 0;" class="small">
|
||||
<button class="btn btn-sm btn-info text-light" @onclick="()=>setLocationSX(item.LocationId)"><i class="fa-solid fa-arrow-turn-down small"></i></button>
|
||||
<button class="btn btn-sm btn-info text-light" @onclick="()=>setLocationDX(item.LocationId)"><i class="fa-solid fa-arrow-turn-down small"></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
|
||||
@page "/StatoMagazzino"
|
||||
|
||||
<ValStockGiac LocId_SX="catchCurrLocId_SX" LocId_DX="catchCurrLocId_DX"></ValStockGiac>
|
||||
@if ((string.IsNullOrEmpty(currLocId_DX) && string.IsNullOrEmpty(currLocId_SX)) || (!string.IsNullOrEmpty(currLocId_DX) && string.IsNullOrEmpty(currLocId_SX)) || (string.IsNullOrEmpty(currLocId_DX) && !string.IsNullOrEmpty(currLocId_SX)))
|
||||
{
|
||||
<ValStockGiac LocId_SX="catchCurrLocId_SX" LocId_DX="catchCurrLocId_DX"></ValStockGiac>
|
||||
}
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<LocationSX locSX_ID="@currLocId_SX" locDX_ID="@currLocId_DX"></LocationSX>
|
||||
|
||||
@@ -15,6 +15,8 @@ namespace StockMan.Data.DbModels
|
||||
public string LocationId { get; set; } = null!;
|
||||
public int QtyConf { get; set; }
|
||||
public string Note { get; set; } = null!;
|
||||
public int PosR { get; set; } = 0;
|
||||
public int PosC { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// data-ora ultimo aggiornamento
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user