first commit
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{PE.DataSource id="cone" datasource="项目基本信息_内容页_数据源" itemid="@RequestInt_generalId"
|
||||
projectnum="@Request_ProjectNum" xslt="true" /}
|
||||
<!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>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>打印项目电子标签模板</title>
|
||||
<style type="text/css">
|
||||
.tableContent, .tableContent tr, .tableContent td
|
||||
{
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
margin-top: 0px;
|
||||
text-align: center;
|
||||
}
|
||||
.tableContent
|
||||
{
|
||||
width: 800px;
|
||||
line-height:30px;
|
||||
}
|
||||
.tableTitle
|
||||
{
|
||||
width: 800px;
|
||||
}
|
||||
.tdTitle
|
||||
{
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
font-size: 30px;
|
||||
font-family: 黑体字;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table class="tableTitle">
|
||||
<tr align="center">
|
||||
<td class="tdTitle">
|
||||
{PE.Field id="cone" fieldname="ProjectName"/}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{PE.Label id="打印项目电子标签内容页" generalId="{PE.Field id="cone" fieldname="GeneralId"/}"/}
|
||||
<div style="width:800px; text-align:center;padding-top:15px;">
|
||||
<input type="button" id="print" onclick="printTelegraph()" value="打印" />
|
||||
<input type="button" id="return" onclick="javascript:history.go(-1);" value="返回" />
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function printTelegraph() {
|
||||
var btnPrint = document.getElementById("print");
|
||||
var btnReturn = document.getElementById("return");
|
||||
btnPrint.style.display = "none";
|
||||
btnReturn.style.display = "none";
|
||||
window.print();
|
||||
btnPrint.style.display = "";
|
||||
btnReturn.style.display = "";
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user