Änderung dass nach Kartennummern sortiert wird und die Dropdown-Detail-Panels sich dementsprechend aufbauen.

This commit is contained in:
ja
2022-01-28 14:26:29 +01:00
parent 7b6c2a2ce1
commit da01fd2e8b
34 changed files with 4962 additions and 4879 deletions

View File

@@ -150,12 +150,13 @@
}
}
var param1 = getParamValue('Kennzeichen');
var param2 = getParamValue('CardNo');
$('txt_ClientNr').val(param1);
detailtabelle(param1)
alert(param1)
detailtabelle(param1,param2)
//alert(param1)
function detailtabelle(id) {
function detailtabelle(id, Cardnumber) {
// alert("Testdata:" + id)
let data = {};
@@ -177,7 +178,7 @@
//let strHTML4 = '<tr><td>878465464634</td><td>DIESEL</td><td>12/05/2026</td><td>151515313521351</td></tr>'
//alert('Horray! 200 status code!' + result[i]);
// alert(result.rows.length)
if (id == result[i]["7"]) {
if (Cardnumber == result[i]["7"]) {
document.getElementById('<%=txt_Bestdat.ClientID%>').setAttribute('value', result[i]["0"]);
document.getElementById('<%=txt_Lieferdat.ClientID%>').setAttribute('value', result[i]["1"]);
document.getElementById('<%=txt_VIACard.ClientID%>').setAttribute('value', result[i]["2"]);