Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
njzsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐州
njzsb
Commits
4545b570
Commit
4545b570
authored
Aug 31, 2022
by
houyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印
parent
52dea187
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
Jfzm_List.jsp
WebRoot/WEB-INF/pages/jfzm/Jfzm_List.jsp
+1
-1
jfzm_print.jsp
WebRoot/WEB-INF/pages/jfzm/jfzm_print.jsp
+12
-12
No files found.
WebRoot/WEB-INF/pages/jfzm/Jfzm_List.jsp
View file @
4545b570
...
@@ -643,7 +643,7 @@
...
@@ -643,7 +643,7 @@
<script>
<script>
function
doPrint
(
id
)
{
function
doPrint
(
id
)
{
createSimpleWindow
(
"win_paymentVoucher"
,
"打印缴费凭证"
,
"${ctx}/jsp/jfzm/print.action?id="
+
id
,
850
,
7
00
);
createSimpleWindow
(
"win_paymentVoucher"
,
"打印缴费凭证"
,
"${ctx}/jsp/jfzm/print.action?id="
+
id
,
350
,
1
00
);
// var jatoolsPrinter = document.getElementById("jatoolsPrinter");
// var jatoolsPrinter = document.getElementById("jatoolsPrinter");
<%--
$
.
ajax
({
--%>
<%--
$
.
ajax
({
--%>
<%--
url
:
"${ctx}/jsp/jfzm/queryDetail.action"
,
--%>
<%--
url
:
"${ctx}/jsp/jfzm/queryDetail.action"
,
--%>
...
...
WebRoot/WEB-INF/pages/jfzm/jfzm_print.jsp
View file @
4545b570
...
@@ -426,7 +426,12 @@
...
@@ -426,7 +426,12 @@
<
%@
include
file=
"/common/jsLib.jsp"
%
>
<
%@
include
file=
"/common/jsLib.jsp"
%
>
<script
type=
"text/javascript"
src=
"${ctx}/webResources/js/jatoolPrinter.js"
></script>
<script
type=
"text/javascript"
src=
"${ctx}/webResources/js/jatoolPrinter.js"
></script>
<script>
<script>
function
doPrint
(
type
)
{
$
(
function
(){
doPrint
()
parent
.
close_win
(
'win_paymentVoucher'
)
})
function
doPrint
()
{
myDoc
=
{
myDoc
=
{
settings
:
{
settings
:
{
pageWidth
:
2100
,
pageWidth
:
2100
,
...
@@ -439,14 +444,10 @@
...
@@ -439,14 +444,10 @@
classesReplacedWhenPrint
:
new
Array
(
'.only_for_print{display:block}'
),
classesReplacedWhenPrint
:
new
Array
(
'.only_for_print{display:block}'
),
copyrights
:
"杰创软件拥有版权 www.jatools.com"
copyrights
:
"杰创软件拥有版权 www.jatools.com"
}
}
var
jatoolsPrinter
=
document
.
getElementById
(
"jatoolsPrinter"
);
var
jatoolsPrinter
=
document
.
getElementById
(
"jatoolsPrinter"
)
if
(
"pre"
==
type
){
jatoolsPrinter
.
printPreview
(
myDoc
);
updateZslxdbh
();
jatoolsPrinter
.
printPreview
(
myDoc
);
}
else
if
(
"print"
==
type
){
updateZslxdbh
();
jatoolsPrinter
.
print
(
myDoc
,
true
);
}
}
}
</script>
</script>
</head>
</head>
...
@@ -458,8 +459,7 @@
...
@@ -458,8 +459,7 @@
<table
width=
"100%"
>
<table
width=
"100%"
>
<tr>
<tr>
<td
colspan=
"4"
height=
"100px"
style=
"text-align:center"
>
<td
colspan=
"4"
height=
"100px"
style=
"text-align:center"
>
<a
href=
"#"
class=
"btn_01"
onclick=
"doPrint('print')"
>
打印${xmxxb.jsdw}
<b></b></a>
<a
href=
"#"
class=
"btn_01"
onclick=
"doPrint()"
>
打印预览
<b></b></a>
<a
href=
"#"
class=
"btn_01"
onclick=
"doPrint('pre')"
>
打印预览
<b></b></a>
<a
href=
"#"
class=
"btn_01"
onclick=
"parent.close_win('win_paymentVoucher');"
>
关闭
<b></b></a>
<a
href=
"#"
class=
"btn_01"
onclick=
"parent.close_win('win_paymentVoucher');"
>
关闭
<b></b></a>
</td>
</td>
</tr>
</tr>
...
@@ -512,7 +512,7 @@
...
@@ -512,7 +512,7 @@
<div
id=
'33'
draggable=
'true'
class=
'f33'
>
${paymentItemHis.zslxdbh}
</div>
<div
id=
'33'
draggable=
'true'
class=
'f33'
>
${paymentItemHis.zslxdbh}
</div>
<
%
--
<
div
id=
'34'
draggable=
'true'
class=
'f34'
>
${jbr}
</div>
--%>
<
%
--
<
div
id=
'34'
draggable=
'true'
class=
'f34'
>
${jbr}
</div>
--%>
<c:if
test=
"${rfxm.isRfyz=='1'}"
>
<c:if
test=
"${rfxm.isRfyz=='1'}"
>
<div
id=
'36'
draggable=
'true'
class=
'f36'
><img
src=
"${ctx}/images/img/zhang
1
.png"
alt=
""
></div>
<div
id=
'36'
draggable=
'true'
class=
'f36'
><img
src=
"${ctx}/images/img/zhang
3
.png"
alt=
""
></div>
<div
id=
'37'
draggable=
'true'
class=
'f37'
><img
src=
"${ctx}/images/img/zhang1.png"
alt=
""
></div>
<div
id=
'37'
draggable=
'true'
class=
'f37'
><img
src=
"${ctx}/images/img/zhang1.png"
alt=
""
></div>
</c:if>
</c:if>
<c:if
test=
"${rfxm.isSbj=='1'}"
>
<c:if
test=
"${rfxm.isSbj=='1'}"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment