ausführlich getestet wird im neuen jahr

This commit is contained in:
ja
2021-12-31 11:57:00 +01:00
parent 1b69ec714e
commit 939c4b6827

View File

@@ -144,14 +144,9 @@
<!-- Popper.JS -->
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>-->
<!-- Production version -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script>
</script>
<script>
function TableRow_Click(Nat, Kennzeichen,tempstrarr) {
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script>
function TableRow_Click(Nat, Kennzeichen,tempstrarr) {
let Speditionslabel = document.getElementById("<%=lbl_sped_Placeholder.ClientID%>")
let natplaceholder = document.getElementById("<%=lbl_Placeholder.ClientID%>")
let table = document.getElementById("<%=tbl_mainpage.ClientID%>")
@@ -206,8 +201,7 @@
}
function buildtable_M(n, SDL,Bez, Dtguelt, KartNr) {
let table_M = document.getElementById("<%=tbl_mainpage_M.ClientID%>");
let table_M = document.getElementById("<%=tbl_mainpage_M.ClientID%>");
addheader_M();
for (let intz = 0; intz < n; intz++) {
addNewRow_M(SDL, Bez, Dtguelt, KartNr);
@@ -245,22 +239,22 @@
let td = tr.insertCell();
td.innerHTML = "SDL-Nr";
td.style.backgroundColor = "#043381";
td.style.forecolor = "#fff";
td.style.color = "#fff";
td.style.fontWeight = 'bold';
td = tr.insertCell();
td.innerHTML = "Bezeichnung";
td.style.backgroundColor = "#043381";
td.style.forecolor = "#fff";
td.style.color = "#fff";
td.style.fontWeight = 'bold';
td = tr.insertCell();
td.innerHTML = "Gültig Bis";
td.style.backgroundColor = "#043381";
td.style.forecolor = "#fff";
td.style.color = "#fff";
td.style.fontWeight = 'bold';
td = tr.insertCell();
td.innerHTML = "Karten-Nummer";
td.style.backgroundColor = "#043381";
td.style.forecolor = "#fff";
td.style.color = "#fff";
td.style.fontWeight = 'bold';
}
function addNewRow(SDL, Bez, gueltigbs,Kartnr) {
@@ -314,8 +308,8 @@
};
}
</script>
<script type="text/javascript">
<script type="text/javascript">
function doPostBack(id) {
let Speditionslabel = document.getElementById('<%=lbl_sped_Placeholder.ClientID%>');
let natplaceholder = document.getElementById('<%=lbl_Placeholder.ClientID%>');
@@ -329,7 +323,7 @@
Speditionslabel.textContent = id.split(',')[0];
natplaceholder.textContent = id.split(',')[1];
addheader()
debugger
//debugger
//for (let i = 0; i <= 5; i++) {
// let SDL = "453543535434334543";
@@ -342,25 +336,29 @@
Pagemethods.filltable2(id.split(',')[0])
}
function doPostBack_M(id) {
let Speditionslabel = document.getElementById("<%=lbl_sped_Placeholder_M.ClientID%>")
let natplaceholder = document.getElementById("<%=lbl_Placeholder_M.ClientID%>")
Speditionslabel.textContent = id.split(',')[0];
natplaceholder.textContent = id.split(',')[1];
let table_M = document.getElementById("<%=tbl_mainpage_M.ClientID%>")
var rowCount = table_M.rows.length;
let Speditionslabel = document.getElementById('<%=lbl_sped_Placeholder_M.ClientID%>');
let natplaceholder = document.getElementById('<%=lbl_Placeholder_M.ClientID%>');
alert(id)
let table = document.getElementById('<%=tbl_mainpage_M.ClientID%>');
var rowCount = table.rows.length;
for (let i = rowCount - 1; i > 0; i--) {
table_M.deleteRow(i);
table.deleteRow(i);
}
addheader_M()
for (let i = 0; i <= obj.length; i++) {
let SDL = obj[i].result;
let Bez = obj[i++].result;
let Datguenstig = obj[i++].result;
let KartNr = obj[i++].result;
Pagemethods.filltable2_M(id.split(',')[0])
}
Speditionslabel.textContent = id.split(',')[0];
natplaceholder.textContent = id.split(',')[1];
addheader_M();
//debugger
//for (let i = 0; i <= 5; i++) {
// let SDL = "453543535434334543";
// let Bez = "Diesel";
// let Datguenstig = "01/05/2021";
//let KartNr = "6005222022021";
//addNewRow(SDL,Bez,Datguenstig,KartNr)
// Pagemethods.filltable2(<%' =tbl_mainpage_M%> , SDL, Bez, Datguenstig, KartNr)
//}
Pagemethods.filltable2_M(id.split(',')[0])
}
</script>
</asp:Content>