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
8d487411
Commit
8d487411
authored
Dec 07, 2022
by
houyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印页面
parent
c342fcdb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
139 additions
and
270 deletions
+139
-270
Fstzs_Print.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_Print.jsp
+139
-270
cw.jpg
WebRoot/images/img/cw.jpg
+0
-0
No files found.
WebRoot/WEB-INF/pages/fstzs/Fstzs_Print.jsp
View file @
8d487411
<
%@
page
language=
"java"
pageEncoding=
"UTF-8"
isELIgnored=
"false"
%
>
<
%@
page
language=
"java"
pageEncoding=
"UTF-8"
isELIgnored=
"false"
%
>
<
%@
include
file=
"/common/header.jsp"
%
>
<
%@
include
file=
"/common/header.jsp"
%
>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<html>
<head>
<head>
<title>
打印非税通知书
</title>
<style>
<
%@
include
file=
"/common/jsLib.jsp"
%
>
.title
{
<style>
font-family
:
Arial
,
Vernada
,
Tahoma
,
sans-serif
;
font-size
:
30px
;
.table-line-td
>
td
{
color
:
#00008B
;
width
:
240%
;
background-color
:
White
;
text-decoration
:
underline
display
:
inline-block
;
border-top
:
none
;
border-bottom
:
none
;
border-right
:
none
;
}
}
.add-table
{
.normal
{
width
:
90%
!important
;
font-family
:
Arial
,
Vernada
,
Tahoma
,
Helvetica
,
sans-serif
;
font-size
:
14px
;
float
:
right
;
color
:
#444444
;
text-decoration
:
none
;
line-height
:
180%
;
}
}
.normalsize
{
.add-table
,
font-size
:
14.8px
;
.add-table
td
{
border
:
1px
solid
#d9d9d9
;
border-collapse
:
collapse
;
text-align
:
center
;
}
}
/*缴款人全称*/
.add-table
td
{
.f1
{
left
:
290px
;
width
:
15%
;
top
:
220px
;
font-size
:
14.8px
;
}
}
/*缴款人账号*/
.add-table
th
{
.f2
{
text-align
:
center
;
left
:
290px
;
padding
:
0
;
top
:
270px
;
font-size
:
14.8px
;
}
}
/*缴款人开户银行*/
.db-input
{
.f3
{
display
:
none
;
left
:
290px
;
width
:
80%
;
top
:
310px
;
font-size
:
14.8px
;
}
}
/*合计金额小写*/
.
db-num
{
.
f4
{
width
:
100%
;
left
:
290px
;
height
:
20
px
;
top
:
355
px
;
display
:
inline-block
;
font-size
:
14.8px
;
}
}
.add-title
{
/*合计金额大写*/
display
:
inline-block
;
.f5
{
text-align
:
right
;
left
:
710px
;
width
:
69px
;
top
:
355px
;
color
:
#000
;
font-size
:
14.8px
;
font-size
:
12px
;
font-weight
:
bold
;
}
}
.fu-advice
{
/*备注*/
position
:
relative
;
.f6
{
top
:
20px
;
left
:
290px
;
top
:
405px
;
font-size
:
14.8px
;
}
}
.fu-advice
,
.fu-advice
td
{
/*项目编码*/
border
:
none
!important
;
.f7
{
left
:
140px
;
top
:
490px
;
font-size
:
14.8px
;
}
}
.ta-tb
tbody
{
/*数量*/
display
:
inherit
;
.f8
{
width
:
100%
;
left
:
630px
;
top
:
490px
;
font-size
:
14.8px
;
}
/*金额*/
.f9
{
left
:
810px
;
top
:
490px
;
font-size
:
14.8px
;
}
}
</style>
</head>
<body
validform=
"true"
>
<div
class=
"page_dialog"
>
<div
class=
"inner6px"
>
<form
name=
"myform1"
method=
"post"
enctype=
"multipart/form-data"
>
<s:token
/>
<input
class=
"hid"
type=
"hidden"
name=
"fstzsXm.id"
value=
"${fstzsXm.id}"
>
<div
class=
"cell"
style=
"width: 100%"
>
<table
width=
"100%"
border=
"0"
class=
"ta-tb"
>
<tr
class=
"table-line-td"
>
<th
width=
"15%"
>
建设单位
</th>
<td
width=
"35%"
>
<input
id=
"jsdw"
name=
"fstzsXm.jsdwmc"
style=
"width:96%;margin-top: 6px;"
value=
"${fstzsXm.jsdwmc}"
disabled
/>
</td>
</tr>
#page1
DIV
{
<tr>
position
:
absolute
<th
width=
"15"
>
工程项目名称
</th>
}
<td
width=
"35%"
>
.only_for_print
{
display
:
none
}
<input
id=
"gcxmmc"
name=
"fstzsXm.gcxmmc"
style=
"width:90%"
value=
"${fstzsXm.gcxmmc}"
disabled
/>
</td>
<th
width=
"15"
>
缴款人手机号
</th>
<td
width=
"35%"
>
<input
id=
"mobile"
name=
"fstzsXm.mobile"
style=
"width:90%"
value=
"${fstzsXm.mobile}"
disabled
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
缴款人账号
</th>
<td
width=
"35%"
>
<input
id=
"zhanghao"
name=
"fstzsXm.zhanghao"
style=
"width:90%"
value=
"${fstzsXm.zhanghao}"
disabled
/>
</td>
<th
width=
"15"
>
缴款人开户银行
</th>
<td
width=
"35%"
>
<input
id=
"khh"
name=
"fstzsXm.khh"
style=
"width:90%"
value=
"${fstzsXm.khh}"
disabled
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
缴款方式
</th>
<td
width=
"35%"
>
<input
style=
"width:90%"
value=
"直接解缴"
disabled
/>
</td>
<th
width=
"15"
>
缴款人类型
</th>
<td
width=
"35%"
>
<input
style=
"width:90%"
value=
"单位"
disabled
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
应缴总面积(平方米)
</th>
<td
width=
"35%"
>
<input
id=
"csmj"
name=
"fstzsXm.paymentItemPending.csmj"
style=
"width:90%"
value=
"${fstzsXm.paymentItemPending.csmj}"
disabled
/>
</td>
<th
width=
"15"
>
收费标准(元)
</th>
<td
width=
"35%"
>
<input
style=
"width:90%"
value=
"150"
disabled
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
征收单位名称
</th>
<td
width=
"35%"
>
<input
id=
"zsdw"
name=
"fstzsXm.kpsjgl.zsdw"
style=
"width:90%"
value=
"${fstzsXm.kpsjgl.zsdw}"
disabled
/>
</td>
<th
width=
"15"
>
征收单位编码
</th>
<td
width=
"35%"
>
<input
id=
"zsdwbm"
name=
"fstzsXm.kpsjgl.zsdwbm"
style=
"width:90%"
value=
"${fstzsXm.kpsjgl.zsdwbm}"
disabled
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
区划码
</th>
<td
width=
"35%"
>
<input
id=
"qhm"
name=
"fstzsXm.kpsjgl.qhm"
style=
"width:90%"
value=
"${fstzsXm.kpsjgl.qhm}"
disabled
/>
</td>
<th
width=
"15"
>
收款人全称
</th>
<td
width=
"35%"
>
<input
id=
"krqc"
name=
"fstzsXm.kpsjgl.krqc"
style=
"width:90%"
value=
"${fstzsXm.kpsjgl.krqc}"
disabled
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
收款人账号
</th>
<td
width=
"35%"
>
<input
id=
"skrzh"
name=
"fstzsXm.kpsjgl.skrzh"
style=
"width:90%"
value=
"${fstzsXm.kpsjgl.skrzh}"
disabled
/>
</td>
<th
width=
"15"
>
收款人开户行
</th>
<td
width=
"35%"
>
<input
id=
"skrkhh"
name=
"fstzsXm.kpsjgl.skrkhh"
style=
"width:90%"
value=
"${fstzsXm.kpsjgl.skrkhh}"
disabled
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
项目编码
</th>
<td
width=
"35%"
>
<input
id=
"xmbm"
name=
"fstzsXm.kpsjgl.xmbm"
style=
"width:90%"
value=
"${fstzsXm.kpsjgl.xmbm}"
disabled
/>
</td>
<th
width=
"15"
>
收入项目名称
</th>
<td
width=
"35%"
>
<input
id=
"srxmmc"
name=
"fstzsXm.kpsjgl.srxmmc"
style=
"width:90%"
value=
"${fstzsXm.kpsjgl.srxmmc}"
disabled
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
配套费应缴金额(元)
</th>
<td
width=
"35%"
>
<input
id=
"yjje"
name=
"fstzsXm.yjje"
style=
"width:90%"
value=
"${fstzsXm.yjje}"
disabled
/>
</td>
<th
width=
"15"
>
配套费应缴金额大写
</th>
<td
width=
"35%"
>
<input
id=
"yjjedx"
name=
"fstzsXm.yjjedx"
style=
"width:90%"
value=
"${fstzsXm.yjjedx}"
disabled
/>
</td>
</tr>
<tr
class=
"table-line-td"
>
<th
width=
"15"
>
备注(限25字以内)
</th>
<td
width=
"35%"
>
<input
id=
"beizhu"
name=
"fstzsXm.beizhu"
style=
"width:96%;margin-top: 6px;"
value=
"${fstzsXm.beizhu}"
disabled
/>
</td>
</tr>
</style>
</table>
<title>
Title
</title>
<div
style=
"margin-top: 20px;"
>
<
%@
include
file=
"/common/jsLib.jsp"
%
>
<div
class=
"add-title"
>
配套费
</div>
<script
type=
"text/javascript"
src=
"${ctx}/webResources/js/jatoolPrinter.js"
></script>
<table
class=
"add-table"
>
<script>
<thead>
<tr>
<th>
序号
</th>
<th>
缴款人
</th>
<th>
计量单位
</th>
<th>
收费标准
</th>
<th>
应缴面积
</th>
<th>
应缴金额
</th>
</tr>
</thead>
<tbody
class=
"add-tr"
>
<c:forEach
items=
"${fstzsList}"
var=
"result"
varStatus=
"userStatus"
>
<tr
class=
""
>
<td
class=
"line-one line-xh"
>
${userStatus.count}
</td>
<td
class=
" line-input"
><span
class=
"db-num db-num-text"
>
${result.jkr}
</span></td>
<td
class=
"line-one"
>
元
</td>
<td
class=
"line-one"
>
150
</td>
<td
class=
"line-one line-yjmj"
>
${result.yjmj}
</td>
<td
class=
"line-input"
><span
class=
"db-num db-nums"
>
${result.yjje}
</span></td>
</tr>
</c:forEach>
</tbody>
<tr>
<td
class=
"line-one"
>
合计
</td>
<td
class=
"line-input"
></td>
<td
class=
"line-one"
></td>
<td
class=
"line-one"
></td>
<td
class=
"line-one yjmj-hj"
></td>
<td
class=
"line-one yjje-hj"
></td>
</tr>
</table>
</div>
<table
width=
"100%"
border=
"0"
class=
"fu-advice"
>
<tr
>
$
(
function
(){
<td
width=
"0%"
style=
"width: 0%"
><div
class=
"add-title"
>
复核意见
</div></td>
doPrint
()
<td
width=
"100%"
>
parent
.
close_win
(
'win_fstzs'
)
<textarea
id=
"fhyj"
name=
"fstzsXm.fhyj"
style=
"width:96%;margin-top: 6px;"
value=
"${fstzsXm.fhyj}"
></textarea>
})
</td>
function
doPrint
()
{
var
numSz
=
2
myDoc
=
{
settings
:
{
pageWidth
:
2100
,
pageHeight
:
1400
,
orientation
:
numSz
},
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"
)
jatoolsPrinter
.
printPreview
(
myDoc
);
</tr>
<tr>
<td
colspan=
"4"
align=
"center"
style=
"position: relative;top: 20px;"
>
<a
href=
"###"
class=
"btn_01"
onclick=
"review(0);"
>
通过
<b></b></a>
<a
href=
"###"
class=
"btn_01"
onclick=
"review(1);"
>
退回
<b></b></a>
}
</script>
</head>
<body>
<form
name=
"myform"
method=
"post"
>
<div
class=
"page_dialog"
>
<div
class=
"inner6px"
>
<div
class=
"cell"
style=
"width: ${tableWidth}"
>
<table
width=
"100%"
>
<tr>
<td
colspan=
"4"
height=
"100px"
style=
"text-align:center"
>
<a
href=
"#"
class=
"btn_01"
onclick=
"doPrint()"
>
打印预览
<b></b></a>
<a
href=
"#"
class=
"btn_01"
onclick=
"parent.close_win('win_paymentVoucher');"
>
关闭
<b></b></a>
</td>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<script
type=
"text/javascript"
>
</form>
$
(
function
()
{
//应缴金额
var
nums
=
document
.
getElementsByClassName
(
'db-nums'
)
var
money
=
0
for
(
var
i
=
0
;
i
<
nums
.
length
;
i
++
)
{
money
+=
Number
(
$
(
nums
[
i
]).
text
())
}
$
(
'.yjje-hj'
).
append
(
money
)
//应缴面积
var
numsje
=
document
.
getElementsByClassName
(
'line-yjmj'
)
var
mj
=
0
for
(
var
i
=
0
;
i
<
numsje
.
length
;
i
++
)
{
mj
+=
Number
(
$
(
numsje
[
i
]).
text
())
}
$
(
'.yjmj-hj'
).
append
(
mj
)
})
function
review
(
flag
)
{
<div
id=
"page1"
class=
'only_for_print pagestyle'
style=
'width:210mm;height:140mm;position:relative;'
>
var
id
=
$
(
"input[name='fstzsXm.id']"
).
val
();
<img
class=
'screen-only'
src=
"${ctx}/images/img/cw.jpg"
style=
"position:absolute;width:100%;height:100%"
/>
$
.
ajax
({
<div
id=
'f1'
draggable=
'true'
async
:
false
,
class=
'f1'
>
缴款人全称
url
:
"${ctx}/jsp/fstzs/checkReviewFstzs.action?flag="
+
flag
,
</div>
type
:
'post'
,
<div
id=
'f2'
draggable=
'true'
dataType
:
'json'
,
class=
'f2'
>
缴款人账号
async
:
false
,
</div>
data
:
{
<div
id=
'f3'
draggable=
'true'
'fstzsXm.id'
:
id
,
class=
'f3'
>
缴款人开户银行
flag
:
flag
</div>
},
<div
id=
'f4'
draggable=
'true'
error
:
function
(
data
)
{
class=
'f4'
>
合计金额小写
$
.
messager
.
alert
(
'错误'
,
data
.
message
);
</div>
},
<div
id=
'f5'
draggable=
'true'
success
:
function
(
data
)
{
class=
'f5'
>
合计金额大写
if
(
data
.
result
)
{
</div>
document
.
myform1
.
action
=
"reviewFstzs.action?flag="
+
flag
;
<div
id=
'f6'
draggable=
'true'
document
.
myform1
.
submit
();
class=
'f6'
>
备注
}
else
{
</div>
$
.
messager
.
alert
(
'错误'
,
'验证失败,'
+
data
.
message
);
<div
id=
'f7'
draggable=
'true'
return
;
class=
'f7'
>
项目编码
}
</div>
}
<div
id=
'f8'
draggable=
'true'
});
class=
'f8'
>
数量
}
</div>
<div
id=
'f9'
draggable=
'true'
class=
'f9'
>
金额
</div>
</div>
</script>
<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>
</body>
</html>
</html>
WebRoot/images/img/cw.jpg
0 → 100644
View file @
8d487411
237 KB
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