优化打印报表的标题
This commit is contained in:
@@ -4,7 +4,9 @@ function CreateFormPage(strPrintName, printDatagrid) {
|
||||
var beginDate= $("#searchBeginTime").val();
|
||||
var endDate= $("#searchEndTime").val();
|
||||
var getMonth= $("#searchMonth").val();
|
||||
var tableString = '<div class="div-title">上海某某某某有限责任公司\n</div>';
|
||||
var listTitle = $("#tablePanel").prev().text();
|
||||
listTitle = listTitle.replace("列表","");
|
||||
var tableString = '<div class="div-title">上海某某某某有限责任公司' + listTitle + '\n</div>';
|
||||
if(beginDate && endDate) {
|
||||
tableString+='\n<div class="div-time">日期:' + beginDate + ' 至 ' + endDate + ' \n</div>';
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 数据显示table -->
|
||||
<div id = "tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="结算账户查询" iconCls="icon-list" collapsible="true" closable="false">
|
||||
<div id = "tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="结算账户列表" iconCls="icon-list" collapsible="true" closable="false">
|
||||
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user