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
05eb4ec0
Commit
05eb4ec0
authored
May 18, 2020
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
清册分离,但是未联调
parent
e2ce506d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
128 additions
and
64 deletions
+128
-64
index.html
jsp/cancellation/index.html
+97
-60
cancellation_grid.js
static/biz/cancellation_grid.js
+31
-4
No files found.
jsp/cancellation/index.html
View file @
05eb4ec0
<
%@
page
language=
"java"
pageEncoding=
"UTF-8"
%
>
<
%@
taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%
>
<
%@
taglib
prefix=
"fmt"
uri=
"http://java.sun.com/jsp/jstl/fmt"
%
>
<!doctype html>
<html>
<head>
<!doctype html>
<meta
charset=
'UTF-8'
>
<html>
<link
href=
"/online_report/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<!--滚动条-->
<link
rel=
"stylesheet"
href=
"/online_report/static/tools/css/scroll.css"
/>
<!--table样式-->
<link
rel=
"stylesheet"
href=
"/online_report/static/tools/css/table.css"
/>
<!--样式-->
<link
rel=
"stylesheet"
href=
"/online_report/static/tools/css/encapsulation.css"
/>
<!--时间插件-->
<link
rel=
"stylesheet"
href=
"/online_report/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<!--declare-->
<link
rel=
"stylesheet"
href=
"/online_report/static/css/declare/declare.css"
/>
<!-- 页面自定义样式 -->
<title>
清税注销清册
</title>
</head>
<body>
<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=
"static/tools/images/cancellation.png"
>
<span
style=
"float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;"
class=
"span-title"
>
清税注销清册
</span>
</div>
<div
class=
"div-clear-folat"
style=
"padding-top: 10px;"
>
<strong>
税费申报
</strong>
</div>
<hr
class=
"hr-margin"
/>
<div
id=
"taxGrid"
></div>
<div
class=
"div-clear-folat"
style=
"padding-top: 10px;"
>
<strong>
财务报表报送
</strong>
</div>
<hr
class=
"hr-margin"
/>
<div
id=
"financialGrid"
></div>
</div>
</div>
<form
action=
"/online_report/declare/toPzzl"
method=
"POST"
target=
"_blank"
id=
"changeForm"
>
<input
type=
'hidden'
name=
'data'
id=
"changeForm_data"
>
</form>
</body>
<script
src=
"/online_report/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<head>
<script
src=
"/online_report/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<meta
charset=
'UTF-8'
>
<script
src=
"/online_report/static/tools/js/bootstrap.js?v=1.1"
></script>
<link
href=
"/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<script
src=
"/online_report/static/tools/js/encapsulation.js?v=1.2"
></script>
<!--滚动条-->
<script
src=
"/online_report/static/tools/js/minScroll.js?v=1.1"
></script>
<link
rel=
"stylesheet"
href=
"/static/tools/css/scroll.css"
/>
<script
src=
"/online_report/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"
></script>
<!--table样式-->
<script
src=
"/online_report/static/biz/cancellation_grid.js?v=1.0"
></script>
<link
rel=
"stylesheet"
href=
"/static/tools/css/table.css"
/>
<script>
<!--样式-->
//
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
<link
rel=
"stylesheet"
href=
"/static/tools/css/encapsulation.css"
/>
var
companyInfo
=
$
{
json
};
<!--时间插件-->
// var initpage = initPage({
<link
rel=
"stylesheet"
href=
"/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
// companyInfo: "",
<!--declare-->
// });
<link
rel=
"stylesheet"
href=
"/static/css/declare/declare.css"
/>
<!-- 页面自定义样式 -->
<title>
清税注销清册
</title>
</head>
<body>
<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=
"static/tools/images/cancellation.png"
>
<span
style=
"float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;"
class=
"span-title"
>
清税注销清册
</span>
</div>
<div
class=
"div-clear-folat"
style=
"padding-top: 10px;"
>
<strong>
税费申报
</strong>
</div>
<hr
class=
"hr-margin"
/>
<div
id=
"taxGrid"
></div>
<div
class=
"div-clear-folat"
style=
"padding-top: 10px;"
>
<strong>
财务报表报送
</strong>
</div>
<hr
class=
"hr-margin"
/>
<div
id=
"financialGrid"
></div>
</div>
</div>
<form
action=
"/declare/toPzzl"
method=
"POST"
target=
"_blank"
id=
"changeForm"
>
<input
type=
'hidden'
name=
'data'
id=
"changeForm_data"
>
</form>
</body>
<script
src=
"/static/tools/js/jquery-1.11.3.js?v=1.1"
></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.2"
></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
src=
"/static/biz/cancellation_grid.js?v=1.0"
></script>
<script>
// //
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
// var companyInfo = ${json};
// // var initpage = initPage({
// // companyInfo: "",
// // });
// if (companyInfo.success) {
// var initpage = initPage(companyInfo.bean);
// $("#getInputValue").on("focus", function() {
// WdatePicker({
// isShowClear:false,
// dateFmt: 'yyyy-MM',
// onpicking: function(dp){
// initpage.changeDate(this, dp);
// }
// });
// });
// } else {
// alertWarning("请求失败!");
// // 弹出错误对话框
// }
var
initpage
;
$
(
function
(){
//
var
url
=
"http://localhost:7070"
$
.
ajax
({
type
:
"GET"
,
url
:
url
+
"/online_report/cancellation"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
localStorage
.
getItem
(
"djxh"
)
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
//el表达式变jq
// $("#token").attr("value","");
var
companyInfo
=
data
;
$
(
"#djxh"
).
attr
(
"value"
,
companyInfo
.
djxh
);
if
(
companyInfo
.
success
)
{
if
(
companyInfo
.
success
)
{
var
initpage
=
initPage
(
companyInfo
.
bean
);
initpage
=
initPage
(
companyInfo
.
bean
);
$
(
"#getInputValue"
).
on
(
"focus"
,
function
()
{
$
(
"#getInputValue"
).
on
(
"focus"
,
function
()
{
WdatePicker
({
WdatePicker
({
isShowClear
:
false
,
isShowClear
:
false
,
...
@@ -72,6 +102,13 @@
...
@@ -72,6 +102,13 @@
alertWarning
(
"请求失败!"
);
alertWarning
(
"请求失败!"
);
// 弹出错误对话框
// 弹出错误对话框
}
}
</script>
},
error
:
function
(
xhr
){
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
})
</script>
</html>
</html>
\ No newline at end of file
\ No newline at end of file
static/biz/cancellation_grid.js
View file @
05eb4ec0
...
@@ -175,6 +175,10 @@ function initPage(companyInfo) {
...
@@ -175,6 +175,10 @@ function initPage(companyInfo) {
* 税务申报 初始化数据获取
* 税务申报 初始化数据获取
* @param {*} mydate
* @param {*} mydate
*/
*/
//地址
//http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070
var
url
=
"http://localhost:7070"
;
var
getTaxDeclaration
=
function
(
date
,
type
)
{
var
getTaxDeclaration
=
function
(
date
,
type
)
{
// TODO 开始加载等待动画
// TODO 开始加载等待动画
showLoading
();
showLoading
();
...
@@ -184,7 +188,7 @@ function initPage(companyInfo) {
...
@@ -184,7 +188,7 @@ function initPage(companyInfo) {
isFresh
:
type
.
toUpperCase
()
==
"Y"
isFresh
:
type
.
toUpperCase
()
==
"Y"
}
}
$
.
ajax
({
$
.
ajax
({
url
:
"/online_report/declare/getPzzlList"
,
url
:
url
+
"/online_report/declare/getPzzlList"
,
data
:
param
,
data
:
param
,
type
:
"POST"
,
type
:
"POST"
,
dataType
:
"JSON"
dataType
:
"JSON"
...
@@ -248,9 +252,32 @@ function initPage(companyInfo) {
...
@@ -248,9 +252,32 @@ function initPage(companyInfo) {
//申报方式 当iszzsybjc=01同时pzzlDm=010101时,调用改方法
//申报方式 当iszzsybjc=01同时pzzlDm=010101时,调用改方法
var
declarationMethod
=
function
(
statu
)
{
var
declarationMethod
=
function
(
statu
)
{
submitData
.
ybjcState
=
statu
;
submitData
.
ybjcState
=
statu
;
var
form
=
$
(
"#changeForm"
);
// var form = $("#changeForm");
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
submitData
));
// form.find("#changeForm_data").val(JSON.stringify(submitData));
form
.
submit
();
// form.submit();
$
.
ajax
({
type
:
"POST"
,
url
:
url
+
"/online_report/declare/toPzzl"
,
dataType
:
"json"
,
// 请求方式为jsonp
data
:
{
data
:
JSON
.
stringify
(
submitData
)
},
success
:
function
(
data
)
{
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
console
.
log
(
"请求成功"
,
data
)
// if (data.url == "edit.jsp") {
// window.open("/jsp/declare/edit.html");
// }else if (data.url == "yearReport.jsp") {
// window.open("/jsp/declare/yearReport.html");
// }else if (data.url == "yearReportGLB.jsp") {
// window.open("/jsp/declare/yearReportGLB.html");
// }
},
error
:
function
(
xhr
){
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
// closeModal();
// closeModal();
}
}
...
...
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