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
8ccd68c6
Commit
8ccd68c6
authored
Aug 31, 2022
by
houyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印
parent
57573e8a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
120 deletions
+30
-120
PaymentVoucher_ZslxdList.jsp
...pages/account/paymentVoucher/PaymentVoucher_ZslxdList.jsp
+14
-11
Jfzm_List.jsp
WebRoot/WEB-INF/pages/jfzm/Jfzm_List.jsp
+16
-109
jfzm_print.jsp
WebRoot/WEB-INF/pages/jfzm/jfzm_print.jsp
+0
-0
No files found.
WebRoot/WEB-INF/pages/account/paymentVoucher/PaymentVoucher_ZslxdList.jsp
View file @
8ccd68c6
...
...
@@ -23,17 +23,20 @@
success
:
function
(
data
){
if
(
data
.
result
){
$
.
messager
.
confirm
(
"提示"
,
"确认要生成凭证吗?"
,
function
(
result
)
{
$
.
ajax
({
url
:
"${ctx}/jsp/paymentItemHis/scpz.action"
,
type
:
'post'
,
dataType
:
'json'
,
data
:{
id
:
row_Id
},
async
:
false
});
$
.
messager
.
alert
(
"提示"
,
"操作成功"
)
search_paymentItemHis
();
if
(
result
){
$
.
ajax
({
url
:
"${ctx}/jsp/paymentItemHis/scpz.action"
,
type
:
'post'
,
dataType
:
'json'
,
data
:{
id
:
row_Id
},
async
:
false
});
$
.
messager
.
alert
(
"提示"
,
"操作成功"
)
search_paymentItemHis
();
}
});
}
else
{
$
.
messager
.
alert
(
'错误'
,
data
.
message
);
...
...
WebRoot/WEB-INF/pages/jfzm/Jfzm_List.jsp
View file @
8ccd68c6
...
...
@@ -643,16 +643,22 @@
<script>
function
doPrint
(
id
)
{
// var jatoolsPrinter = document.getElementById("jatoolsPrinter");
$
.
ajax
({
url
:
"${ctx}/jsp/jfzm/queryDetail.action"
,
type
:
'post'
,
dataType
:
'json'
,
data
:{
id
:
id
},
success
:
function
(
data
)
{
alert
(
JSON
.
stringify
(
data
))
}
<%--
$
.
ajax
({
--%>
<%--
url
:
"${ctx}/jsp/jfzm/queryDetail.action"
,
--%>
<%--
type
:
'post'
,
--%>
<%--
dataType
:
'json'
,
--%>
<%--
data
:{
--%>
<%--
id
:
id
--%>
<%--
},
--%>
<%--
success
:
function
(
data
)
{
--%>
<%--
alert
(
data
)
--%>
<%--
}
--%>
<%--
});
--%>
$
.
messager
.
confirm
(
"提示"
,
"是否打印"
,
function
(
result
)
{
var
row_Id
=
1
var
zslxdbh
=
2
createSimpleWindow
(
"win_paymentVoucher"
,
"打印缴费凭证"
,
"${ctx}/jsp/jfpz/print.action?id="
+
row_Id
,
850
,
700
);
});
<%--
var
tp
=
'${rfxm.mjyj}'
==
'002'
||
'${rfxm.mjyj}'
==
'004'
?
1
:
2
;
--%>
<%--
myDoc
=
{
--%>
...
...
@@ -731,106 +737,7 @@
</div>
</div>
</div>
<
%
--
横联
--
%
>
<div></div>
<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=
'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=
'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=
'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=
'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=
'f23'
draggable=
'true'
class=
'f23'
></div>
<div
id=
'f24'
draggable=
'true'
class=
'f24'
>
汤静
</div>
<div
id=
'f25'
draggable=
'true'
class=
'f25'
>
83321375
</div>
<div
id=
'f26'
draggable=
'true'
class=
'f26'
>
83377920
</div>
<div
id=
'f27'
draggable=
'true'
class=
'f27'
>
${fn:substring(rfxm.createTime,0,4)}
</div>
<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>
<
%
--
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>
<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>
</c:if>
<c:if
test=
"${rfxm.isSbj=='1'}"
>
<div
id=
'38'
draggable=
'true'
class=
'f38'
><img
src=
"${ctx}/images/img/zhang2.png"
alt=
""
></div>
<div
id=
'39'
draggable=
'true'
class=
'f39'
><img
src=
"${ctx}/images/img/zhang2.png"
alt=
""
></div>
</c:if>
</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=
'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)}
</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=
'f911'
draggable=
'true'
class=
'f911'
>
${paymentItemHis.ptyjje}
</div>
<div
id=
'f1211'
draggable=
'true'
class=
'f1211'
></div>
<div
id=
'f1311'
draggable=
'true'
class=
'f1311'
></div>
<div
id=
'f1411'
draggable=
'true'
class=
'f1411'
>
${fn:substring(paymentItemHis.createTime,0,4)}
</div>
<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=
'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>
<div
id=
'f2511'
draggable=
'true'
class=
'f2511'
>
</div>
<div
id=
'f2811'
draggable=
'true'
class=
'f2811'
>
${fn:substring(paymentItemHis.createTime,0,4)}
</div>
<div
id=
'f2911'
draggable=
'true'
class=
'f2911'
>
${fn:substring(paymentItemHis.createTime,5,7)}
</div>
<div
id=
'f3011'
draggable=
'true'
class=
'f3011'
>
${fn:substring(paymentItemHis.createTime,8,10)}
</div>
<div
id=
'f3111'
draggable=
'true'
class=
'f3111'
><img
src=
"${ctx}/images/img/zhang1.png"
alt=
""
></div>
<div
id=
'f3211'
draggable=
'true'
class=
'f3211'
><img
src=
"${ctx}/images/img/zhang1.png"
alt=
""
></div>
</div>
</c:if>
<OBJECT
ID=
"jatoolsPrinter"
CLASSID=
"CLSID:B43D3361-D075-4BE2-87FE-057188254255"
codebase=
"/njzsb/plugin/jatoolsPrinter.cab#version=8,6,0,0"
width=
"0"
height=
"0"
>
</OBJECT>
</body>
<script>
function
asy_tb
()
{
...
...
WebRoot/WEB-INF/pages/jfzm/jfzm_print.jsp
0 → 100644
View file @
8ccd68c6
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