update 20260322
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
"idField": "ID",
|
||||
"displayField": "ID",
|
||||
"jsonField": "JsonData",
|
||||
"Buttons": "Öffnen",
|
||||
"AnzeigeDokument": "",
|
||||
"Buttons": "Öffnen;PaketAnzeige",
|
||||
"AnzeigeDokument": "SELECT paket as JsonData from Ondoc_Versandstrasse_Paket where id= @id ",
|
||||
"FilterColumns": ""
|
||||
},
|
||||
{
|
||||
|
||||
@@ -281,7 +281,7 @@ padding-bottom:20px;
|
||||
success: function (response) {
|
||||
var pdfWindow = window.open("");
|
||||
pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + response.file + "'></iframe>");
|
||||
//alert("Server Response: " + response.file);
|
||||
|
||||
},
|
||||
|
||||
error: function (err) {
|
||||
@@ -304,6 +304,22 @@ padding-bottom:20px;
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
function showPacDoc(tableKey, id) {
|
||||
PageMethods.GetPacDoc(
|
||||
tableKey,
|
||||
id,
|
||||
function (result) {
|
||||
|
||||
var pdfWindow = window.open("");
|
||||
pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + result + "'></iframe>");
|
||||
},
|
||||
function (err) {
|
||||
|
||||
alert(err.get_message())
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
function loadJson(tableKey, id) {
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user