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
d4a42923
Commit
d4a42923
authored
Jul 22, 2020
by
刘明珠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正常申报添加税种列表刷新
parent
e914a0f2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
384 additions
and
367 deletions
+384
-367
index.html
jsp/declare/index.html
+17
-79
declare_grid.js
static/biz/declare_grid.js
+367
-288
No files found.
jsp/declare/index.html
View file @
d4a42923
...
...
@@ -3,17 +3,17 @@
<head>
<meta
charset=
'UTF-8'
>
<link
href=
"
/web/onlineReport
/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<link
href=
"
../..
/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<!--滚动条-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/tools/css/scroll.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/tools/css/scroll.css"
/>
<!--table样式-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/tools/css/table.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/tools/css/table.css"
/>
<!--样式-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/tools/css/encapsulation.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/tools/css/encapsulation.css"
/>
<!--时间插件-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<!--declare-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/css/declare/declare.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/css/declare/declare.css"
/>
<!-- 页面自定义样式 -->
<title>
在线填报
</title>
</head>
...
...
@@ -21,7 +21,7 @@
<div
style=
"background-color:#FFFFFF;"
>
<div
style=
"padding: 25px;"
>
<div
class=
"div-border"
style=
"padding-bottom: 20px;height: 60px;"
>
<img
style=
"float:left;display:block"
src=
"
/web/onlineReport
/static/tools/images/zxtb.png"
>
<img
style=
"float:left;display:block"
src=
"
../..
/static/tools/images/zxtb.png"
>
<span
style=
"float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;"
class=
"span-title"
>
按期应申报
</span>
</div>
<div>
...
...
@@ -77,22 +77,22 @@
<div
style=
"line-height: 40px;margin: 10px;font-size: 14px;"
><div
id=
"ybName"
></div>
<button
class=
"btn btn-primary ybDeclaration1"
id=
"ybDeclaration"
onmouseover=
"this.className='btn ybDeclaration'"
onmouseout=
"this.className='btn btn-primary ybDeclaration1'"
onclick=
"initpage.declarationMethod('Y')"
>
一表集成
</button></div>
</div>
<img
class=
"img-ybjc-modal"
onclick=
"initpage.closeModal()"
src=
"
/web/onlineReport
/static/tools/images/close.png"
>
<img
class=
"img-ybjc-modal"
onclick=
"initpage.closeModal()"
src=
"
../..
/static/tools/images/close.png"
>
</div>
</div>
</body>
<script
src=
"
/web/onlineReport
/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<script
src=
"
/web/onlineReport
/static/js/tax/tool.js"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/bootstrap.js?v=1.1"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/encapsulation.js?v=1.3"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/minScroll.js?v=1.1"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"
></script>
<script
src=
"
../..
/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<script
src=
"
../..
/static/js/tax/tool.js"
></script>
<script
src=
"
../..
/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<script
src=
"
../..
/static/tools/js/bootstrap.js?v=1.1"
></script>
<script
src=
"
../..
/static/tools/js/encapsulation.js?v=1.3"
></script>
<script
src=
"
../..
/static/tools/js/minScroll.js?v=1.1"
></script>
<script
src=
"
../..
/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"
></script>
<script>
document
.
write
(
"<script type='text/javascript' src='
/web/onlineReport
/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
document
.
write
(
"<script type='text/javascript' src='
../..
/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<script
src=
"
/web/onlineReport
/static/biz/declare_grid.js?v=1.0"
></script>
<script
src=
"
../..
/static/biz/declare_grid.js?v=1.0"
></script>
<script>
//
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
// var companyInfo = ${json};
...
...
@@ -113,67 +113,5 @@
// // 弹出错误对话框
// }
var
initpage
;
$
(
function
(){
//
showLoading
();
$
.
ajax
({
type
:
"post"
,
url
:
config
.
url
+
"/ssfwpt/declare/index"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
getUrlParam
(
"djxh"
),
token
:
getUrlParam
(
"token"
),
sbsq
:
''
,
pzzlDm
:
''
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading
();
//el表达式变jq
// $("#token").attr("value","");
if
(
data
.
success
)
{
if
(
data
.
bean
.
url
==
"error.jsp"
)
{
myAlert
(
"提示"
,
data
.
bean
.
errorInfo
,
"确定"
)
// window.location.href = "/jsp/error/index.html?falg="+param;
return
}
}
var
companyInfo
=
data
;
if
(
companyInfo
.
success
)
{
companyInfo
.
bean
.
config
=
config
companyInfo
.
bean
.
return
=
true
;
/* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
config
.
return
=
true
;
initpage
=
initPage
(
companyInfo
.
bean
);
}
else
{
hideLoading
();
if
(
!
companyInfo
.
bean
){
companyInfo
.
bean
=
{};
companyInfo
.
bean
.
djxh
=
getUrlParam
(
"djxh"
);
companyInfo
.
bean
.
return
=
false
;
}
alertWarning
(
companyInfo
.
errmsg
);
companyInfo
.
bean
.
config
=
config
initpage
=
initPage
(
companyInfo
.
bean
);
// 弹出错误对话框
}
$
(
"#getInputValue"
).
on
(
"focus"
,
function
()
{
WdatePicker
({
isShowClear
:
false
,
dateFmt
:
'yyyy-MM'
,
onpicking
:
function
(
dp
){
initpage
.
changeDate
(
this
,
dp
);
}
});
});
},
error
:
function
(
xhr
){
hideLoading
();
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
})
</script>
</html>
\ No newline at end of file
static/biz/declare_grid.js
View file @
d4a42923
This diff is collapsed.
Click to expand it.
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