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
1e323dff
Commit
1e323dff
authored
Sep 11, 2020
by
刘明珠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
operateType,开表标记补充
parent
84853bf1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
19 deletions
+12
-19
amend_grid.js
static/biz/amend_grid.js
+3
-2
cancellation_grid.js
static/biz/cancellation_grid.js
+3
-7
declare_grid.js
static/biz/declare_grid.js
+3
-7
overdue_grid.js
static/biz/overdue_grid.js
+3
-3
No files found.
static/biz/amend_grid.js
View file @
1e323dff
...
...
@@ -17,7 +17,6 @@ function initPage(companyInfo) {
getIEVersion
();
localStorage
.
setItem
(
"cancellation"
,
null
);
var
companyInfo
=
companyInfo
;
console
.
log
(
companyInfo
);
// 以下是初始化数据,用来缓存
var
initPagingNum
=
20
;
var
pagingData
=
[];
//存放分页数据
...
...
@@ -92,7 +91,9 @@ function initPage(companyInfo) {
},
jsonReady
:
ddt
,
callback
:
function
(
data
,
node
)
{
console
.
log
(
"一条数据信息"
,
data
)
if
(
companyInfo
.
operateType
!=
undefined
&&
companyInfo
.
operateType
!=
null
&&
companyInfo
.
operateType
!=
'undefined'
&&
companyInfo
.
operateType
!=
'null'
){
data
.
operateType
=
companyInfo
.
operateType
;
}
data
.
value
=
config
.
value
;
if
(
data
.
sourceFlag
==
"ssfwpt_sbzj"
)
{
window
.
mlistener
=
{
...
...
static/biz/cancellation_grid.js
View file @
1e323dff
...
...
@@ -71,7 +71,6 @@ function getInitTable(){
*/
function
initPage
(
companyInfo
)
{
getIEVersion
();
console
.
log
(
companyInfo
);
var
companyInfo
=
companyInfo
;
var
djxh
=
companyInfo
.
djxh
;
var
nowdate
=
""
;
// 存储当前选择的时间框;
...
...
@@ -195,6 +194,9 @@ function initPage(companyInfo) {
},
jsonReady
:
ddt
,
callback
:
function
(
data
,
node
)
{
if
(
companyInfo
.
operateType
!=
undefined
&&
companyInfo
.
operateType
!=
null
&&
companyInfo
.
operateType
!=
'undefined'
&&
companyInfo
.
operateType
!=
'null'
){
data
.
operateType
=
companyInfo
.
operateType
;
}
if
(
data
.
sbzt
==
"Y"
)
{
myAlert
(
"提示"
,
"当前申报表已经申报"
,
"确定"
)
return
false
;
...
...
@@ -218,7 +220,6 @@ function initPage(companyInfo) {
}
else
{
data
.
djxh
=
companyInfo
.
djxh
;
data
.
iszzsybjc
=
companyInfo
.
iszzsybjc
;
// 一表申报代码
data
.
operateType
=
companyInfo
.
operateType
;
//标志位
data
.
nsrsbh
=
companyInfo
.
nsrsbh
;
// 那随人识别号
// data.nssbq = nowdate;
data
.
checkTime
=
false
;
...
...
@@ -240,12 +241,8 @@ function initPage(companyInfo) {
var
str
=
location
.
href
;
str
=
str
.
split
(
"/"
)[
4
];
if
(
str
&&
"cancellation"
==
str
.
substring
(
0
,
12
))
{
console
.
log
(
"============"
,
str
)
localStorage
.
setItem
(
"cancellation"
,
str
.
substring
(
0
,
12
));
}
console
.
log
(
"■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■"
);
console
.
log
(
"data"
,
data
);
console
.
log
(
"■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■"
);
submitData
=
data
;
declarationMethod
(
"N"
)
}
...
...
@@ -398,7 +395,6 @@ function initPage(companyInfo) {
}
hideLoading
()
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
console
.
log
(
"请求成功"
,
data
)
submitData
.
flag
=
true
;
submitData
.
encryptKey
=
config
.
value
;
var
url
=
config
.
spreadUrl
+
"/online_report/declare/toPzzl?falg="
+
falg
...
...
static/biz/declare_grid.js
View file @
1e323dff
...
...
@@ -96,7 +96,6 @@ function initPage(companyInfo) {
* 展示税种申报信息
*/
var
showTax
=
function
(
taxInfo
)
{
// console.log(taxInfo,companyInfo);
if
(
taxInfo
.
length
>
0
)
{
for
(
var
i
=
0
;
i
<
taxInfo
.
length
;
i
++
)
{
if
(
taxInfo
[
i
].
sbrq
)
{
...
...
@@ -127,7 +126,6 @@ function initPage(companyInfo) {
name
:
"操作"
,
width
:
"10%"
}];
console
.
log
(
taxInfo
);
//渲染表
getTableDeclaration
(
id
,
order
,
headerList
,
taxInfo
,
buttonHtml
,
promptStatement
)
};
...
...
@@ -158,7 +156,9 @@ function initPage(companyInfo) {
},
jsonReady
:
ddt
,
callback
:
function
(
data
,
node
)
{
console
.
log
(
data
);
if
(
companyInfo
.
operateType
!=
undefined
&&
companyInfo
.
operateType
!=
null
&&
companyInfo
.
operateType
!=
'undefined'
&&
companyInfo
.
operateType
!=
'null'
){
data
.
operateType
=
companyInfo
.
operateType
;
}
data
.
value
=
config
.
value
;
if
(
data
.
sbzt
==
"Y"
)
{
myAlert
(
"提示"
,
"当前申报表已经申报"
,
"确定"
)
...
...
@@ -202,7 +202,6 @@ function initPage(companyInfo) {
submitData
=
data
;
if
(
node
.
context
.
innerText
==
"填写申报表"
&&
companyInfo
.
iszzsybjc
==
"01"
&&
data
.
pzzlDm
==
"10101"
)
{
// if(node.context.innerText=="填写申报表"){
console
.
log
(
initpage
)
initpage
.
declarationMethod
(
'N'
)
// $('#myMask').show();
// $('#myModal').show();
...
...
@@ -251,7 +250,6 @@ function initPage(companyInfo) {
// myAlert("提示", "正在获取初始化信息", "确定")
// },
}).
done
(
function
(
data
)
{
console
.
log
(
data
)
if
(
data
.
success
)
{
if
(
data
.
bean
.
url
==
"error.jsp"
)
{
myAlert
(
"提示"
,
data
.
bean
.
errorInfo
,
"确定"
)
...
...
@@ -286,7 +284,6 @@ function initPage(companyInfo) {
$
.
each
(
bean
.
financialInfos
,
function
(
i
,
item
)
{
bean
.
taxInfos
.
push
(
item
);
});
console
.
log
(
bean
)
if
(
bean
.
taxInfos
.
length
==
0
)
{
showTax
(
bean
.
taxInfos
);
alertInfo
(
"税费申报暂无数据"
);
...
...
@@ -320,7 +317,6 @@ function initPage(companyInfo) {
var
declarationMethod
=
function
(
statu
)
{
submitData
.
ybjcState
=
statu
;
submitData
.
value
=
config
.
value
;
console
.
log
(
submitData
.
sourceFlag
,
submitData
.
sourceFlag
.
indexOf
(
"sbzj"
)
!=
-
1
)
//需要判断在线还是税表的开关
if
(
submitData
.
sourceFlag
==
"ssfwpt_sbzj"
)
{
window
.
mlistener
=
{
...
...
static/biz/overdue_grid.js
View file @
1e323dff
...
...
@@ -13,7 +13,6 @@
function
initPage
(
companyInfo
)
{
getIEVersion
();
localStorage
.
setItem
(
"cancellation"
,
null
);
console
.
log
(
companyInfo
);
var
companyInfo
=
companyInfo
;
var
djxh
=
companyInfo
.
djxh
;
...
...
@@ -134,6 +133,9 @@ function initPage(companyInfo) {
},
jsonReady
:
ddt
,
callback
:
function
(
data
,
node
)
{
if
(
companyInfo
.
operateType
!=
undefined
&&
companyInfo
.
operateType
!=
null
&&
companyInfo
.
operateType
!=
'undefined'
&&
companyInfo
.
operateType
!=
'null'
){
data
.
operateType
=
companyInfo
.
operateType
;
}
if
(
data
.
sbzt
==
"Y"
)
{
myAlert
(
"提示"
,
"当前申报表已经申报"
,
"确定"
)
return
false
;
...
...
@@ -156,7 +158,6 @@ function initPage(companyInfo) {
})
}
else
{
data
.
djxh
=
djxh
;
data
.
operateType
=
operateType
;
data
.
iszzsybjc
=
companyInfo
.
iszzsybjc
;
// 一表申报代码
data
.
nsrsbh
=
companyInfo
.
nsrsbh
;
// 那随人识别号
data
.
nssbq
=
nowDate
;
// 将选择的日期放入json中
...
...
@@ -304,7 +305,6 @@ function initPage(companyInfo) {
return
false
}
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
console
.
log
(
"请求成功"
,
data
)
submitData
.
flag
=
true
;
submitData
.
encryptKey
=
config
.
value
;
var
url
=
config
.
spreadUrl
+
"/online_report/declare/toPzzl?falg="
+
falg
...
...
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