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
6ed0c40b
Commit
6ed0c40b
authored
Nov 18, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
7b2c23f5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
212 additions
and
195 deletions
+212
-195
Fstzs_Add.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_Add.jsp
+179
-172
Fstzs_Dsc.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_Dsc.jsp
+1
-1
Fstzs_Ysc.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_Ysc.jsp
+1
-1
FstzsAction.java
src/com/jshx/fstzs/web/FstzsAction.java
+31
-21
No files found.
WebRoot/WEB-INF/pages/fstzs/Fstzs_Add.jsp
View file @
6ed0c40b
...
...
@@ -72,183 +72,189 @@
<body
validform=
"true"
>
<div
class=
"page_dialog"
>
<div
class=
"inner6px"
>
<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>
<tr>
<th
width=
"15"
>
工程项目名称
</th>
<td
width=
"35%"
>
<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}"
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
缴款人账号
</th>
<td
width=
"35%"
>
<input
id=
"zhanghao"
name=
"fstzsXm.zhanghao"
style=
"width:90%"
value=
"${fstzsXm.zhanghao}"
/>
</td>
<th
width=
"15"
>
缴款人开户银行
</th>
<td
width=
"35%"
>
<input
id=
"khh"
name=
"fstzsXm.khh"
style=
"width:90%"
value=
"${fstzsXm.khh}"
/>
</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}"
/>
</td>
</tr>
</table>
<div
style=
"margin-top: 20px;"
>
<div
class=
"add-title"
>
配套费
</div>
<table
class=
"add-table"
>
<thead>
<tr>
<th>
序号
</th>
<th>
缴款人
</th>
<th>
计量单位
</th>
<th>
收费标准
</th>
<th>
应缴面积
</th>
<th>
应缴金额
</th>
<th
id=
"addOneRow"
><img
src=
"${ctx}/images/img/edit_add.png"
alt=
""
></th>
</tr>
</thead>
<tbody
class=
"add-tr"
>
<tr
class=
""
>
<td
class=
"line-one line-xh"
>
1
</td>
<td
class=
" line-input"
><span
class=
"db-num db-num-text"
></span><input
class=
"db-input line-input-text"
type=
"text"
/></td>
<td
class=
"line-one"
>
元
</td>
<td
class=
"line-one"
>
150
</td>
<td
class=
"line-one line-yjmj"
></td>
<td
class=
"line-input"
><span
class=
"db-num db-nums"
></span><input
class=
"db-input db-money"
type=
"text"
/></td>
<td><span
class=
"delOneRow"
><img
src=
"${ctx}/images/img/edit_remove.png"
alt=
""
></span></td>
</tr>
</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"
></td>
<td
class=
"line-all"
></td>
<td></td>
</tr>
</table>
</div>
<form
name=
"myform1"
method=
"post"
enctype=
"multipart/form-data"
>
<s:token
/>
<input
type=
"hidden"
name=
"flag"
value=
"${flag}"
>
<input
type=
"hidden"
name=
"rfxm.id"
value=
"${fstzsXm.id}"
>
<table
width=
"100%"
border=
"0"
class=
"fu-advice"
>
<c:if
test=
"${fstzsXm.status == 3}"
>
<tr
>
<td
width=
"0%"
style=
"width: 0%"
><div
class=
"add-title"
>
复核意见
</div></td>
<td
width=
"100%"
>
<textarea
id=
"fhyj"
name=
"fstzsXm.fhyj"
style=
"width:96%;margin-top: 6px;"
disabled
>
${fstzsXm.fhyj}
</textarea>
</td>
</tr>
</c:if>
<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>
<tr>
<th
width=
"15"
>
工程项目名称
</th>
<td
width=
"35%"
>
<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}"
/>
</td>
</tr>
<tr>
<th
width=
"15"
>
缴款人账号
</th>
<td
width=
"35%"
>
<input
id=
"zhanghao"
name=
"fstzsXm.zhanghao"
style=
"width:90%"
value=
"${fstzsXm.zhanghao}"
/>
</td>
<th
width=
"15"
>
缴款人开户银行
</th>
<td
width=
"35%"
>
<input
id=
"khh"
name=
"fstzsXm.khh"
style=
"width:90%"
value=
"${fstzsXm.khh}"
/>
</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>
<td
colspan=
"4"
align=
"center"
style=
"position: relative;top: 20px;"
>
<a
href=
"###"
class=
"btn_01"
onclick=
"tjFstzs()"
>
提交
<b></b></a>
<th
width=
"15"
>
区划码
</th>
<td
width=
"35%"
>
<input
id=
"qhm"
name=
"fstzsXm.kpsjgl.qhm"
style=
"width:90%"
value=
"${fstzsXm.kpsjgl.qhm}"
disabled
/>
<a
href=
"###"
class=
"btn_01"
onclick=
"parent.close_win('win_fstzs');"
>
关闭
<b></b></a>
</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}"
/>
</td>
</tr>
</table>
<div
style=
"margin-top: 20px;"
>
<div
class=
"add-title"
>
配套费
</div>
<table
class=
"add-table"
>
<thead>
<tr>
<th>
序号
</th>
<th>
缴款人
</th>
<th>
计量单位
</th>
<th>
收费标准
</th>
<th>
应缴面积
</th>
<th>
应缴金额
</th>
<th
id=
"addOneRow"
><img
src=
"${ctx}/images/img/edit_add.png"
alt=
""
></th>
</tr>
</thead>
<tbody
class=
"add-tr"
>
<tr
class=
""
>
<td
class=
"line-one line-xh"
>
1
</td>
<td
class=
" line-input"
><span
class=
"db-num db-num-text"
></span><input
class=
"db-input line-input-text"
type=
"text"
/></td>
<td
class=
"line-one"
>
元
</td>
<td
class=
"line-one"
>
150
</td>
<td
class=
"line-one line-yjmj"
></td>
<td
class=
"line-input"
><span
class=
"db-num db-nums"
></span><input
class=
"db-input db-money"
type=
"text"
/></td>
<td><span
class=
"delOneRow"
><img
src=
"${ctx}/images/img/edit_remove.png"
alt=
""
></span></td>
</tr>
</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"
></td>
<td
class=
"line-all"
></td>
<td></td>
</tr>
</table>
</div>
<table
width=
"100%"
border=
"0"
class=
"fu-advice"
>
<c:if
test=
"${fstzsXm.status == 3}"
>
<tr
>
<td
width=
"0%"
style=
"width: 0%"
><div
class=
"add-title"
>
复核意见
</div></td>
<td
width=
"100%"
>
<textarea
id=
"fhyj"
name=
"fstzsXm.fhyj"
style=
"width:96%;margin-top: 6px;"
disabled
>
${fstzsXm.fhyj}
</textarea>
</td>
</tr>
</c:if>
<tr>
<td
colspan=
"4"
align=
"center"
style=
"position: relative;top: 20px;"
>
<a
href=
"###"
class=
"btn_01"
onclick=
"tijiao()"
>
提交
<b></b></a>
<a
href=
"###"
class=
"btn_01"
onclick=
"parent.close_win('win_fstzs');"
>
关闭
<b></b></a>
</td>
</tr>
</table>
</div>
</div>
</form>
</div>
</div>
<script
type=
"text/javascript"
>
...
...
@@ -388,8 +394,9 @@
numf
=
Number
(
$
(
this
).
val
())
})
function
tjFstzs
()
{
function
tijiao
()
{
document
.
myform1
.
action
=
"addFstzs.action"
;
document
.
myform1
.
submit
();
}
</script>
...
...
WebRoot/WEB-INF/pages/fstzs/Fstzs_Dsc.jsp
View file @
6ed0c40b
...
...
@@ -8,7 +8,7 @@
function
addFstzs
(
id
){
var
dt
=
new
Date
();
createSimpleWindow
(
"win_fstzs"
,
"生成非税通知书"
,
"${ctx}/jsp/fstzs/winAddFstzs.action?id="
+
id
,
900
,
700
);
createSimpleWindow
(
"win_fstzs"
,
"生成非税通知书"
,
"${ctx}/jsp/fstzs/winAddFstzs.action?
flag=add&
id="
+
id
,
900
,
700
);
}
...
...
WebRoot/WEB-INF/pages/fstzs/Fstzs_Ysc.jsp
View file @
6ed0c40b
...
...
@@ -14,7 +14,7 @@
function
edit
(
id
){
var
dt
=
new
Date
();
createSimpleWindow
(
"win_fstzs"
,
"修改非税通知书"
,
"${ctx}/jsp/fstzs/winAddFstzs.action?id="
+
id
,
900
,
700
);
createSimpleWindow
(
"win_fstzs"
,
"修改非税通知书"
,
"${ctx}/jsp/fstzs/winAddFstzs.action?
flag=edit&
id="
+
id
,
900
,
700
);
}
...
...
src/com/jshx/fstzs/web/FstzsAction.java
View file @
6ed0c40b
...
...
@@ -42,6 +42,11 @@ public class FstzsAction extends BaseAction {
*/
Integer
status
;
String
id
;
/**
* 区别新增与编辑
* add/edit
*/
String
flag
;
/**
* 非税通知书项目生成通知书的时候,上传的列表
*/
...
...
@@ -171,27 +176,32 @@ public class FstzsAction extends BaseAction {
* @return
*/
public
String
addFstzs
()
{
FstzsXm
dbXm
=
fstzsXmService
.
getById
(
id
);
//更新数据库项目状态
dbXm
.
setStatus
(
1
);
//状态改为已生成、待复核
dbXm
.
setJbr
(
this
.
getLoginUser
().
getDisplayName
());
dbXm
.
setBeizhu
(
fstzsXm
.
getBeizhu
());
dbXm
.
setKhh
(
fstzsXm
.
getKhh
());
dbXm
.
setMobile
(
fstzsXm
.
getMobile
());
dbXm
.
setZhanghao
(
fstzsXm
.
getZhanghao
());
//TODO 添加多条记录到fstzs表
if
(
fstzsList
.
size
()
>
0
)
{
fstzsList
.
stream
().
map
(
i
->
{
i
.
setDelFlag
(
0
);
i
.
setStatus
(
0
);
i
.
setFstzsXm
(
fstzsXm
);
i
.
setGcxmmc
(
fstzsXm
.
getGcxmmc
());
i
.
setJsdwmc
(
fstzsXm
.
getJsdwmc
());
i
.
setSlbh
(
fstzsXm
.
getSlbh
());
return
i
;
}).
forEach
(
i
->
fstzsService
.
save
(
i
));
fstzsXmService
.
update
(
dbXm
);
return
RELOAD
;
if
(
"add"
.
equals
(
flag
))
{
FstzsXm
dbXm
=
fstzsXmService
.
getById
(
id
);
//更新数据库项目状态
dbXm
.
setStatus
(
1
);
//状态改为已生成、待复核
dbXm
.
setJbr
(
this
.
getLoginUser
().
getDisplayName
());
dbXm
.
setBeizhu
(
fstzsXm
.
getBeizhu
());
dbXm
.
setKhh
(
fstzsXm
.
getKhh
());
dbXm
.
setMobile
(
fstzsXm
.
getMobile
());
dbXm
.
setZhanghao
(
fstzsXm
.
getZhanghao
());
//TODO 添加多条记录到fstzs表
if
(
fstzsList
.
size
()
>
0
)
{
fstzsList
.
stream
().
map
(
i
->
{
i
.
setDelFlag
(
0
);
i
.
setStatus
(
0
);
i
.
setFstzsXm
(
fstzsXm
);
i
.
setGcxmmc
(
fstzsXm
.
getGcxmmc
());
i
.
setJsdwmc
(
fstzsXm
.
getJsdwmc
());
i
.
setSlbh
(
fstzsXm
.
getSlbh
());
return
i
;
}).
forEach
(
i
->
fstzsService
.
save
(
i
));
fstzsXmService
.
update
(
dbXm
);
return
RELOAD
;
}
}
else
{
//edit
}
return
ERROR
;
}
...
...
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