From 6120a428b69720492583ba084bc2d2a1c22b813b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sun, 3 Sep 2017 20:31:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=89=93=E5=8D=B0=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/js/print/print.js | 4 +++- src/main/webapp/pages/reports/account_report.jsp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/js/print/print.js b/src/main/webapp/js/print/print.js index 7d4f1697..cb2549dd 100644 --- a/src/main/webapp/js/print/print.js +++ b/src/main/webapp/js/print/print.js @@ -4,7 +4,9 @@ function CreateFormPage(strPrintName, printDatagrid) { var beginDate= $("#searchBeginTime").val(); var endDate= $("#searchEndTime").val(); var getMonth= $("#searchMonth").val(); - var tableString = '
上海某某某某有限责任公司\n
'; + var listTitle = $("#tablePanel").prev().text(); + listTitle = listTitle.replace("列表",""); + var tableString = '
上海某某某某有限责任公司' + listTitle + '\n
'; if(beginDate && endDate) { tableString+='\n
日期:' + beginDate + ' 至 ' + endDate + ' \n
'; } diff --git a/src/main/webapp/pages/reports/account_report.jsp b/src/main/webapp/pages/reports/account_report.jsp index c52a5c2d..907291e5 100644 --- a/src/main/webapp/pages/reports/account_report.jsp +++ b/src/main/webapp/pages/reports/account_report.jsp @@ -48,7 +48,7 @@ -
+