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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
5 deletions
+22
-5
Fstzs_Add.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_Add.jsp
+10
-3
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
+10
-0
No files found.
WebRoot/WEB-INF/pages/fstzs/Fstzs_Add.jsp
View file @
6ed0c40b
...
...
@@ -72,6 +72,11 @@
<body
validform=
"true"
>
<div
class=
"page_dialog"
>
<div
class=
"inner6px"
>
<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}"
>
<div
class=
"cell"
style=
"width: 100%"
>
<table
width=
"100%"
border=
"0"
class=
"ta-tb"
>
...
...
@@ -241,7 +246,7 @@
</c:if>
<tr>
<td
colspan=
"4"
align=
"center"
style=
"position: relative;top: 20px;"
>
<a
href=
"###"
class=
"btn_01"
onclick=
"tjFstzs
()"
>
提交
<b></b></a>
<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>
...
...
@@ -249,6 +254,7 @@
</table>
</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,6 +176,7 @@ public class FstzsAction extends BaseAction {
* @return
*/
public
String
addFstzs
()
{
if
(
"add"
.
equals
(
flag
))
{
FstzsXm
dbXm
=
fstzsXmService
.
getById
(
id
);
//更新数据库项目状态
dbXm
.
setStatus
(
1
);
//状态改为已生成、待复核
...
...
@@ -193,6 +199,10 @@ public class FstzsAction extends BaseAction {
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