Änderung dass nach Kartennummern sortiert wird und die Dropdown-Detail-Panels sich dementsprechend aufbauen.
This commit is contained in:
@@ -145,16 +145,18 @@
|
||||
}
|
||||
}
|
||||
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,cardno) {
|
||||
// alert("Testdata:" + id)
|
||||
|
||||
let data = {};
|
||||
data['Kennzeichen'] = id;
|
||||
data['CardNo'] = cardno;
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
@@ -172,7 +174,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 (cardno == result[i]["7"]) {
|
||||
document.getElementById('<%=txt_BestNr.ClientID%>').setAttribute('value', result[i]["0"]);
|
||||
document.getElementById('<%=txt_Umstellungsdatum.ClientID%>').setAttribute('value', result[i]["1"]);
|
||||
document.getElementById('<%=txt_Kategorie.ClientID%>').setAttribute('value', result[i]["2"]);
|
||||
|
||||
Reference in New Issue
Block a user