Änderungen parameterübergabe GUI

This commit is contained in:
ja
2022-02-15 15:13:40 +01:00
parent 6c82d9c1f6
commit 104c00be71
5 changed files with 17 additions and 16 deletions

View File

@@ -154,7 +154,7 @@
detailtabelle(param1, param2, param3, param4, param5, param6,param7);
//alert(param1)
function detailtabelle(id, CustomerID, Cardnummer, CustomerNo, SDLNr, History,Pin) {
function detailtabelle(id, CustomerID, Cardnummer, CustomerNo, SDLNr, History,GueltigBis,Pin) {
// alert("Testdata:" + id)
let data = {};
@@ -164,6 +164,7 @@
data['CustomerNo'] = CustomerNo;
data['SDLNr'] = SDLNr;
data['History'] = History;
data['GueltigBis'] = GueltigBis;
data['Pin'] = Pin;
$.ajax({
@@ -189,7 +190,7 @@
document.getElementById('<%=txt_Vertrabschldat.ClientID%>').setAttribute('value', result["3"]);
document.getElementById('<%=txt_Status.ClientID%>').setAttribute('checked', result["4"]);
document.getElementById('<%=txt_Schadstoffklasse.ClientID%>').setAttribute('checked', result["5"]);
document.getElementById('<%=txt_GueltigBis.ClientID%>').setAttribute('checked', result["6"]);
document.getElementById('<%=txt_GueltigBis.ClientID%>').setAttribute('value', result["6"]);
document.getElementById('<%=cb_retourniert%>').setAttribute('checked', result["7"]);
}