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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
74 deletions
+55
-74
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
+38
-53
No files found.
WebRoot/WEB-INF/pages/account/paymentVoucher/PaymentVoucherPrint_GuiHua.jsp
View file @
52dea187
...
...
@@ -242,26 +242,25 @@
</style>
<script>
function
doPrint
(
type
)
{
//
myDoc = {
//
settings: {
//
pageWidth: 2100,
//
pageHeight: 1400,
//
orientation: 2},
//
documents: document,
//
marginIgnored:true,
//
dragDesigner: {viewSource:true},
//
settingsID: 'mydoc3',
//
classesReplacedWhenPrint: new Array('.only_for_print{display:block}'),
//
copyrights: "杰创软件拥有版权 www.jatools.com"
//
}
//
var jatoolsPrinter = document.getElementById("jatoolsPrinter");
myDoc
=
{
settings
:
{
pageWidth
:
2100
,
pageHeight
:
1400
,
orientation
:
2
},
documents
:
document
,
marginIgnored
:
true
,
dragDesigner
:
{
viewSource
:
true
},
settingsID
:
'mydoc3'
,
classesReplacedWhenPrint
:
new
Array
(
'.only_for_print{display:block}'
),
copyrights
:
"杰创软件拥有版权 www.jatools.com"
}
var
jatoolsPrinter
=
document
.
getElementById
(
"jatoolsPrinter"
);
if
(
"pre"
==
type
){
updateZslxdbh
();
// jatoolsPrinter.printPreview(myDoc);
alert
(
$
{
paymentItemHis
.
zslxdbh
})
jatoolsPrinter
.
printPreview
(
myDoc
);
}
else
if
(
"print"
==
type
){
updateZslxdbh
();
//
jatoolsPrinter.print(myDoc,true);
jatoolsPrinter
.
print
(
myDoc
,
true
);
}
}
...
...
WebRoot/WEB-INF/pages/jfzm/Jfzm_List.jsp
View file @
52dea187
...
...
@@ -642,6 +642,8 @@
</script>
<script>
function
doPrint
(
id
)
{
createSimpleWindow
(
"win_paymentVoucher"
,
"打印缴费凭证"
,
"${ctx}/jsp/jfzm/print.action?id="
+
id
,
850
,
700
);
// var jatoolsPrinter = document.getElementById("jatoolsPrinter");
<%--
$
.
ajax
({
--%>
<%--
url
:
"${ctx}/jsp/jfzm/queryDetail.action"
,
--%>
...
...
@@ -655,11 +657,6 @@
<%--
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
;
--%>
<%--
myDoc
=
{
--%>
<%--
settings
:
{
--%>
...
...
WebRoot/WEB-INF/pages/jfzm/jfzm_print.jsp
View file @
52dea187
<
%@
page
language=
"java"
pageEncoding=
"UTF-8"
isELIgnored=
"false"
%
>
<
%@
include
file=
"/common/header.jsp"
%
>
<!DOCTYPE html>
<html
lang=
"en"
>
<html>
<head>
<
%@
include
file=
"/common/jsLib.jsp"
%
>
<script
type=
"text/javascript"
src=
"${ctx}/webResources/js/jatoolPrinter.js"
></script>
<style>
.title
{
font-family
:
Arial
,
Vernada
,
Tahoma
,
sans-serif
;
...
...
@@ -427,6 +423,8 @@
}
</style>
<title>
Title
</title>
<
%@
include
file=
"/common/jsLib.jsp"
%
>
<script
type=
"text/javascript"
src=
"${ctx}/webResources/js/jatoolPrinter.js"
></script>
<script>
function
doPrint
(
type
)
{
myDoc
=
{
...
...
@@ -450,19 +448,6 @@
jatoolsPrinter
.
print
(
myDoc
,
true
);
}
}
function
updateZslxdbh
(){
$
.
ajax
({
url
:
"${ctx}/jsp/paymentVoucher/updateZslxdbh.action"
,
type
:
'post'
,
dataType
:
'json'
,
data
:{
id
:
"${paymentItemHis.id}"
,
zslxdbh
:
"${zslxdbh}"
},
async
:
false
,
});
}
</script>
</head>
<body>
...
...
@@ -473,40 +458,40 @@
<table
width=
"100%"
>
<tr>
<td
colspan=
"4"
height=
"100px"
style=
"text-align:center"
>
<a
href=
"#"
class=
"btn_01"
onclick=
"doPrint('print')
;"
>
打印
<b></b></a>
<a
href=
"#"
class=
"btn_01"
onclick=
"doPrint('pre')
;
"
>
打印预览
<b></b></a>
<a
href=
"#"
class=
"btn_01"
onclick=
"doPrint('print')
"
>
打印${xmxxb.jsdw}
<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>
</td>
</tr>
</table>
</div></div></div>
</form>
<
%
--
横联
--
%
>
横联
<c:if
test=
"${rfxm.mjyj != '002' && rfxm.mjyj != '004'}"
>
<div
id=
"page1"
class=
'only_for_print pagestyle'
style=
'width:210mm;height:140mm;position:relative;'
>
<img
class=
'screen-only'
src=
"${ctx}/webResources/images/guihuaju.jpg"
style=
"position:absolute;width:100%;height:100%"
/>
<div
id=
'f1'
draggable=
'true'
class=
'f1'
>
${rfxm.xxylb}
</div>
<div
id=
'f1'
draggable=
'true'
class=
'f1'
>
${rfxm.xxylb
bh
}
</div>
<div
id=
'f2'
draggable=
'true'
class=
'f2'
>
${rfxm.slbh}
</div>
<div
id=
'f3'
draggable=
'true'
class=
'f3'
>
${
fn:substring(rfxm.jsdw,0,13)}
<br/>
${fn:substring(rfxm.jsdw,13,26)}
<br/>
${fn:substring(rfxm.jsdw,26,-1)}
</div>
<div
id=
'f4'
draggable=
'true'
class=
'f4'
>
${
fn:substring(rfxm.xmmc,0,13)}
<br/>
${fn:substring(rfxm.xmmc,13,26)}
<br/>
${fn:substring(rfxm.xmmc,26,-1)
}
</div>
<div
id=
'f5'
draggable=
'true'
class=
'f5'
>
${
rfxm
.zjsmj} 平方米
</div>
<div
id=
'f6'
draggable=
'true'
class=
'f6'
><fmt:formatNumber
value=
"${csptf}"
pattern=
"#,##0.00#"
/>
元
</div
>
<div
id=
'f7'
draggable=
'true'
class=
'f7'
><fmt:formatNumber
value=
"${
rfxm
.ptyjje}"
pattern=
"#,##0.00#"
/>
元
</div>
<div
id=
'f8'
draggable=
'true'
class=
'f8'
><fmt:formatNumber
value=
"${
rfxm.ptymje
}"
pattern=
"#,##0.00#"
/>
元
</div>
<div
id=
'f3'
draggable=
'true'
class=
'f3'
>
${
xmxxb.jsdw}
<br/>
</div>
<div
id=
'f4'
draggable=
'true'
class=
'f4'
>
${
xmxxb.xmmc
}
</div>
<div
id=
'f5'
draggable=
'true'
class=
'f5'
>
${
xmxxb
.zjsmj} 平方米
</div>
<
%
--
<
div
id=
'f6'
draggable=
'true'
class=
'f6'
><fmt:formatNumber
value=
"${csptf}"
pattern=
"#,##0.00#"
/>
元
</div>
--%
>
<div
id=
'f7'
draggable=
'true'
class=
'f7'
><fmt:formatNumber
value=
"${
paymentItemHis
.ptyjje}"
pattern=
"#,##0.00#"
/>
元
</div>
<div
id=
'f8'
draggable=
'true'
class=
'f8'
><fmt:formatNumber
value=
"${
paymentItemHis.ptyjmj
}"
pattern=
"#,##0.00#"
/>
元
</div>
<div
id=
'f9'
draggable=
'true'
class=
'f9'
></div>
<div
id=
'f10'
draggable=
'true'
class=
'f10'
></div>
<div
id=
'f11'
draggable=
'true'
class=
'f11'
></div>
<div
id=
'f12'
draggable=
'true'
class=
'f12'
>
${
rfxm
.ECN}
</div>
<div
id=
'f12'
draggable=
'true'
class=
'f12'
>
${
paymentItemHis
.ECN}
</div>
<div
id=
'f13'
draggable=
'true'
class=
'f13'
>
${fn:substring(rfxm.createTime,0,4)}
</div>
<div
id=
'f14'
draggable=
'true'
class=
'f14'
>
${fn:substring(rfxm.createTime,5,7)}
</div>
<div
id=
'f15'
draggable=
'true'
class=
'f15'
>
${fn:substring(rfxm.createTime,8,10)}
</div>
<div
id=
'f16'
draggable=
'true'
class=
'f16'
>
${
rfxm
.ECN}
</div>
<div
id=
'f17'
draggable=
'true'
class=
'f17'
>
${rfxm.xxylb}
</div>
<div
id=
'f16'
draggable=
'true'
class=
'f16'
>
${
paymentItemHis
.ECN}
</div>
<div
id=
'f17'
draggable=
'true'
class=
'f17'
>
${rfxm.xxylb
bh
}
</div>
<div
id=
'f18'
draggable=
'true'
class=
'f18'
>
${rfxm.slbh}
</div>
<div
id=
'f19'
draggable=
'true'
class=
'f19'
>
${
rfxm
.jsdw}
</div>
<div
id=
'f20'
draggable=
'true'
class=
'f20'
>
${
rfxm
.xmmc}
</div>
<div
id=
'f21'
draggable=
'true'
class=
'f21'
>
${
rfxm
.jsdd}
</div>
<div
id=
'f22'
draggable=
'true'
class=
'f22'
>
${
rfxm
.zjsmj} 平方米
</div>
<div
id=
'f19'
draggable=
'true'
class=
'f19'
>
${
xmxxb
.jsdw}
</div>
<div
id=
'f20'
draggable=
'true'
class=
'f20'
>
${
xmxxb
.xmmc}
</div>
<div
id=
'f21'
draggable=
'true'
class=
'f21'
>
${
xmxxb
.jsdd}
</div>
<div
id=
'f22'
draggable=
'true'
class=
'f22'
>
${
xmxxb
.zjsmj} 平方米
</div>
<div
id=
'f23'
draggable=
'true'
class=
'f23'
></div>
<div
id=
'f24'
draggable=
'true'
class=
'f24'
>
汤静
</div>
<div
id=
'f25'
draggable=
'true'
class=
'f25'
>
83321375
</div>
...
...
@@ -515,17 +500,17 @@
<div
id=
'f28'
draggable=
'true'
class=
'f28'
>
${fn:substring(rfxm.createTime,5,7)}
</div>
<div
id=
'f29'
draggable=
'true'
class=
'f29'
>
${fn:substring(rfxm.createTime,8,10)}
</div>
<div
id=
'f30'
draggable=
'true'
class=
'f30'
>
规划许可证号:${
rfxm
.xkzh}
</div>
<div
id=
'f31'
draggable=
'true'
class=
'f31'
>
规划项目编号:${
rfxm
.xmbh}
</div>
<div
id=
'f30'
draggable=
'true'
class=
'f30'
>
规划许可证号:${
xmxxb
.xkzh}
</div>
<div
id=
'f31'
draggable=
'true'
class=
'f31'
>
规划项目编号:${
xmxxb
.xmbh}
</div>
<
%
--
isRfyz =
1
显示人防章
--
%
>
<
%
--
isRfyz
!=
1
显示人防章未用章
--
%
>
<
%
--
isSbj =
1
市本级
--
%
>
<
%
--
isSbj
!=
1
非市本级
--
%
>
<
%
--
isSl =
1
竖联
--
%
>
<
%
--
isSl
!=
1
横联
--
%
>
<div
id=
'32'
draggable=
'true'
class=
'f32'
>
${zslxdbh}
</div>
<div
id=
'33'
draggable=
'true'
class=
'f33'
>
${zslxdbh}
</div>
<div
id=
'34'
draggable=
'true'
class=
'f34'
>
${jbr}
</div
>
<div
id=
'32'
draggable=
'true'
class=
'f32'
>
${
paymentItemHis.
zslxdbh}
</div>
<div
id=
'33'
draggable=
'true'
class=
'f33'
>
${
paymentItemHis.
zslxdbh}
</div>
<
%
--
<
div
id=
'34'
draggable=
'true'
class=
'f34'
>
${jbr}
</div>
--%
>
<c:if
test=
"${rfxm.isRfyz=='1'}"
>
<div
id=
'36'
draggable=
'true'
class=
'f36'
><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>
...
...
@@ -538,20 +523,20 @@
</div>
</c:if>
<
%
--
竖联
--
%
>
竖联
<c:if
test=
"${rfxm.mjyj == '002' || rfxm.mjyj == '004'}"
>
<div
id=
"page1"
class=
'only_for_print pagestyle'
style=
'width:210mm;height:140mm;position:relative;'
>
<img
src=
"${ctx}/webResources/images/fanggaiban.jpg"
style=
"position:absolute;width:100%;height:100%"
/>
<div
id=
'f111'
draggable=
'true'
class=
'f111'
>
${paymentItemHis.ECN}
</div>
<div
id=
'f211'
draggable=
'true'
class=
'f211'
>
${
paymentItemHis
.jsdw}
</div>
<div
id=
'f211'
draggable=
'true'
class=
'f211'
>
${
xmxxb
.jsdw}
</div>
<div
id=
'f311'
draggable=
'true'
class=
'f311'
>
${paymentItemHis.zslxdbh}
</div>
<div
id=
'f411'
draggable=
'true'
class=
'f411'
>
${fn:substring(
paymentItemHis.xmmc,0,20)}
<br
/>
${fn:substring(paymentItemHis
.xmmc,20,-1)}
${fn:substring(
xmxxb.xmmc,0,20)}
<br
/>
${fn:substring(xmxxb
.xmmc,20,-1)}
</div>
<div
id=
'f511'
draggable=
'true'
class=
'f511'
>
${
paymentItemHis
.slbh}
</div>
<div
id=
'f611'
draggable=
'true'
class=
'f611'
>
${
paymentItemHis
.jsdd}
</div>
<div
id=
'f711'
draggable=
'true'
class=
'f711'
>
${
paymentItemHis.lianxiren}
<br
/>
${paymentItemHis
.phone}
</div>
<div
id=
'f811'
draggable=
'true'
class=
'f811'
>
${
paymentItemHis
.csmj}
</div>
<div
id=
'f511'
draggable=
'true'
class=
'f511'
>
${
rfxm
.slbh}
</div>
<div
id=
'f611'
draggable=
'true'
class=
'f611'
>
${
xmxxb
.jsdd}
</div>
<div
id=
'f711'
draggable=
'true'
class=
'f711'
>
${
xmxxb.lianxiren}
<br
/>
${xmxxb
.phone}
</div>
<div
id=
'f811'
draggable=
'true'
class=
'f811'
>
${
xmxxb
.csmj}
</div>
<div
id=
'f911'
draggable=
'true'
class=
'f911'
>
${paymentItemHis.ptyjje}
</div>
<div
id=
'f1211'
draggable=
'true'
class=
'f1211'
></div>
<div
id=
'f1311'
draggable=
'true'
class=
'f1311'
></div>
...
...
@@ -559,14 +544,14 @@
<div
id=
'f1511'
draggable=
'true'
class=
'f1511'
>
${fn:substring(paymentItemHis.createTime,5,7)}
</div>
<div
id=
'f1611'
draggable=
'true'
class=
'f1611'
>
${fn:substring(paymentItemHis.createTime,8,10)}
</div>
<div
id=
'f1711'
draggable=
'true'
class=
'f1711'
>
${paymentItemHis.ECN}
</div>
<div
id=
'f1811'
draggable=
'true'
class=
'f1811'
>
${
paymentItemHis
.jsdw}
</div>
<div
id=
'f1811'
draggable=
'true'
class=
'f1811'
>
${
xmxxb
.jsdw}
</div>
<div
id=
'f1911'
draggable=
'true'
class=
'f1911'
>
${paymentItemHis.zslxdbh}
</div>
<div
id=
'f2011'
draggable=
'true'
class=
'f2011'
>
${fn:substring(paymentItemHis.xmmc,0,20)}
<br
/>
${fn:substring(
paymentItemHis
.xmmc,20,-1)}
</div>
<div
id=
'f2111'
draggable=
'true'
class=
'f2111'
>
${
paymentItemHis
.slbh}
</div>
<div
id=
'f2211'
draggable=
'true'
class=
'f2211'
>
${
paymentItemHis
.jsdd}
</div>
<div
id=
'f2311'
draggable=
'true'
class=
'f2311'
>
${
paymentItemHis.lianxiren}
<br
/>
${paymentItemHis
.phone}
</div>
<div
id=
'f2411'
draggable=
'true'
class=
'f2411'
>
${
paymentItemHis
.csmj}
</div>
${fn:substring(paymentItemHis.xmmc,0,20)}
<br
/>
${fn:substring(
xmxxb
.xmmc,20,-1)}
</div>
<div
id=
'f2111'
draggable=
'true'
class=
'f2111'
>
${
rfxm
.slbh}
</div>
<div
id=
'f2211'
draggable=
'true'
class=
'f2211'
>
${
xmxxb
.jsdd}
</div>
<div
id=
'f2311'
draggable=
'true'
class=
'f2311'
>
${
xmxxb.lianxiren}
<br
/>
${xmxxb
.phone}
</div>
<div
id=
'f2411'
draggable=
'true'
class=
'f2411'
>
${
xmxxb
.csmj}
</div>
<div
id=
'f2511'
draggable=
'true'
class=
'f2511'
>
</div>
<div
id=
'f2811'
draggable=
'true'
class=
'f2811'
>
${fn:substring(paymentItemHis.createTime,0,4)}
</div>
...
...
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