Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zxtb_to_ssfwpt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Bugzilla
Bugzilla
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
卢世豪
zxtb_to_ssfwpt
Commits
6eeffec5
Commit
6eeffec5
authored
Sep 22, 2021
by
彭令令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取列表参数调整
parent
87f62335
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
declare_grid.js
static/biz/declare_grid.js
+20
-2
No files found.
static/biz/declare_grid.js
View file @
6eeffec5
...
...
@@ -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
==
'2021
0901
'
)
{
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment