Commit def078cb authored by 彭令令's avatar 彭令令

24450 支持未享受缓缴的企业办理退税:url不影响接下来接口调用

parent 15e0bd33
......@@ -1428,7 +1428,7 @@ var JSTOOL = function() {
if (data.returnCode == '00') {
if (data.content=="Y") {
// 获取url接口
var url="";
var uRL="";
$.ajax({
type: "post",
url: config.url + "/online/declare/getGovernmentWebsite",
......@@ -1440,7 +1440,10 @@ var JSTOOL = function() {
},
success: function(data) { //
if (data.ifSuccess == true) {
url = data.uRL
uRL = data.uRL
}
},
})
var czlxbz = ""
myConfirmNoclose("提示", "hhhhhhhhhhhhhh", "去退税", "不再提示", function (result) {
if (result) {
......@@ -1461,7 +1464,7 @@ var JSTOOL = function() {
if (data.returnCode == "00") {
console.log('调用成功')
if (czlxbz=='1') {
window.location.href=url
window.location.href=uRL
}
}else {
if (data.returnMessage != undefined) {
......@@ -1474,9 +1477,6 @@ var JSTOOL = function() {
})
})
}
},
})
}
}else {
if (data.returnMessage != undefined) {
alertWarning(data.returnMessage);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment