From d7c198acfa5f33197bd5a031128c97b4cda5a574 Mon Sep 17 00:00:00 2001 From: ivanszabo Date: Sun, 30 Mar 2025 22:48:57 +0200 Subject: [PATCH] =?UTF-8?q?UI=20fejleszt=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CheckPoints/CheckPointEditPage.cshtml | 45 ++++++++++++++++++- .../Pages/Shared/_Layout.cshtml | 3 ++ .../Services/BaseStockService.cs | 3 +- 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/src/WorkFlowCheck.Web/Pages/BaseStock/CheckPoints/CheckPointEditPage.cshtml b/src/WorkFlowCheck.Web/Pages/BaseStock/CheckPoints/CheckPointEditPage.cshtml index f82fae9..3ef6995 100644 --- a/src/WorkFlowCheck.Web/Pages/BaseStock/CheckPoints/CheckPointEditPage.cshtml +++ b/src/WorkFlowCheck.Web/Pages/BaseStock/CheckPoints/CheckPointEditPage.cshtml @@ -61,7 +61,27 @@ + @section Scripts { + @await RenderSectionAsync("Scripts", required: false) diff --git a/src/WorkFlowCheck.Web/Services/BaseStockService.cs b/src/WorkFlowCheck.Web/Services/BaseStockService.cs index 8761002..d8a8cd6 100644 --- a/src/WorkFlowCheck.Web/Services/BaseStockService.cs +++ b/src/WorkFlowCheck.Web/Services/BaseStockService.cs @@ -89,6 +89,7 @@ namespace WorkFlowCheck.Web.Services { if (response.IsSuccess) { + response.Data.CheckListTemplateRowDTO = response.Data.CheckListTemplateRowDTO?.OrderBy(o => o.RowIndex).ToList(); return response.Data; } } @@ -142,7 +143,7 @@ namespace WorkFlowCheck.Web.Services return retVal; } - + public async Task> UpdateCheckPoint(CheckPointDTO checkPointDTO) { try