更新前端
This commit is contained in:
21
erp_web/js/print/print.html
Normal file
21
erp_web/js/print/print.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>数据打印</title>
|
||||
<style type="text/css">
|
||||
body{background:white;margin:0px;padding:0px;font-size:13px;text-align:left;}
|
||||
.div-title{font-size: 16pt;}
|
||||
.div-time{font-size: 11pt;}
|
||||
.pb{font-size:13px;border-collapse:collapse;}
|
||||
.pb th{font-weight:bold;text-align:center;border:1px solid #333333;padding:2px;}
|
||||
.pb td{border:1px solid #333333;padding:2px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
var tableString = localStorage.getItem("tableString");
|
||||
document.write(tableString);
|
||||
window.print();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user