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
3f51d959
Commit
3f51d959
authored
Sep 29, 2021
by
彭令令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
所得税弹窗djxh入参更改
parent
ee3d3b6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
declare_grid.js
static/biz/declare_grid.js
+6
-4
syntheticalReport_grid.js
static/biz/syntheticalReport_grid.js
+4
-4
No files found.
static/biz/declare_grid.js
View file @
3f51d959
...
...
@@ -39,6 +39,7 @@ function getInitTable() {
companyInfo
.
bean
.
return
=
true
;
/* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
config
.
return
=
true
;
initpage
=
initPage
(
companyInfo
.
bean
);
var
djxhbz
=
companyInfo
.
bean
.
djxh
var
skssq
for
(
var
i
in
companyInfo
.
bean
.
taxInfos
)
{
if
(
companyInfo
.
bean
.
taxInfos
[
i
].
bblxDm
==
'10401'
)
{
...
...
@@ -46,7 +47,7 @@ function getInitTable() {
}
}
if
(
skssq
)
{
getJjkjTag
(
companyInfo
.
bean
.
sbsq
.
replace
(
/
\-
/g
,
""
),
skssq
)
getJjkjTag
(
djxhbz
,
companyInfo
.
bean
.
sbsq
.
replace
(
/
\-
/g
,
""
),
skssq
)
}
}
else
{
...
...
@@ -84,14 +85,14 @@ function getInitTable() {
})
}
// 获取研发费用加计扣减标志
function
getJjkjTag
(
nsrsbq
,
sbsq
)
{
function
getJjkjTag
(
djxh
,
nsrsbq
,
sbsq
)
{
$
.
ajax
({
type
:
"post"
,
url
:
config
.
url
+
"/online/zxtb/get_yffyjjkcbz"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false
data
:
{
djxh
:
getUrlParam
(
"djxh"
)
,
djxh
:
djxh
,
nsrsbq
:
nsrsbq
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
...
...
@@ -303,6 +304,7 @@ function initPage(companyInfo) {
}
drawGrid
(
data
.
bean
);
companyInfo
=
data
.
bean
;
var
djxhbz
=
companyInfo
.
djxh
zjhm
=
companyInfo
.
zjhm
config
.
value
=
companyInfo
.
value
;
if
(
type
==
'Y'
)
{
...
...
@@ -315,7 +317,7 @@ function initPage(companyInfo) {
}
}
if
(
skssq
)
{
getJjkjTag
(
sbqDate
.
replace
(
/
\-
/g
,
""
),
skssq
)
getJjkjTag
(
djxhbz
,
sbqDate
.
replace
(
/
\-
/g
,
""
),
skssq
)
}
}
else
{
if
(
data
.
errmsg
!=
undefined
)
{
...
...
static/biz/syntheticalReport_grid.js
View file @
3f51d959
...
...
@@ -82,7 +82,7 @@ function getInitTable() {
config
.
return
=
true
;
initpage
=
initPage
(
companyInfo
.
bean
);
if
(
skssq
)
{
getJjkjTag
(
companyInfo
.
bean
.
sbsq
.
replace
(
/
\-
/g
,
""
),
skssq
)
getJjkjTag
(
djxh
,
companyInfo
.
bean
.
sbsq
.
replace
(
/
\-
/g
,
""
),
skssq
)
}
}
else
{
hideLoading
();
...
...
@@ -119,14 +119,14 @@ function getInitTable() {
}
// pll 所得税弹框
// 获取研发费用加计扣减标志
function
getJjkjTag
(
nsrsbq
,
sbsq
)
{
function
getJjkjTag
(
djxh
,
nsrsbq
,
sbsq
)
{
$
.
ajax
({
type
:
"post"
,
url
:
config
.
url
+
"/online/zxtb/get_yffyjjkcbz"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false
data
:
{
djxh
:
getUrlParam
(
"djxh"
)
,
djxh
:
djxh
,
nsrsbq
:
nsrsbq
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
...
...
@@ -345,7 +345,7 @@ function initPage(companyInfo) {
myAlert
(
"提示"
,
"重置清册成功"
,
"确定"
)
}
if
(
skssq
)
{
getJjkjTag
(
sbqDate
.
replace
(
/
\-
/g
,
""
),
skssq
)
getJjkjTag
(
djxh
,
sbqDate
.
replace
(
/
\-
/g
,
""
),
skssq
)
}
}
else
{
if
(
data
.
errmsg
!=
undefined
)
{
...
...
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