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
d931e717
Commit
d931e717
authored
Oct 27, 2021
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮样式和税费申报bug
parent
e5bb61d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
16 deletions
+20
-16
index.html
jsp/zhsbtc/index.html
+4
-2
zhsbtc_grid.js
static/biz/zhsbtc_grid.js
+16
-14
No files found.
jsp/zhsbtc/index.html
View file @
d931e717
...
...
@@ -42,9 +42,11 @@
<span>
申报月份:
</span>
<input
readonly
id=
"getInputValue"
name=
"birth_date"
style=
"width: 10%; display: inline;min-width: 150px"
type=
"text"
class=
"Wdate checkId-input check-items-birthday form-control"
>
<input
id=
"reset"
class=
"btn btn-primary tdDong-btn"
<
!-- <
input id="reset" class="btn btn-primary tdDong-btn"
style="margin-right: 10%;margin-right: 10px;height: 32px;margin-top: 5px;position:absolute;right: 120px;"
type=
"button"
value=
"重置申报清册"
/>
type="button" value="重置申报清册" /> -->
<div
id=
"reset"
class=
"btn btn-primary tdDong-btn"
style=
"position:absolute;right: 120px;padding: 8px 10px;height: 30px;"
>
重置申报清册
</div>
</div>
</div>
</br>
...
...
static/biz/zhsbtc_grid.js
View file @
d931e717
...
...
@@ -19,7 +19,7 @@ function getInitTable() {
token
:
getUrlParam
(
"token"
),
sbsq
:
""
,
// pzzlDm: getUrlParam("pzzlDm"),
pzzlDm
:
"1
2101|10401|10402|11303|11
304"
,
pzzlDm
:
"1
0110|10111|10112|10113|10107|10114|10121|10118|10119|10902|10401|10402|11303|10
304"
,
},
// beforeSend:function(){
// myAlert("提示", "正在获取初始化信息", "确定")
...
...
@@ -267,7 +267,7 @@ function initPage(companyInfo) {
refreshSbzt
:
refreshSbzt
}
$
.
ajax
({
url
:
url
+
"/online/declare/
getPzzlList1
"
,
url
:
url
+
"/online/declare/
cxsTcPzzlList
"
,
data
:
param
,
type
:
"POST"
,
dataType
:
"JSON"
,
...
...
@@ -329,15 +329,15 @@ function initPage(companyInfo) {
$
(
'#zhsbtcBox'
).
append
(
divObj1
);
//将子div添加到父div中
if
((
i
-
1
+
1
)
==
0
)
{
var
btnObj
=
'<
input
id="jfsbBtn" class="btn btn-primary"'
+
'style="
height: 30px;right: 120px;margin: 0; padding: 0 5px;float: right
;"'
+
'
type="button" value="税费申报"/
>'
+
'<
input
id="jkBtn" class="btn btn-primary"'
+
'style="
height: 30px;right: 120px;margin: 0 10px 0 0; padding: 0 5px;float: right
;"'
+
'
type="button" value="缴款" /
>'
;
var
btnObj
=
'<
div
id="jfsbBtn" class="btn btn-primary"'
+
'style="
float: right;padding: 4px 10px;height: 30px
;"'
+
'
>税费申报</div
>'
+
'<
div
id="jkBtn" class="btn btn-primary"'
+
'style="
float: right;padding: 4px 10px;height: 30px;margin-right:20px
;"'
+
'
>缴款</div
>'
;
$
(
'#btnBox'
).
append
(
btnObj
);
$
(
document
).
on
(
"click"
,
"#jfsbBtn
"
,
function
(){
$
(
"#jfsbBtn"
).
off
(
'click'
);
$
(
"#jfsbBtn"
).
on
(
"click
"
,
function
(){
cxurlHandleFun
(
companyInfo
.
djxh
)
});
...
...
@@ -549,20 +549,22 @@ function initPage(companyInfo) {
}
//财行页面的跳转
var
cxurlHandleFun
=
function
(
djxh
){
console
.
log
(
companyInfo
,
djxh
)
console
.
log
(
companyInfo
,
djxh
,
nowdate
.
substring
(
5
)
)
//http://dev-ws.htyfw.com.cn/web/index.html?djxh=10111298000025892661&zsDjxh=10111298000025892661&lybz=online&operateType=shenbao&nsrmc=%E5%A4%A9%E6%B4%A5%E7%A5%9E%E5%B7%9E%E6%B5%A9%E5%A4%A9%E7%A7%91%E6%8A%80%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8&nsrsbh=911201167773033345&sydbz=Y&month=10 web/tax-plugin
if
(
window
.
location
.
href
.
indexOf
(
'https://wsswjmn.tjsat.gov.cn'
)
>-
1
||
window
.
location
.
href
.
indexOf
(
'https://etax.tianjin.chinatax.gov.cn'
)
>-
1
)
{
var
cxUrl
=
'/web/tax-plugin/index.html?lybz=online&operateType=shenbao&sydbz=Y&djxh='
+
djxh
+
'&zsDjxh='
+
companyInfo
.
zsDjxh
+
'&value='
+
companyInfo
.
value
+
'&nsrsbh='
+
companyInfo
.
nsrsbh
+
'month='
+
Math
.
random
(
)
+
'random='
+
Math
.
random
();
var
cxUrl
=
'/web/tax-plugin/index.html?lybz=online&operateType=shenbao&sydbz=Y&djxh='
+
djxh
+
'&zsDjxh='
+
companyInfo
.
zsDjxh
+
'&value='
+
companyInfo
.
value
+
'&nsrsbh='
+
companyInfo
.
nsrsbh
+
'month='
+
nowdate
.
substring
(
5
)
+
'random='
+
Math
.
random
();
}
else
{
var
cxUrl
=
'http://dev-ws.htyfw.com.cn/web/index.html?lybz=online&operateType=shenbao&sydbz=Y&djxh='
+
djxh
+
'&zsDjxh='
+
companyInfo
.
zsDjxh
+
'&nsrsbh='
+
companyInfo
.
nsrsbh
+
'month='
+
Math
.
random
(
)
+
'random='
+
Math
.
random
();
var
cxUrl
=
'http://dev-ws.htyfw.com.cn/web/index.html?lybz=online&operateType=shenbao&sydbz=Y&djxh='
+
djxh
+
'&zsDjxh='
+
companyInfo
.
zsDjxh
+
'&nsrsbh='
+
companyInfo
.
nsrsbh
+
'month='
+
nowdate
.
substring
(
5
)
+
'random='
+
Math
.
random
();
}
$
(
"a"
).
remove
(
".cxA"
);
let
aLink
=
document
.
createElement
(
'a'
);
aLink
.
classList
.
add
(
'cxA'
);
aLink
.
href
=
cxUrl
;
aLink
.
target
=
'_blank'
;
aLink
.
style
.
display
=
'none'
;
document
.
body
.
appendChild
(
aLink
);
aLink
.
click
();
document
.
body
.
removeChild
(
aLink
)
}
...
...
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