Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zxtb_to_ssfwpt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Bugzilla
Bugzilla
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
卢世豪
zxtb_to_ssfwpt
Commits
123e3ed2
Commit
123e3ed2
authored
May 18, 2020
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试页面公共方法登记序号修改传值
parent
afa01da3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
107 additions
and
8 deletions
+107
-8
index.html
index.html
+12
-8
index.html
jsp/amend/index.html
+95
-0
No files found.
index.html
View file @
123e3ed2
...
@@ -71,16 +71,20 @@
...
@@ -71,16 +71,20 @@
$
(
function
(){
$
(
function
(){
//按期申报
//按期申报
var
btnObj1
=
$
(
"#delcareBtn"
);
var
btnObj1
=
$
(
"#delcareBtn"
);
declareFun
(
btnObj1
,
"declare"
);
var
djxhNumber1
=
$
(
"#form_djxh"
)
declareFun
(
btnObj1
,
djxhNumber1
,
"declare"
);
//更正申报
//更正申报
var
btnObj2
=
$
(
"#amendBtn"
);
var
btnObj2
=
$
(
"#amendBtn"
);
declareFun
(
btnObj2
,
"amend"
);
var
djxhNumber2
=
$
(
"#form_djxh_amend"
);
declareFun
(
btnObj2
,
djxhNumber2
,
"amend"
);
//逾期申报
//逾期申报
var
btnObj3
=
$
(
"#overdueBtn"
);
var
btnObj3
=
$
(
"#overdueBtn"
);
declareFun
(
btnObj3
,
"overdue"
);
var
djxhNumber3
=
$
(
"#form_djxh_overdue"
);
declareFun
(
btnObj3
,
djxhNumber3
,
"overdue"
);
//清册注销
//清册注销
var
btnObj4
=
$
(
"#cancellationBtn"
);
var
btnObj4
=
$
(
"#cancellationBtn"
);
declareFun
(
btnObj4
,
"cancellation"
);
var
djxhNumber4
=
$
(
"#form_djxh_cancellation"
);
declareFun
(
btnObj4
,
djxhNumber4
,
"cancellation"
);
// $("#delcareBtn").click(function(){
// $("#delcareBtn").click(function(){
// $.ajax({
// $.ajax({
// type: "GET",
// type: "GET",
...
@@ -103,22 +107,22 @@
...
@@ -103,22 +107,22 @@
// });
// });
//四个按钮请求的公共方法
//四个按钮请求的公共方法
function
declareFun
(
btnObj
,
param
)
{
function
declareFun
(
btnObj
,
djxhNumber
,
param
)
{
btnObj
.
click
(
function
(){
btnObj
.
click
(
function
(){
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
url
:
url
+
"/online_report/"
+
param
,
url
:
url
+
"/online_report/"
+
param
,
dataType
:
"json"
,
// 请求方式为jsonp
dataType
:
"json"
,
// 请求方式为jsonp
data
:
{
data
:
{
djxh
:
$
(
"#form_djxh"
)
.
val
()
djxh
:
djxhNumber
.
val
()
},
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
localStorage
.
setItem
(
"djxh"
,
$
(
"#form_djxh"
)
.
val
());
localStorage
.
setItem
(
"djxh"
,
djxhNumber
.
val
());
if
(
data
.
success
)
{
if
(
data
.
success
)
{
if
(
param
==
"declare"
)
{
if
(
param
==
"declare"
)
{
window
.
location
.
href
=
"/jsp/declare/index.html"
;
window
.
location
.
href
=
"/jsp/declare/index.html"
;
}
else
if
(
param
==
"amend"
)
{
}
else
if
(
param
==
"amend"
)
{
window
.
location
.
href
=
"/jsp/amend/index.html"
;
}
else
if
(
param
==
"overdue"
)
{
}
else
if
(
param
==
"overdue"
)
{
}
else
if
(
param
==
"cancellation"
)
{
}
else
if
(
param
==
"cancellation"
)
{
...
...
jsp/amend/index.html
0 → 100644
View file @
123e3ed2
<!DOCTYPE HTML>
<html>
<head>
<mete
charset=
'UTF-8'
>
<link
href=
"/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<!--分页-->
<link
rel=
"stylesheet"
href=
"/static/tools/css/paging-table.css"
/>
<!--下拉选择-->
<link
rel=
"stylesheet"
href=
"/static/tools/css/select.css"
/>
<!--table样式-->
<link
rel=
"stylesheet"
href=
"/static/tools/css/table.css"
/>
<!--样式-->
<link
rel=
"stylesheet"
href=
"/static/tools/css/encapsulation.css"
/>
<!--时间插件-->
<link
rel=
"stylesheet"
href=
"/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<!--declare-->
<link
rel=
"stylesheet"
href=
"/static/css/amend/amend.css"
/>
<title>
申报更正
</title>
</head>
<body>
<div
class=
"div-border father-div"
>
<div
class=
"div-border first-child-div"
>
<div
class=
"div-float"
></div>
<div
class=
"div-float-middle"
>
<div
style=
"padding-bottom: 16px;height: 55px;"
>
<img
class=
"img-img"
src=
"static/tools/images/sbgz.png"
>
<span
class=
"span-title"
>
申报更正
</span>
</div>
<!-- <div>
<div style="padding-bottom: 20px;">
<span style="">申报表种类:</span>
<select id="taxName">
</select>
</div>
</div> -->
<div
style=
"padding-top: 15px;"
>
<!-- <span>申报日期起止:</span>
<input readonly id="declarationDateStart" name="declarationDateStart" style="width: 10%; display: inline;" type="text" value="" class="Wdate checkId-input check-items-birthday form-control" onfocus="WdatePicker({isShowClear:false,dateFmt:'yyyy-MM-dd'})">
<span> - </span>
<input readonly id="declarationDateEnd" name="declarationDateEnd" style="width: 10%; display: inline;" type="text" value="" class="Wdate checkId-input check-items-birthday form-control" onfocus="WdatePicker({isShowClear:false,dateFmt:'yyyy-MM-dd'})"> -->
<span>
税款所属期起止:
</span>
<input
readonly
id=
"durationOfTaxStart"
name=
"durationOfTaxStart"
style=
"width: 10%; display: inline;min-width: 150px"
type=
"text"
class=
"Wdate checkId-input check-items-birthday form-control"
onfocus=
"WdatePicker({isShowClear:false,dateFmt:'yyyy-MM-dd'})"
>
<span>
-
</span>
<input
readonly
id=
"durationOfTaxEnd"
name=
"durationOfTaxEnd"
style=
"width: 10%; display: inline;min-width: 150px"
type=
"text"
class=
"Wdate checkId-input check-items-birthday form-control"
onfocus=
"WdatePicker({isShowClear:false,dateFmt:'yyyy-MM-dd'})"
>
<input
class=
"btn btn-primary btn-search margin-left"
style=
"margin-top: -5px;"
type=
"button"
id=
"getAmendData"
value=
"查询"
/>
</div>
<div
style=
"height:16px;"
></div>
<div
id=
"taxAmendGrid"
></div>
<div
id=
"father-paging"
style=
"width:98.7%;height: 40px;background-color: #F5F5F5;margin-left: 4px;"
>
<div
style=
"float:right;margin-right: 15px;"
id=
"taxAmendPaging"
class=
"page_divContainer"
>
<div
class=
"div-float"
></div>
</div>
</div>
<div
style=
"padding-top: 50px;"
>
<div
class=
"font-clo"
>
温馨提示:
</div>
<div><span
class=
"span-font-size"
>
1、本功能主要用于更正当期或往期已申报的申报表(税款属期2017年01月01日以后(含))
</span></div>
</div>
<!--跳转需要传递的参数-->
<form
action=
"/amend/toGzPzzl"
method=
"POST"
target=
"_blank"
id=
"changeForm_amend"
>
<input
type=
'hidden'
name=
'data'
id=
"changeForm_data"
>
<!-- <input type='hidden' name='token' id="changeForm_token">
<input type='hidden' name='pzzlDm' id="changeForm_pzzlDm">
<input type='hidden' name='sssqQ' id="changeForm_sssqQ">
<input type='hidden' name='sssqZ' id="changeForm_sssqZ">
<input type='hidden' name='sbbsx' id="changeForm_sbbsx"> -->
</form>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
<script
src=
"/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<script
src=
"/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<script
src=
"/static/tools/js/bootstrap.js?v=1.1"
></script>
<script
src=
"/static/tools/js/encapsulation.js?v=1.3"
></script>
<script
src=
"/static/tools/js/minScroll.js?v=1.1"
></script>
<script
src=
"/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"
></script>
<script
src=
"/static/biz/amend_grid.js?v=1.0"
></script>
<script>
//
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
var
companyInfo
=
$
{
json
};
if
(
companyInfo
.
success
)
{
var
initpage
=
initPage
(
companyInfo
.
bean
);
}
else
{
alertWarning
(
"请求失败!"
);
// 弹出错误对话框
}
// -->
</script>
</body>
</html>
\ No newline at end of file
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