//打开打印页面方法 function ow(owurl) { var tmp = window.open("about:blank", "", "fullscreen=1"); tmp.moveTo(0, 0); tmp.resizeTo(screen.width + 20, screen.height); tmp.focus(); tmp.location = owurl; }
//选择打印
function printBtn() { var row = $("#dg").datagrid('getSelections'); var ids = []; for (var i = 0; i < row.length; i++) { ids.push(row[i].id); } var time = $("#createtime").val().trim(); var