Commit 6120a428 authored by 季圣华's avatar 季圣华
Browse files

优化打印报表的标题

parent 50d43ab5
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment