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
def078cb
Commit
def078cb
authored
Mar 16, 2022
by
彭令令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
24450 支持未享受缓缴的企业办理退税:url不影响接下来接口调用
parent
15e0bd33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
34 deletions
+34
-34
encapsulation.js
static/tools/js/encapsulation.js
+34
-34
No files found.
static/tools/js/encapsulation.js
View file @
def078cb
...
@@ -1428,7 +1428,7 @@ var JSTOOL = function() {
...
@@ -1428,7 +1428,7 @@ var JSTOOL = function() {
if
(
data
.
returnCode
==
'00'
)
{
if
(
data
.
returnCode
==
'00'
)
{
if
(
data
.
content
==
"Y"
)
{
if
(
data
.
content
==
"Y"
)
{
// 获取url接口
// 获取url接口
var
u
rl
=
""
;
var
u
RL
=
""
;
$
.
ajax
({
$
.
ajax
({
type
:
"post"
,
type
:
"post"
,
url
:
config
.
url
+
"/online/declare/getGovernmentWebsite"
,
url
:
config
.
url
+
"/online/declare/getGovernmentWebsite"
,
...
@@ -1440,42 +1440,42 @@ var JSTOOL = function() {
...
@@ -1440,42 +1440,42 @@ var JSTOOL = function() {
},
},
success
:
function
(
data
)
{
//
success
:
function
(
data
)
{
//
if
(
data
.
ifSuccess
==
true
)
{
if
(
data
.
ifSuccess
==
true
)
{
url
=
data
.
uRL
uRL
=
data
.
uRL
var
czlxbz
=
""
myConfirmNoclose
(
"提示"
,
"hhhhhhhhhhhhhh"
,
"去退税"
,
"不再提示"
,
function
(
result
)
{
if
(
result
)
{
czlxbz
=
"1"
}
else
{
czlxbz
=
"3"
}
$
.
ajax
({
type
:
"post"
,
url
:
config
.
url
+
"/online/zxtb/saveHjtsCzlx"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
param
,
czlx
:
czlxbz
,
},
success
:
function
(
data
)
{
//
if
(
data
.
returnCode
==
"00"
)
{
console
.
log
(
'调用成功'
)
if
(
czlxbz
==
'1'
)
{
window
.
location
.
href
=
url
}
}
else
{
if
(
data
.
returnMessage
!=
undefined
)
{
alertWarning
(
data
.
returnMessage
);
}
else
{
alertWarning
(
data
.
errmsg
);
}
}
},
})
})
}
}
},
},
})
})
var
czlxbz
=
""
myConfirmNoclose
(
"提示"
,
"hhhhhhhhhhhhhh"
,
"去退税"
,
"不再提示"
,
function
(
result
)
{
if
(
result
)
{
czlxbz
=
"1"
}
else
{
czlxbz
=
"3"
}
$
.
ajax
({
type
:
"post"
,
url
:
config
.
url
+
"/online/zxtb/saveHjtsCzlx"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
param
,
czlx
:
czlxbz
,
},
success
:
function
(
data
)
{
//
if
(
data
.
returnCode
==
"00"
)
{
console
.
log
(
'调用成功'
)
if
(
czlxbz
==
'1'
)
{
window
.
location
.
href
=
uRL
}
}
else
{
if
(
data
.
returnMessage
!=
undefined
)
{
alertWarning
(
data
.
returnMessage
);
}
else
{
alertWarning
(
data
.
errmsg
);
}
}
},
})
})
}
}
}
else
{
}
else
{
if
(
data
.
returnMessage
!=
undefined
)
{
if
(
data
.
returnMessage
!=
undefined
)
{
...
...
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