From 8971416b8143c8488da980918438baa8788b733f Mon Sep 17 00:00:00 2001 From: ja Date: Tue, 9 Nov 2021 15:58:21 +0100 Subject: [PATCH] =?UTF-8?q?=C3=84nderungen=20zur=20Implementierung=20einer?= =?UTF-8?q?=20automatsicnen=20Autovervollst=C3=A4ndigungs=20"KI"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App_Code/WebService.vb | 2 +- Customers/CustomsAviso.aspx | 11 +++++------ Customers/CustomsAviso.aspx.vb | 2 +- Customers/Invoices.aspx | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/App_Code/WebService.vb b/App_Code/WebService.vb index ea66b4d..adb5e3e 100644 --- a/App_Code/WebService.vb +++ b/App_Code/WebService.vb @@ -12,7 +12,7 @@ Public Class WebService Inherits System.Web.Services.WebService - Public Function Show(ByVal sLookUP As String) As List(Of String) + Public Function ShowLKWs(ByVal sLookUP As String) As List(Of String) Dim lstCountries As New List(Of String)() Dim Connectionstring As String = String.Empty diff --git a/Customers/CustomsAviso.aspx b/Customers/CustomsAviso.aspx index 8de2010..788a44b 100644 --- a/Customers/CustomsAviso.aspx +++ b/Customers/CustomsAviso.aspx @@ -151,12 +151,12 @@
- --> + + diff --git a/Customers/CustomsAviso.aspx.vb b/Customers/CustomsAviso.aspx.vb index b12e96c..b4c20d8 100644 --- a/Customers/CustomsAviso.aspx.vb +++ b/Customers/CustomsAviso.aspx.vb @@ -495,7 +495,7 @@ Partial Class CustomsAviso regval_txt_KdNrAuftrag_M.ForeColor = Drawing.Color.Red regval_txt_KdNrAuftrag_M.ErrorMessage = "Die Kundennummer ist nicht richtig formatiert." End If - ElseIf String.IsNullOrEmpty(txt_LKWNr_M.Text) = False Then + ElseIf txt_LKWNr_M.Text IsNot "" Then txt_LKWNr_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled regexval_txt_LKWNr_M.Enabled = True regexval_txt_LKWNr_M.Validate() diff --git a/Customers/Invoices.aspx b/Customers/Invoices.aspx index 0ced49c..a84f244 100644 --- a/Customers/Invoices.aspx +++ b/Customers/Invoices.aspx @@ -222,7 +222,7 @@ $("#txt_LKW").autocomplete({ source: function(request, response) { $.ajax({ - url: "WebService.asmx/Show", + url: "WebService.asmx/ShowLKWs", data: "{ 'sLookUP': '" + request.term + "' }", dataType: "json", type: "POST",