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
52dea187
Commit
52dea187
authored
Aug 31, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改取值
parent
f70d2daf
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
21 deletions
+17
-21
PaymentVoucherPrint_GuiHua.jsp
...ges/account/paymentVoucher/PaymentVoucherPrint_GuiHua.jsp
+15
-16
Jfzm_List.jsp
WebRoot/WEB-INF/pages/jfzm/Jfzm_List.jsp
+2
-5
jfzm_print.jsp
WebRoot/WEB-INF/pages/jfzm/jfzm_print.jsp
+0
-0
No files found.
WebRoot/WEB-INF/pages/account/paymentVoucher/PaymentVoucherPrint_GuiHua.jsp
View file @
52dea187
...
@@ -242,26 +242,25 @@
...
@@ -242,26 +242,25 @@
</style>
</style>
<script>
<script>
function
doPrint
(
type
)
{
function
doPrint
(
type
)
{
//
myDoc = {
myDoc
=
{
//
settings: {
settings
:
{
//
pageWidth: 2100,
pageWidth
:
2100
,
//
pageHeight: 1400,
pageHeight
:
1400
,
//
orientation: 2},
orientation
:
2
},
//
documents: document,
documents
:
document
,
//
marginIgnored:true,
marginIgnored
:
true
,
//
dragDesigner: {viewSource:true},
dragDesigner
:
{
viewSource
:
true
},
//
settingsID: 'mydoc3',
settingsID
:
'mydoc3'
,
//
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
){
if
(
"pre"
==
type
){
updateZslxdbh
();
updateZslxdbh
();
// jatoolsPrinter.printPreview(myDoc);
jatoolsPrinter
.
printPreview
(
myDoc
);
alert
(
$
{
paymentItemHis
.
zslxdbh
})
}
else
if
(
"print"
==
type
){
}
else
if
(
"print"
==
type
){
updateZslxdbh
();
updateZslxdbh
();
//
jatoolsPrinter.print(myDoc,true);
jatoolsPrinter
.
print
(
myDoc
,
true
);
}
}
}
}
...
...
WebRoot/WEB-INF/pages/jfzm/Jfzm_List.jsp
View file @
52dea187
...
@@ -642,6 +642,8 @@
...
@@ -642,6 +642,8 @@
</script>
</script>
<script>
<script>
function
doPrint
(
id
)
{
function
doPrint
(
id
)
{
createSimpleWindow
(
"win_paymentVoucher"
,
"打印缴费凭证"
,
"${ctx}/jsp/jfzm/print.action?id="
+
id
,
850
,
700
);
// var jatoolsPrinter = document.getElementById("jatoolsPrinter");
// var jatoolsPrinter = document.getElementById("jatoolsPrinter");
<%--
$
.
ajax
({
--%>
<%--
$
.
ajax
({
--%>
<%--
url
:
"${ctx}/jsp/jfzm/queryDetail.action"
,
--%>
<%--
url
:
"${ctx}/jsp/jfzm/queryDetail.action"
,
--%>
...
@@ -655,11 +657,6 @@
...
@@ -655,11 +657,6 @@
<%--
alert
(
data
)
--%>
<%--
alert
(
data
)
--%>
<%--
}
--%>
<%--
}
--%>
<%--
});
--%>
<%--
});
--%>
$
.
messager
.
confirm
(
"提示"
,
"是否打印"
,
function
(
result
)
{
var
row_Id
=
1
var
zslxdbh
=
2
createSimpleWindow
(
"win_paymentVoucher"
,
"打印缴费凭证"
,
"${ctx}/jsp/jfpz/print.action?id="
+
id
,
850
,
700
);
});
<%--
var
tp
=
'${rfxm.mjyj}'
==
'002'
||
'${rfxm.mjyj}'
==
'004'
?
1
:
2
;
--%>
<%--
var
tp
=
'${rfxm.mjyj}'
==
'002'
||
'${rfxm.mjyj}'
==
'004'
?
1
:
2
;
--%>
<%--
myDoc
=
{
--%>
<%--
myDoc
=
{
--%>
<%--
settings
:
{
--%>
<%--
settings
:
{
--%>
...
...
WebRoot/WEB-INF/pages/jfzm/jfzm_print.jsp
View file @
52dea187
This diff is collapsed.
Click to expand it.
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