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

24450 支持未享受缓缴的企业办理退税:出现url报错,选择“不再提示”继续调保存接口

parent 054b61ff
...@@ -1453,35 +1453,34 @@ var JSTOOL = function() { ...@@ -1453,35 +1453,34 @@ var JSTOOL = function() {
}else { }else {
czlxbz = "3" czlxbz = "3"
} }
$.ajax({ if (successIf || czlxbz=="3") {
type: "post", $.ajax({
url: config.url + "/online/zxtb/saveHjtsCzlx", type: "post",
dataType: "json", // 请求方式为jsonp url: config.url + "/online/zxtb/saveHjtsCzlx",
// async: false, dataType: "json", // 请求方式为jsonp
data: { // async: false,
djxh: param, data: {
czlx:czlxbz, djxh: param,
}, czlx:czlxbz,
success: function(data) { // },
if (data.returnCode == "00") { success: function(data) { //
console.log('调用成功') if (data.returnCode == "00") {
if (czlxbz=='1') { console.log('调用成功')
if (successIf) { if (czlxbz=='1') {
window.location.href=uRL window.location.href=uRL
}else {
alertWarning(uRL);
} }
}else {
if (data.returnMessage != undefined) {
alertWarning(data.returnMessage);
} else {
alertWarning(data.errmsg);
}
} }
}else { },
if (data.returnMessage != undefined) { })
alertWarning(data.returnMessage); }else {
} else { alertWarning(uRL);
alertWarning(data.errmsg); }
}
}
},
})
}) })
} }
}else { }else {
......
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