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
c37c1c39
Commit
c37c1c39
authored
Jun 05, 2020
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index.html
parent
8649837a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
index.html
index.html
+13
-4
No files found.
index.html
View file @
c37c1c39
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<ul>
<ul>
<li>
<li>
<lable>
测试纳税人登记序号:
</lable><input
type=
"text"
name=
"djxh"
id=
"form_djxh"
/></li>
<lable>
测试纳税人登记序号:
</lable><input
type=
"text"
name=
"djxh"
id=
"form_djxh"
/></li>
<li><label>
凭证种类代码:
</label><input
type=
"text"
name=
"pzzlDm"
id=
"form_pzzlDm"
/></li>
<li><label>
纳税人识别号
</label><input
type=
"text"
name=
"pzzlDm"
id=
"form_pzzlDm"
/></li>
<li><label>
申报期:
</label><input
type=
"text"
name=
"sbq"
id=
"form_sbq"
/></li>
<li><label>
申报期:
</label><input
type=
"text"
name=
"sbq"
id=
"form_sbq"
/></li>
</ul>
</ul>
...
@@ -69,12 +69,15 @@
...
@@ -69,12 +69,15 @@
<script>
<script>
// localStorage.setItem("url", "http://localhost:7070");
// localStorage.setItem("url", "http://localhost:7070");
localStorage
.
setItem
(
"url"
,
"http://sbjs.tjsat.gov.cn:18090"
);
localStorage
.
setItem
(
"url"
,
"http://sbjs.tjsat.gov.cn:18090"
);
//涉税
// localStorage.setItem("url", "http://192.168.101.201:8091");
var
url
=
localStorage
.
getItem
(
"url"
);
var
url
=
localStorage
.
getItem
(
"url"
);
$
(
function
(){
$
(
function
(){
//按期申报
//按期申报
var
btnObj1
=
$
(
"#delcareBtn"
);
var
btnObj1
=
$
(
"#delcareBtn"
);
var
djxhNumber1
=
$
(
"#form_djxh"
)
var
djxhNumber1
=
$
(
"#form_djxh"
)
declareFun
(
btnObj1
,
djxhNumber1
,
"declare"
);
var
sbh
=
$
(
"#form_pzzlDm"
);
declareFun
(
btnObj1
,
djxhNumber1
,
sbh
,
"declare"
);
//更正申报
//更正申报
var
btnObj2
=
$
(
"#amendBtn"
);
var
btnObj2
=
$
(
"#amendBtn"
);
var
djxhNumber2
=
$
(
"#form_djxh_amend"
);
var
djxhNumber2
=
$
(
"#form_djxh_amend"
);
...
@@ -109,17 +112,23 @@
...
@@ -109,17 +112,23 @@
// });
// });
//四个按钮请求的公共方法
//四个按钮请求的公共方法
function
declareFun
(
btnObj
,
djxhNumber
,
param
)
{
function
declareFun
(
btnObj
,
djxhNumber
,
sbh
,
param
)
{
btnObj
.
click
(
function
(){
btnObj
.
click
(
function
(){
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
url
:
url
+
"/online_report/"
+
param
,
url
:
url
+
"/online_report/"
+
param
,
// url: url+"/ssfwpt/" + param + '/index',
dataType
:
"json"
,
// 请求方式为jsonp
dataType
:
"json"
,
// 请求方式为jsonp
data
:
{
data
:
{
djxh
:
djxhNumber
.
val
()
djxh
:
djxhNumber
.
val
(),
// nsrsbh: sbh.val() ? sbh.val() : '',
// token: '',
// sbsq: '',
// pzzlDm: ''
},
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
localStorage
.
setItem
(
"djxh"
,
djxhNumber
.
val
());
localStorage
.
setItem
(
"djxh"
,
djxhNumber
.
val
());
localStorage
.
setItem
(
"nsrsbh"
,
sbh
.
val
()
?
sbh
.
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"
;
...
...
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