Commit 6eeffec5 authored by 彭令令's avatar 彭令令

获取列表参数调整

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