diff --git a/MP-TAB-SERV/Components/ScrapKitMan.razor b/MP-TAB-SERV/Components/ScrapKitMan.razor index 638ca44f..ccc9be39 100644 --- a/MP-TAB-SERV/Components/ScrapKitMan.razor +++ b/MP-TAB-SERV/Components/ScrapKitMan.razor @@ -41,12 +41,32 @@
+
+ @if (item.Qta <= 0) + { + + } + else + { + + } +
@item.Qta
×pz
+
+ @if (item.Qta >= item.QtaMax) + { + + } + else + { + + } +
diff --git a/MP-TAB-SERV/Components/ScrapKitMan.razor.cs b/MP-TAB-SERV/Components/ScrapKitMan.razor.cs index a5dceec4..6d554b82 100644 --- a/MP-TAB-SERV/Components/ScrapKitMan.razor.cs +++ b/MP-TAB-SERV/Components/ScrapKitMan.razor.cs @@ -64,6 +64,17 @@ namespace MP_TAB_SERV.Components ListPaged = ListComplete; } } + /// + /// Modifica qty del record + /// + /// + /// + /// + protected async Task modQty(RegistroScartiKitModel currItem, int delta) + { + currItem.Qta += delta; + await TabDServ.RegScartiKitUpdateQty(currItem); + } #endregion Protected Methods diff --git a/MP-TAB-SERV/Components/ScrapMan.razor b/MP-TAB-SERV/Components/ScrapMan.razor index 15404ad7..ba4c722d 100644 --- a/MP-TAB-SERV/Components/ScrapMan.razor +++ b/MP-TAB-SERV/Components/ScrapMan.razor @@ -77,21 +77,23 @@ @item.Qta
- + @if (item.Tipo == "KIT") {
× - + } + else + { + + + }
} else diff --git a/MP-TAB-SERV/Components/ScrapMan.razor.cs b/MP-TAB-SERV/Components/ScrapMan.razor.cs index 9040d15d..6128ee3c 100644 --- a/MP-TAB-SERV/Components/ScrapMan.razor.cs +++ b/MP-TAB-SERV/Components/ScrapMan.razor.cs @@ -144,6 +144,7 @@ namespace MP_TAB_SERV.Components selItem = null; } } + await ReloadData(); isProcessing = false; } diff --git a/MP-TAB-SERV/MP-TAB-SERV.csproj b/MP-TAB-SERV/MP-TAB-SERV.csproj index 9e717cc6..752a02b0 100644 --- a/MP-TAB-SERV/MP-TAB-SERV.csproj +++ b/MP-TAB-SERV/MP-TAB-SERV.csproj @@ -3,7 +3,7 @@ net6.0 enable - 6.16.2312.1412 + 6.16.2312.1413 enable MP_TAB_SERV diff --git a/MP-TAB-SERV/Resources/ChangeLog.html b/MP-TAB-SERV/Resources/ChangeLog.html index fe09f92f..a1d18744 100644 --- a/MP-TAB-SERV/Resources/ChangeLog.html +++ b/MP-TAB-SERV/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2312.1412

+

Versione: 6.16.2312.1413


Note di rilascio: