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

去掉弹框缓存,改为多次弹出

parent 6eb1f874
......@@ -45,7 +45,7 @@ function getInitTable() {
skssq = companyInfo.bean.taxInfos[i].sksssjz
}
}
if (skssq && localStorage.getItem('isShow')!='Y') {
if (skssq) {
getJjkjTag(companyInfo.bean.sbsq.replace(/\-/g, ""),skssq)
}
......@@ -101,7 +101,7 @@ function getJjkjTag(nsrsbq,sbsq) {
// console.log('9月7号这个接口返回成功啦!!!!')
if (companyInfo.content == 'Y' && sbsq == '20210930') {
myAlert("提示", "按照最新政策规定,企业(负面清单行业除外)自2021年三季度预缴开始,可就前三季度研发费用申报享受加计扣除。同时,制造业享受研发费用加计扣除比例由75%提高到100%。", "确定");
localStorage.setItem('isShow','Y')
// localStorage.setItem('isShow','Y')
}
} else {
hideLoading();
......@@ -314,7 +314,7 @@ function initPage(companyInfo) {
skssq = data.bean.taxInfos[i].sksssjz
}
}
if (skssq && localStorage.getItem('isShow')!='Y') {
if (skssq) {
getJjkjTag(sbqDate.replace(/\-/g, ""),skssq)
}
} else {
......
......@@ -81,7 +81,7 @@ function getInitTable() {
companyInfo.bean.return = true; /* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
config.return = true;
initpage = initPage(companyInfo.bean);
if (skssq && localStorage.getItem('isShow')!='Y') {
if (skssq) {
getJjkjTag(companyInfo.bean.sbsq.replace(/\-/g, ""),skssq)
}
} else {
......@@ -136,7 +136,6 @@ function getJjkjTag(nsrsbq,sbsq) {
// console.log('9月7号这个接口返回成功啦!!!!')
if (companyInfo.content == 'Y' && sbsq == '20210930') {
myAlert("提示", "按照最新政策规定,企业(负面清单行业除外)自2021年三季度预缴开始,可就前三季度研发费用申报享受加计扣除。同时,制造业享受研发费用加计扣除比例由75%提高到100%。", "确定");
localStorage.setItem('isShow','Y')
}
} else {
hideLoading();
......@@ -345,7 +344,7 @@ function initPage(companyInfo) {
if (type == 'Y') {
myAlert("提示", "重置清册成功", "确定")
}
if (skssq && localStorage.getItem('isShow')!='Y') {
if (skssq) {
getJjkjTag(sbqDate.replace(/\-/g, ""),skssq)
}
} 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