Commit 054b61ff authored by 彭令令's avatar 彭令令

24450 支持未享受缓缴的企业办理退税:url返回错误弹出提示

parent def078cb
......@@ -1429,6 +1429,7 @@ var JSTOOL = function() {
if (data.content=="Y") {
// 获取url接口
var uRL="";
var successIf =""
$.ajax({
type: "post",
url: config.url + "/online/declare/getGovernmentWebsite",
......@@ -1439,7 +1440,8 @@ var JSTOOL = function() {
operationType: 'tstssq',
},
success: function(data) { //
if (data.ifSuccess == true) {
if (data.uRL) {
successIf = data.ifSuccess
uRL = data.uRL
}
},
......@@ -1464,7 +1466,12 @@ var JSTOOL = function() {
if (data.returnCode == "00") {
console.log('调用成功')
if (czlxbz=='1') {
if (successIf) {
window.location.href=uRL
}else {
alertWarning(uRL);
}
}
}else {
if (data.returnMessage != undefined) {
......
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