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
da5c05e1
Commit
da5c05e1
authored
Aug 31, 2021
by
刘明珠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目优化,配置文件加密,添加environmental分配,去掉废弃文件
parent
7358f029
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
64 additions
and
3240 deletions
+64
-3240
index.html
jsp/aKeyTax/index.html
+0
-106
edit.html
jsp/declare/edit.html
+0
-315
index.html
jsp/declare/index.html
+0
-147
yearReport.html
jsp/declare/yearReport.html
+0
-633
yearReportGLB.html
jsp/declare/yearReportGLB.html
+0
-402
index.html
jsp/taxForecast/index.html
+0
-106
index.html
jsp/taxTnvestigation/index.html
+0
-106
aKeyTaxList.js
static/biz/aKeyTaxList.js
+0
-364
amend_grid.js
static/biz/amend_grid.js
+8
-60
cancellation_grid.js
static/biz/cancellation_grid.js
+10
-56
declare_cxs_grid.js
static/biz/declare_cxs_grid.js
+9
-86
declare_grid.js
static/biz/declare_grid.js
+10
-93
overdue_grid.js
static/biz/overdue_grid.js
+10
-4
syntheticalReport_grid.js
static/biz/syntheticalReport_grid.js
+8
-2
taxForecastList.js
static/biz/taxForecastList.js
+0
-363
taxTnvestigationList.js
static/biz/taxTnvestigationList.js
+0
-363
xgmyd_grid.js
static/biz/xgmyd_grid.js
+7
-1
config.js
static/config.js
+2
-33
No files found.
jsp/aKeyTax/index.html
deleted
100644 → 0
View file @
7358f029
<!doctype html>
<html>
<head>
<meta
charset=
'UTF-8'
>
<!-- 让360双核浏览器用webkit内核渲染页面-->
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
renderer
content=
webkit
>
<!-- 让IE浏览器用最高级内核渲染页面 还有用 Chrome 框架的页面用webkit 内核 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<!-- IOS6全屏 Chrome高版本全屏 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"edge"
>
<link
href=
"/web/onlineReport/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<!--滚动条-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/css/scroll.css"
/>
<!--table样式-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/css/table.css"
/>
<!--样式-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/css/encapsulation.css"
/>
<!--时间插件-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<!--declare-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/css/declare/declare.css"
/>
<!-- 页面自定义样式 -->
<title>
在线填报
</title>
</head>
<script>
document
.
write
(
"<script type='text/javascript' src='/web/onlineReport/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<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=
"/web/onlineReport/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>
<div
class=
"div-float"
style=
"padding-bottom: 8px; width: 100%;position :relative"
>
<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=
"declareTable"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10px;height: 32px;margin-top: 5px;float: right;"
type=
"button"
value=
"申报"
/>
<input
id=
"toExamine"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10px;height: 32px;margin-top: 5px;float: right;"
type=
"button"
value=
"审核"
/>
<input
id=
"readData"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10px;height: 32px;margin-top: 5px;float: right;"
type=
"button"
value=
"读取征管数据"
/>
</div>
</div>
</br>
<div
class=
"div-clear-folat"
>
<strong>
税费申报
</strong>
<div
class=
"lockState left"
style=
"float: right;margin-right: 10px;"
>
<span
class=
"lock_title"
>
锁定状态:
</span>
<span
class=
"lock_state"
>
未锁定
</span>
</div>
</div>
<hr
class=
"hr-margin"
/>
<div
id=
"taxGrid"
></div>
<div
class=
"font-clo"
style=
"padding-top: 20px;"
>
<div
style=
"font-size:12px"
>
温馨提示:
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
1、如近期有税费种认定、纳税人资格、备案等发生变动,页面展现清册与实际所需不符的,
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
请点此处
“
<label
for=
"readData"
id=
"reset1"
class=
"label_declare"
>
重置申报清册
</label>
”
对该户清册进行重新生成。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
2、点击页眉
“申报缴税”
即会触发下属首个菜单
“按期应申报”
,无需再点击
“按期应申报”
,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如发现清册重复,也请点击前述链接
“重置申报清册”
。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
无上述1、2情况请勿点击重置。
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
3、仅当操作期间申报状态有变化时点
“刷新”
,切换月份、刚进入本页面、申报完成后本页面已显示
“已申报”
等情形无需刷新。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
4、如发现
“刷新”
后的申报日期和状态不是最新情况,通常是因为
“刷新”
按钮所查数据同步延时所致,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如遇此情况,等几秒钟再
“刷新”
或退出后稍后重进申报清册查看。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
5、没有财务报表清册,可能是以下原因之一:
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
未做财务报表备案,
<label
id=
"goRecord"
class=
"label_declare"
>
现在去备案;
</label></span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
只做了备案报告书但未做具体的会计报表名称;
</span></div>
</div>
</div>
</div>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
</body>
<script
src=
"/web/onlineReport/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<script
src=
"/web/onlineReport/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<script
src=
"/web/onlineReport/static/js/tax/tool.js"
></script>
<script
src=
"/web/onlineReport/static/tools/js/bootstrap.js?v=1.1"
></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=
"/web/onlineReport/static/tools/js/encapsulation.js?v=1.3"
></script>
<script
src=
"/web/onlineReport/static/biz/aKeyTaxList.js?v=1.0"
></script>
</html>
\ No newline at end of file
jsp/declare/edit.html
deleted
100644 → 0
View file @
7358f029
<!doctype html>
<html
style=
"height:100%;font-size:14px;"
>
<head>
<!-- 让360双核浏览器用webkit内核渲染页面-->
<meta
name=
"renderer"
content=
"webkit"
>
<!-- 让IE浏览器用最高级内核渲染页面 还有用 Chrome 框架的页面用webkit 内核 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<!-- IOS6全屏 Chrome高版本全屏 -->
<!--[if lt IE 9]-->
<meta
http-equiv=
"X-UA-Compatible"
content=
"edge"
>
<script
src=
"/web/onlineReport/static/js/respond.js"
></script>
<script
src=
"/web/onlineReport/static/js/html5shiv.min.js"
></script>
<!--[endif]-->
<!--[if lt IE 7]-->
<script>
window
.
CheckLowIe
=
true
;
</script>
<!--[endif]-->
<meta
name=
"spreadjs culture"
content=
"zh-cn"
/>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<title></title>
<!-- 样式 -->
<link
href=
"/web/onlineReport/static/resources/gc.spread.sheets.excel2013white.12.0.0.css"
rel=
"stylesheet"
>
<link
href=
"/web/onlineReport/static/css/style.css?v=1"
rel=
"stylesheet"
>
<link
href=
"/web/onlineReport/static/tools/js/My97DatePicker/skin/WdatePicker.css"
rel=
"stylesheet"
/>
<script
src=
"/web/onlineReport/static/js/jquery.min.js"
></script>
<!-- 工程文件 -->
<script
src=
"/web/onlineReport/static/resources/gc.spread.sheets.all.min.js"
></script>
<script
src=
"/web/onlineReport/static/resources/zh/gc.spread.sheets.resources.zh.12.0.0.min.js"
></script>
<script>
document
.
write
(
"<script type='text/javascript' src='/web/onlineReport/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<!-- 生成的资源文件 -->
<!-- TODO 此处需要将路径调整为对应引用的地址-->
<!-- <script src="/web/onlineReport/static/page_js/${pzzlDm}/data.js?v=1"></script>
<script src="/web/onlineReport/static/page_extend_js/${pzzlDm}/data.js?v=1"></script> -->
<style>
.ishide
{
display
:
none
;
}
</style>
</head>
<body
class=
"body"
>
<div
class=
"header"
>
<div
class=
"title"
>
<p>
<span
class=
"caption"
>
当前报表:
</span>
<span
class=
"name"
></span>
<span
class=
"caption"
>
所属期:
</span>
<span
class=
"sssj"
></span>
</p>
</div>
<div>
<div
class=
"button-group"
>
<button
onClick=
"submitData()"
class=
"htbutton"
>
保存
</button>
</div>
</div>
</div>
</div>
<div
class=
"container"
>
<div
class=
"left-bar"
>
<div
class=
"left-title"
><span>
报表清单
</span></div>
<div
class=
"left"
>
</div>
</div>
<div
class=
"breakbar"
>
<div
class=
"middle-btn"
></div>
</div>
<div
class=
"right"
>
<div
id=
"ss"
style=
"width:100%;height:100%"
></div>
</div>
</div>
<div
id=
"Modal"
></div>
<!-- 导入按钮 -->
<div
id=
"importData"
style=
""
>
<p
class=
"import-title"
>
<span
class=
"title"
>
导入数据
</span>
<span
class=
"close"
>
×
</span>
</p>
<div
class=
"area-div"
>
<textarea
id=
"exportAreaData"
cols=
"30"
rows=
"20"
></textarea>
</div>
<p
class=
"text-right"
>
<button
class=
"htbutton import"
id=
"confirmImportBtn"
>
导入数据
</button>
<button
class=
"htbutton close"
>
关闭
</button>
</p>
</div>
<div
class=
"modal-box"
id=
"resultModal"
>
<div
class=
"modal-content"
>
<!-- 基本校验 -->
<div
class=
"jbjy-box"
>
<div
class=
"jbjy jy-title"
>
基本校验
</div>
<table
class=
"httable jbjy-table"
>
<thead>
<tr>
<th>
校验标识
</th>
<th>
提示信息
</th>
<th>
校验类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
</tbody>
</table>
</div>
<!-- 报表校验 -->
<div
class=
"bbjy-box"
>
<div
class=
"bbjy jy-title"
>
报表校验
</div>
<table
class=
"httable httable-hover bbjy-table"
>
<thead>
<tr>
<th>
校验标识
</th>
<th>
提示信息
</th>
<th>
校验类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
</tbody>
</table>
</div>
<!-- 一窗式校验 -->
<div
class=
"ycsjy-box"
>
<div
class=
"sbjg jy-title"
></div>
<table
class=
"httable httable-hover ycsjy-table"
>
<thead>
<tr>
<!-- <th>比对规则编码</th> -->
<th>
比对项目
</th>
<th>
比对名称
</th>
<th>
比对结果
</th>
<th>
比对内容
</th>
<th>
比对结果信息
</th>
<th>
监控级别
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
</tbody>
</table>
</div>
</div>
<div
class=
"ycsjyjg"
></div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"confirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"closeModal"
>
取消
</button>
</div>
</div>
<form
action=
"/declare/toPzzl"
method=
"POST"
id=
"toReportNB"
>
<input
type=
"hidden"
name=
"initTableData"
value=
""
id=
"initTableData"
/>
<input
type=
"hidden"
name=
"initTableArrs"
value=
""
id=
"initTableArrs"
/>
<input
type=
"hidden"
name=
"data"
value=
""
id=
"GLOBAL_INITJSON"
/>
</form>
<script>
// var URL = "http://192.168.105.153:8091"
var
URL
=
config
.
url
var
GLOBAL_INITJSON
,
GLOBAL_JSON
,
GLOBAL_CACHE_DATA
,
GLOBAL_TABLE_SPECIAL
,
GLOBAL_TABLE_FP
,
gzQtxx
;
var
param
=
GetQueryValue
(
"falg"
);
var
address
;
if
(
param
==
"declare"
)
{
address
=
"declare/toPzzl"
;
}
else
if
(
param
==
"amend"
)
{
address
=
"amend/toGzPzzl"
;
}
function
GetQueryValue
(
queryName
)
{
var
query
=
decodeURI
(
window
.
location
.
search
.
substring
(
1
));
var
vars
=
query
.
split
(
"&"
);
for
(
var
i
=
0
;
i
<
vars
.
length
;
i
++
)
{
var
pair
=
vars
[
i
].
split
(
"="
);
if
(
pair
[
0
]
==
queryName
)
{
return
pair
[
1
];
}
}
return
null
;
}
function
formatDate
(
date
){
var
re
=
/^
\d
+
(?=\.{0,1}\d
+$|$
)
/
;
if
(
date
!=
""
)
{
// 是纯数字
if
(
re
.
test
(
date
))
{
// 长度为6 比如 201802
if
(
date
.
length
==
6
)
{
var
y
=
date
.
slice
(
0
,
4
);
var
m
=
date
.
slice
(
4
,
6
);
date
=
y
+
'年'
+
m
+
'月'
;
}
else
{
// 长度为8 比如 20180219
var
y
=
date
.
slice
(
0
,
4
);
var
m
=
date
.
slice
(
4
,
6
);
var
d
=
date
.
slice
(
6
,
8
);
date
=
y
+
'年'
+
m
+
'月'
+
d
+
'日'
;
}
}
else
{
var
eDates
=
new
Date
(
date
);
var
y
=
eDates
.
getFullYear
();
var
m
=
eDates
.
getMonth
()
+
1
;
if
(
m
<
10
){
m
=
"0"
+
m
;
}
var
d
=
eDates
.
getDate
();
if
(
d
<
10
){
d
=
"0"
+
d
;
}
date
=
y
+
'年'
+
m
+
'月'
+
d
+
'日'
;
}
}
return
date
;
}
$
(
function
(){
var
iframeUrl
=
window
.
location
.
search
.
split
(
'?'
)[
1
];
var
csList
=
iframeUrl
.
split
(
'&'
);
var
param
=
""
if
(
csList
.
length
>
1
)
{
var
openData
=
csList
[
1
].
split
(
'='
)[
1
]
param
=
decodeURI
(
openData
)
localStorage
.
setItem
(
"data"
,
param
);
}
else
{
param
=
localStorage
.
getItem
(
"data"
)
}
var
sksssjqz
=
formatDate
(
JSON
.
parse
(
param
).
sksssjq
)
+
" 至 "
+
formatDate
(
JSON
.
parse
(
param
).
sksssjz
)
$
(
".header span.sssj"
).
html
(
sksssjqz
);
// window.parent.postMessage({ cmd: 'zxtb' }, '*');
$
.
ajax
({
type
:
"POST"
,
url
:
URL
+
"/online/"
+
address
,
// url: URL + "/online/" + address,
async
:
false
,
dataType
:
"json"
,
// 请求方式为jsonp
data
:
{
data
:
param
},
success
:
function
(
data
)
{
$
(
".header span.name"
).
html
(
data
.
pzzlMc
);
$
(
"title"
).
html
(
data
.
pzzlMc
)
if
(
data
.
bean
)
{
GLOBAL_INITJSON
=
data
.
bean
.
data
?
JSON
.
parse
(
data
.
bean
.
data
)
:
{};
GLOBAL_JSON
=
data
.
bean
.
dataSs
?
JSON
.
parse
(
data
.
bean
.
dataSs
)
:
{};
GLOBAL_CACHE_DATA
=
data
.
bean
.
cacheData
?
JSON
.
parse
(
data
.
bean
.
cacheData
)
:
{};
// console.log(GLOBAL_CACHE_DATA)
GLOBAL_TABLE_SPECIAL
=
data
.
bean
.
specialCarryData
?
JSON
.
parse
(
data
.
bean
.
specialCarryData
)
:
{};
GLOBAL_TABLE_FP
=
data
.
bean
.
zzsData
?
JSON
.
parse
(
data
.
bean
.
zzsData
)
:
{};
gzQtxx
=
data
.
bean
.
gzQtxx
?
JSON
.
parse
(
data
.
bean
.
gzQtxx
)
:
{};
var
oscript1
=
document
.
createElement
(
'script'
);
var
oscript2
=
document
.
createElement
(
'script'
);
oscript1
.
src
=
'/web/onlineReport/static/page_js/'
+
data
.
pzzlDm
+
'/data.js?v=1'
;
oscript2
.
src
=
'/web/onlineReport/static/page_extend_js/'
+
data
.
pzzlDm
+
'/data.js?v=1'
;
document
.
body
.
appendChild
(
oscript1
);
document
.
body
.
appendChild
(
oscript2
);
}
},
error
:
function
(
xhr
){
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
// var GLOBAL_INITJSON = ${data};
// var GLOBAL_JSON = ${dataSs};
// var GLOBAL_CACHE_DATA = ${cacheData};
// var GLOBAL_TABLE_SPECIAL=${specialCarryData};
// var GLOBAL_TABLE_FP=${zzsData};
// var gzQtxx = "";
// if(${gzQtxx}){
// gzQtxx = ${gzQtxx};
// }
// 布局处理
var
$container
=
$
(
".container"
);
var
$breakbar
=
$
(
".breakbar .middle-btn"
);
// $(function () {
$container
.
removeClass
(
"full"
);
$breakbar
.
text
(
"<"
);
$breakbar
.
on
(
"click"
,
function
()
{
if
(
$container
.
is
(
".full"
))
{
$container
.
removeClass
(
"full"
);
$
(
".header"
).
css
({
marginTop
:
"17px"
,
position
:
"fixed"
})
$breakbar
.
text
(
"<"
);
}
else
{
$container
.
addClass
(
"full"
);
$
(
".header"
).
css
({
marginLeft
:
"17px"
,
position
:
"initial"
,
marginTop
:
"0px"
,
})
$breakbar
.
text
(
">"
);
}
if
(
spread
)
{
spread
.
refresh
();
}
});
// });
})
</script>
<!-- 业务逻辑代码 -->
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/tax/util.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/tax/api.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/tax/fomula.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/tax/tool.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/tax/specialHandler.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/tax/initLoader.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/tax/result.js?v=1"
></script>
<!-- <script>
document.write("<script type='text/javascript' src='/web/onlineReport/static/js/tax/initLoader.js?time="+Math.random()+"'></"+"script"+">")
document.write("<script type='text/javascript' src='/web/onlineReport/static/js/tax/result.js?time="+Math.random()+"'></"+"script"+">")
</script>-->
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/tools/js/My97DatePicker/WdatePicker.js?v=1"
></script>
</body>
</html>
\ No newline at end of file
jsp/declare/index.html
deleted
100644 → 0
View file @
7358f029
<!doctype html>
<html>
<head>
<meta
charset=
'UTF-8'
>
<!-- 让360双核浏览器用webkit内核渲染页面-->
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
renderer
content=
webkit
>
<!-- 让IE浏览器用最高级内核渲染页面 还有用 Chrome 框架的页面用webkit 内核 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<!-- IOS6全屏 Chrome高版本全屏 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"edge"
>
<link
href=
"/web/onlineReport/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<!--滚动条-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/css/scroll.css"
/>
<!--table样式-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/css/table.css"
/>
<!--样式-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/css/encapsulation.css"
/>
<!--时间插件-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<!--declare-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/css/declare/declare.css"
/>
<!-- 页面自定义样式 -->
<title>
在线填报
</title>
</head>
<script>
document
.
write
(
"<script type='text/javascript' src='/web/onlineReport/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<body>
<div>
<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"
>
<span
style=
"float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;"
class=
"span-title"
>
按期应申报
</span>
</div>
<div>
<div
class=
"div-float"
style=
"padding-bottom: 8px; width: 100%;position :relative"
>
<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"
style=
"margin-right: 10%;margin-right: 10px;height: 32px;margin-top: 5px;position:absolute;right: 120px;"
type=
"button"
value=
"重置申报清册"
/>
</div>
</div>
</br>
<div
class=
"div-clear-folat"
>
<strong>
税费申报
</strong>
</div>
<hr
class=
"hr-margin"
/>
<div
id=
"taxGrid"
></div>
<!-- <div style="height:16px"></div> -->
<div
class=
"font-clo"
style=
"padding-top: 20px;"
>
<div
style=
"font-size:12px"
>
温馨提示:
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
1、如近期有税费种认定、纳税人资格、备案等发生变动,页面展现清册与实际所需不符的,
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
请点此处
“
<label
for=
"reset"
id=
"reset1"
class=
"label_declare"
>
重置申报清册
</label>
”
对该户清册进行重新生成。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
2、点击页眉
“申报缴税”
即会触发下属首个菜单
“按期应申报”
,无需再点击
“按期应申报”
,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如发现清册重复,也请点击前述链接
“重置申报清册”
。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
无上述1、2情况请勿点击重置。
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
3、仅当操作期间申报状态有变化时点
“刷新”
,切换月份、刚进入本页面、申报完成后本页面已显示
“已申报”
等情形无需刷新。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
4、如发现
“刷新”
后的申报日期和状态不是最新情况,通常是因为
“刷新”
按钮所查数据同步延时所致,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如遇此情况,等几秒钟再
“刷新”
或退出后稍后重进申报清册查看。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
5、没有财务报表清册,可能是以下原因之一:
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
未做财务报表备案;
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
只做了备案报告书但未做具体的会计报表名称;
</span></div>
</div>
</div>
</div>
</div>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
<form
action=
"/declare/toPzzl"
method=
"POST"
target=
"_blank"
id=
"changeForm"
>
<input
type=
'hidden'
name=
'data'
id=
"changeForm_data"
>
</form>
<div
id=
"myMask"
class=
"myMask"
hidden
></div>
<div
id=
"myModal"
class=
"myModal"
hidden
>
<div
class=
"myModal-title"
>
选择申报方式
</div>
<div
class=
"myModal-body"
>
<div
class=
"myModal-body-div"
>
<div
style=
"line-height: 40px;margin: 10px;font-size: 14px;"
>
<div
id=
"dName"
></div>
<button
class=
"btn btn-primary"
id=
"normalDeclaration"
onclick=
"initpage.declarationMethod('N')"
>
一般申报
</button>
</div>
</div>
<div
class=
"myModal-body-div"
style=
"clear:both;padding-top: 10px;"
>
<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"
>
</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=
"/web/onlineReport/static/biz/declare_grid.js?v=1.0"
></script>
<script>
//
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
// var companyInfo = ${json};
// 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("请求失败!");
// // 弹出错误对话框
// }
</script>
</html>
jsp/declare/yearReport.html
deleted
100644 → 0
View file @
7358f029
<!doctype html>
<html
style=
"height:100%;font-size:14px;"
>
<head>
<!-- 让360双核浏览器用webkit内核渲染页面-->
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
renderer
content=
webkit
>
<!-- 让IE浏览器用最高级内核渲染页面 还有用 Chrome 框架的页面用webkit 内核 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<!-- IOS6全屏 Chrome高版本全屏 -->
<!--[if lt IE 9]-->
<meta
http-equiv=
"X-UA-Compatible"
content=
"edge"
>
<script
src=
"/web/onlineReport/static/js/respond.js"
></script>
<script
src=
"/web/onlineReport/static/js/html5shiv.min.js"
></script>
<!--[endif]-->
<!--[if lt IE 7]-->
<script>
window
.
CheckLowIe
=
true
;
</script>
<!--[endif]-->
<meta
name=
"spreadjs culture"
content=
"zh-cn"
/>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<title></title>
<!-- 样式 -->
<link
href=
"/web/onlineReport/static/resources/gc.spread.sheets.excel2013white.12.0.0.css"
rel=
"stylesheet"
>
<link
href=
"/web/onlineReport/static/css/style.css?v=12"
rel=
"stylesheet"
>
<link
href=
"/web/onlineReport/static/tools/js/My97DatePicker/skin/WdatePicker.css"
rel=
"stylesheet"
/>
<script
src=
"/web/onlineReport/static/js/jquery.min.js"
></script>
<!-- 工程文件 -->
<script>
document
.
write
(
"<script type='text/javascript' src='/web/onlineReport/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<script
src=
"/web/onlineReport/static/resources/gc.spread.sheets.all.min.js"
></script>
<script
src=
"/web/onlineReport/static/resources/zh/gc.spread.sheets.resources.zh.12.0.0.min.js"
></script>
<!-- 生成的资源文件 -->
<!-- TODO 此处需要将路径调整为对应引用的地址-->
<script
src=
"/web/onlineReport/static/page_js/_year/data.js?v=20"
></script>
<script
src=
"/web/onlineReport/static/page_extend_js/_year/data.js?v=20"
></script>
<script>
// 全局变量 用于存放报表的特殊取值操作
var
NB_SPECIAL_HANDLER
=
{};
</script>
<style>
.left-item.has-error
{
font-weight
:
bold
;
color
:
red
;
}
/* 2019年2月18日11:21:38 新增年报特殊处理样式 */
.left-item.table_fixed
{
background-color
:
#efe8e8
;
color
:
#6b6363
;
}
.container
.left-bar
.left
.left-item.table_fixed
:hover
{
color
:
#6b6363
;
}
</style>
</head>
<body
class=
"body"
>
<div
class=
"header"
>
<div
class=
"title"
>
<p>
<span
class=
"caption"
>
当前报表:
</span>
<span
class=
"name"
></span>
<span
class=
"caption"
>
所属期:
</span>
<span
class=
"sssj"
></span>
</p>
</div>
<div
class=
"button-group"
>
<button
onClick=
"submitData()"
class=
"htbutton"
>
保存
</button>
</div>
</div>
</div>
<div
class=
"container"
>
<div
class=
"left-bar"
>
<div
class=
"left-title"
><span>
报表清单
</span></div>
<div
class=
"left"
>
</div>
</div>
<div
class=
"breakbar"
>
<div
class=
"middle-btn"
></div>
</div>
<div
class=
"right"
>
<div
id=
"ss"
style=
"width:100%;height:100%"
></div>
</div>
</div>
<div
id=
"Modal"
></div>
<div
id=
"kjzdBlackModal"
></div>
<div
id=
"czJyLxModal"
>
<p
class=
"import-title"
>
<span
class=
"title"
>
选择重组交易类型
</span>
</p>
<div
class=
"czJyLx-content"
>
<table
class=
"czJyLx-table"
>
<thead>
<tr>
<th>
选择
</th>
<th>
代码
</th>
<th>
重组交易类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
<tr>
<td><input
type=
"checkbox"
name=
"czJyLx"
value=
""
data-id=
"0100"
data-name=
"债务重组"
/></td>
<td>
0100
</td>
<td>
债务重组
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czJyLx"
value=
""
data-id=
"0200"
data-name=
"股权收购"
/></td>
<td>
0200
</td>
<td>
股权收购
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czJyLx"
value=
""
data-id=
"0300"
data-name=
"资产收购"
/></td>
<td>
0300
</td>
<td>
资产收购
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czJyLx"
value=
""
data-id=
"0400"
data-name=
"合并"
/></td>
<td>
0400
</td>
<td>
合并
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czJyLx"
value=
""
data-id=
"0500"
data-name=
"分立"
/></td>
<td>
0500
</td>
<td>
分立
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czJyLx"
value=
""
data-id=
"0600"
data-name=
"法律形式改变"
/></td>
<td>
0600
</td>
<td>
法律形式改变
</td>
</tr>
</tbody>
</table>
</div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"czJyLxConfirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"czJyLxClose"
>
取消
</button>
</div>
</div>
<div
id=
"czDsfLxModal"
>
<p
class=
"import-title"
>
<span
class=
"title"
>
选择重组当事方类型
</span>
</p>
<div
class=
"czDsfLx-content"
>
<table
class=
"czDsfLx-table"
>
<thead>
<tr>
<th>
选择
</th>
<th>
代码
</th>
<th>
重组当事方类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0100"
data-id=
"0101"
data-name=
"债务人"
/></td>
<td>
0101
</td>
<td>
债务人
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0100"
data-id=
"0102"
data-name=
"债权人"
/></td>
<td>
0102
</td>
<td>
债权人
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0200"
data-id=
"0201"
data-name=
"转让方"
/></td>
<td>
0201
</td>
<td>
转让方
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0200"
data-id=
"0202"
data-name=
"被收购企业"
/></td>
<td>
0202
</td>
<td>
被收购企业
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0200"
data-id=
"0203"
data-name=
"收购方"
/></td>
<td>
0203
</td>
<td>
收购方
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0300"
data-id=
"0301"
data-name=
"转让方"
/></td>
<td>
0301
</td>
<td>
转让方
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0300"
data-id=
"0302"
data-name=
"收购方"
/></td>
<td>
0302
</td>
<td>
收购方
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0400"
data-id=
"0401"
data-name=
"被合并企业"
/></td>
<td>
0401
</td>
<td>
被合并企业
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0400"
data-id=
"0402"
data-name=
"被合并企业股东"
/></td>
<td>
0402
</td>
<td>
被合并企业股东
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0400"
data-id=
"0403"
data-name=
"合并企业"
/></td>
<td>
0403
</td>
<td>
合并企业
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0500"
data-id=
"0501"
data-name=
"被分立企业"
/></td>
<td>
0501
</td>
<td>
被分立企业
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0500"
data-id=
"0502"
data-name=
"被分立企业股东"
/></td>
<td>
0502
</td>
<td>
被分立企业股东
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
name=
"czDsfLx"
value=
""
data-pid=
"0500"
data-id=
"0503"
data-name=
"分立企业"
/></td>
<td>
0503
</td>
<td>
分立企业
</td>
</tr>
</tbody>
</table>
</div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"czDsfLxConfirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"czDsfLxClose"
>
取消
</button>
</div>
</div>
<div
id=
"rjJmfs1Modal"
>
<p
class=
"import-title"
>
<span
class=
"title"
>
选择减免方式类型
</span>
</p>
<div
class=
"czJyLx-content"
>
<table
class=
"czJyLx-table"
>
<thead>
<tr>
<th>
选择
</th>
<th>
代码
</th>
<th>
减免方式类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110301"
class=
"only-single"
data-code=
"300"
value=
""
data-id=
"10301"
data-name=
"企业减按10%税率征收企业所得税"
/></td>
<td>
10301
</td>
<td>
企业减按10%税率征收企业所得税
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110302"
class=
"only-single"
data-code=
"400"
value=
""
data-id=
"10302"
data-name=
"企业减按15%税率征收企业所得税"
/></td>
<td>
10302
</td>
<td>
企业减按15%税率征收企业所得税
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110601"
class=
"only-single"
data-code=
"110"
value=
""
data-id=
"10601"
data-name=
"企业两免三减半(免税)"
/></td>
<td>
10601
</td>
<td>
企业两免三减半(免税)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110602"
class=
"only-single"
data-code=
"120"
value=
""
data-id=
"10602"
data-name=
"企业两免三减半(减半征收)"
/></td>
<td>
10602
</td>
<td>
企业两免三减半(减半征收)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110603"
data-code=
"510"
value=
""
data-id=
"10603"
data-name=
"集成电路生产项目所得两免三减半(免税)"
/></td>
<td>
10603
</td>
<td>
集成电路生产项目所得两免三减半(免税)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110604"
data-code=
"520"
value=
""
data-id=
"10604"
data-name=
"集成电路生产项目所得两免三减半(减半征收)"
/></td>
<td>
10604
</td>
<td>
集成电路生产项目所得两免三减半(减半征收)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110801"
data-code=
"210"
class=
"only-single"
value=
""
data-id=
"10801"
data-name=
"企业五免五减半(免税)"
/></td>
<td>
10801
</td>
<td>
企业五免五减半(免税)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110802"
data-code=
"220"
class=
"only-single"
value=
""
data-id=
"10802"
data-name=
"企业五免五减半(减半征收)"
/></td>
<td>
10802
</td>
<td>
企业五免五减半(减半征收)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110803"
data-code=
"610"
value=
""
data-id=
"10803"
data-name=
"集成电路生产项目所得五免五减半(免税)"
/></td>
<td>
10803
</td>
<td>
集成电路生产项目所得五免五减半(免税)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs110804"
data-code=
"620"
value=
""
data-id=
"10804"
data-name=
"集成电路生产项目所得五免五减半(减半征收)"
/></td>
<td>
10804
</td>
<td>
集成电路生产项目所得五免五减半(减半征收)
</td>
</tr>
</tbody>
</table>
</div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"czJyLxConfirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"czJyLxClose"
>
取消
</button>
</div>
</div>
<div
id=
"rjJmfs2Modal"
>
<p
class=
"import-title"
>
<span
class=
"title"
>
选择减免方式类型
</span>
</p>
<div
class=
"czJyLx-content"
>
<table
class=
"czJyLx-table"
>
<thead>
<tr>
<th>
选择
</th>
<th>
代码
</th>
<th>
减免方式类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210301"
class=
"only-single"
data-code=
"300"
value=
""
data-id=
"10301"
data-name=
"企业减按10%税率征收企业所得税"
/></td>
<td>
10301
</td>
<td>
企业减按10%税率征收企业所得税
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210302"
class=
"only-single"
data-code=
"400"
value=
""
data-id=
"10302"
data-name=
"企业减按15%税率征收企业所得税"
/></td>
<td>
10302
</td>
<td>
企业减按15%税率征收企业所得税
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210601"
class=
"only-single"
data-code=
"110"
value=
""
data-id=
"10601"
data-name=
"企业两免三减半(免税)"
/></td>
<td>
10601
</td>
<td>
企业两免三减半(免税)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210602"
class=
"only-single"
data-code=
"120"
value=
""
data-id=
"10602"
data-name=
"企业两免三减半(减半征收)"
/></td>
<td>
10602
</td>
<td>
企业两免三减半(减半征收)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210603"
data-code=
"510"
value=
""
data-id=
"10603"
data-name=
"集成电路生产项目所得两免三减半(免税)"
/></td>
<td>
10603
</td>
<td>
集成电路生产项目所得两免三减半(免税)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210604"
data-code=
"520"
value=
""
data-id=
"10604"
data-name=
"集成电路生产项目所得两免三减半(减半征收)"
/></td>
<td>
10604
</td>
<td>
集成电路生产项目所得两免三减半(减半征收)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210801"
data-code=
"210"
class=
"only-single"
value=
""
data-id=
"10801"
data-name=
"企业五免五减半(免税)"
/></td>
<td>
10801
</td>
<td>
企业五免五减半(免税)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210802"
data-code=
"220"
class=
"only-single"
value=
""
data-id=
"10802"
data-name=
"企业五免五减半(减半征收)"
/></td>
<td>
10802
</td>
<td>
企业五免五减半(减半征收)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210803"
data-code=
"610"
value=
""
data-id=
"10803"
data-name=
"集成电路生产项目所得五免五减半(免税)"
/></td>
<td>
10803
</td>
<td>
集成电路生产项目所得五免五减半(免税)
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
id=
"rjJmfs210804"
data-code=
"620"
value=
""
data-id=
"10804"
data-name=
"集成电路生产项目所得五免五减半(减半征收)"
/></td>
<td>
10804
</td>
<td>
集成电路生产项目所得五免五减半(减半征收)
</td>
</tr>
</tbody>
</table>
</div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"czJyLxConfirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"czJyLxClose"
>
取消
</button>
</div>
</div>
<div
id=
"czSwjgModal"
>
<p
class=
"import-title"
>
<span
class=
"title"
>
选择税务机关代码
</span>
</p>
<div
class=
"searchBox"
>
<span
class=
"searchTitle"
>
税务机关代码:
</span>
<input
class=
"searchInput"
id=
"swjgdm"
type=
"text"
name=
""
>
<button
class=
"button searchBtn"
id=
"searchBtn"
>
搜索
</button>
</div>
<div
class=
"czSwjg-content"
>
<table
class=
"czJyLx-table"
>
<thead>
<tr>
<th>
选择
</th>
<th>
代码
</th>
<th>
税务机关名称
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
id=
"czSwjg-table"
>
</tbody>
</table>
</div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"czSwjgConfirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"czSwjgClose"
>
取消
</button>
</div>
</div>
<div
id=
"chooseHjzdModal"
>
<p
class=
"import-title"
>
<span
class=
"title"
>
选择会计制度
</span>
</p>
<div
class=
"czJyLx-content"
>
<ul>
</ul>
</div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"czSwjgConfirm"
>
确定
</button>
</div>
</div>
<!-- 导入按钮 -->
<div
id=
"importData"
style=
""
>
<p
class=
"import-title"
>
<span
class=
"title"
>
导入数据
</span>
<span
class=
"close"
>
×
</span>
</p>
<div
class=
"area-div"
>
<textarea
id=
"exportAreaData"
cols=
"30"
rows=
"20"
></textarea>
</div>
<p
class=
"text-right"
>
<button
class=
"htbutton import"
id=
"confirmImportBtn"
>
导入数据
</button>
<button
class=
"htbutton close"
>
关闭
</button>
</p>
</div>
<div
class=
"modal-box"
id=
"resultModal"
>
<div
class=
"modal-content"
>
<!-- 基本校验 -->
<div
class=
"jbjy-box"
>
<div
class=
"jbjy jy-title"
>
基本校验
</div>
<table
class=
"httable jbjy-table"
>
<thead>
<tr>
<th>
校验标识
</th>
<th>
提示信息
</th>
<th>
校验类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
</tbody>
</table>
</div>
<!-- 报表校验 -->
<div
class=
"bbjy-box"
>
<div
class=
"bbjy jy-title"
>
报表校验
</div>
<table
class=
"httable httable-hover bbjy-table"
>
<thead>
<tr>
<th>
校验标识
</th>
<th>
提示信息
</th>
<th>
校验类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
</tbody>
</table>
</div>
<!-- 一窗式校验 -->
<div
class=
"ycsjy-box"
>
<div
class=
"sbjg jy-title"
></div>
<table
class=
"httable httable-hover ycsjy-table"
>
<thead>
<tr>
<!-- <th>比对规则编码</th> -->
<th>
比对项目
</th>
<th>
比对名称
</th>
<th>
比对结果
</th>
<th>
比对内容
</th>
<th>
比对结果信息
</th>
<th>
监控级别
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
</tbody>
</table>
</div>
</div>
<div
class=
"ycsjyjg"
></div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"confirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"closeModal"
>
取消
</button>
</div>
</div>
<div
id=
"resultFloat"
title=
"查看校验结果"
class=
"htbutton"
>
查看校验
</div>
<script>
var
URL
=
config
.
url
;
var
GLOBAL_INITJSON
,
GLOBAL_JSON
,
GLOBAL_CACHE_DATA
,
GLOBAL_TABLE_SPECIAL
,
GLOBAL_TABLE_FP
,
ifGZflag
;
var
param
=
GetQueryValue
(
"falg"
);
var
address
;
if
(
param
==
"declare"
)
{
address
=
"declare/toPzzl"
;
}
else
if
(
param
==
"amend"
)
{
address
=
"amend/toGzPzzl"
;
}
function
GetQueryValue
(
queryName
)
{
var
query
=
decodeURI
(
window
.
location
.
search
.
substring
(
1
));
var
vars
=
query
.
split
(
"&"
);
for
(
var
i
=
0
;
i
<
vars
.
length
;
i
++
)
{
var
pair
=
vars
[
i
].
split
(
"="
);
if
(
pair
[
0
]
==
queryName
)
{
return
pair
[
1
];
}
}
return
null
;
}
function
formatDate
(
date
){
var
re
=
/^
\d
+
(?=\.{0,1}\d
+$|$
)
/
;
if
(
date
!=
""
)
{
// 是纯数字
if
(
re
.
test
(
date
))
{
// 长度为6 比如 201802
if
(
date
.
length
==
6
)
{
var
y
=
date
.
slice
(
0
,
4
);
var
m
=
date
.
slice
(
4
,
6
);
date
=
y
+
'年'
+
m
+
'月'
;
}
else
{
// 长度为8 比如 20180219
var
y
=
date
.
slice
(
0
,
4
);
var
m
=
date
.
slice
(
4
,
6
);
var
d
=
date
.
slice
(
6
,
8
);
date
=
y
+
'年'
+
m
+
'月'
+
d
+
'日'
;
}
}
else
{
var
eDates
=
new
Date
(
date
);
var
y
=
eDates
.
getFullYear
();
var
m
=
eDates
.
getMonth
()
+
1
;
if
(
m
<
10
){
m
=
"0"
+
m
;
}
var
d
=
eDates
.
getDate
();
if
(
d
<
10
){
d
=
"0"
+
d
;
}
date
=
y
+
'年'
+
m
+
'月'
+
d
+
'日'
;
}
}
return
date
;
}
$
(
function
(){
var
iframeUrl
=
window
.
location
.
search
.
split
(
'?'
)[
1
];
var
csList
=
iframeUrl
.
split
(
'&'
);
var
param
=
""
if
(
csList
.
length
>
1
)
{
var
openData
=
csList
[
1
].
split
(
'='
)[
1
]
param
=
decodeURI
(
openData
)
localStorage
.
setItem
(
"data"
,
param
);
}
else
{
param
=
localStorage
.
getItem
(
"data"
)
}
var
sksssjqz
=
formatDate
(
JSON
.
parse
(
param
).
sksssjq
)
+
" 至 "
+
formatDate
(
JSON
.
parse
(
param
).
sksssjz
)
$
(
".header span.sssj"
).
html
(
sksssjqz
);
$
.
ajax
({
type
:
"POST"
,
url
:
URL
+
"/online/"
+
address
,
async
:
false
,
dataType
:
"json"
,
// 请求方式为jsonp
data
:
{
data
:
param
},
success
:
function
(
data
)
{
$
(
".header span.name"
).
html
(
data
.
pzzlMc
);
$
(
"title"
).
html
(
data
.
pzzlMc
)
if
(
data
.
bean
)
{
GLOBAL_INITJSON
=
data
.
bean
.
data
?
JSON
.
parse
(
data
.
bean
.
data
)
:
{};
GLOBAL_JSON
=
data
.
bean
.
dataSs
?
JSON
.
parse
(
data
.
bean
.
dataSs
)
:
{};
GLOBAL_CACHE_DATA
=
data
.
bean
.
cacheData
?
JSON
.
parse
(
data
.
bean
.
cacheData
)
:
{};
GLOBAL_TABLE_SPECIAL
=
data
.
bean
.
specialCarryData
?
JSON
.
parse
(
data
.
bean
.
specialCarryData
)
:
{};
GLOBAL_TABLE_FP
=
data
.
bean
.
zzsData
?
JSON
.
parse
(
data
.
bean
.
zzsData
)
:
{};
isGZflag
=
data
.
bean
.
ifGZflag
?
true
:
false
;
}
},
error
:
function
(
xhr
){
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
// var GLOBAL_INITJSON = ${ data };
// var GLOBAL_JSON = ${ dataSs };
// var isGZflag = ${ ifGZflag?true:false };
// var GLOBAL_CACHE_DATA = ${ cacheData };
// var GLOBAL_TABLE_SPECIAL = ${ specialCarryData };
// var GLOBAL_TABLE_FP = ${ zzsData };
// 布局处理
var
$container
=
$
(
".container"
);
var
$breakbar
=
$
(
".breakbar .middle-btn"
);
// $(function () {
$container
.
removeClass
(
"full"
);
$breakbar
.
text
(
"<"
);
$breakbar
.
on
(
"click"
,
function
()
{
if
(
$container
.
is
(
".full"
))
{
$container
.
removeClass
(
"full"
);
$breakbar
.
text
(
"<"
);
}
else
{
$container
.
addClass
(
"full"
);
$breakbar
.
text
(
">"
);
}
if
(
spread
)
{
spread
.
refresh
();
}
});
// });
})
// $(document).ready(function () {
// setTimeout(function () {
// // TODO 在选择完报表的条件下添加特殊样式标记
// $('[data-table="table_10414_001"],[data-table="table_10414_002"]').addClass('table_fixed');
// $('[data-index="2"]').click();
// }, 1000);
// })
</script>
<!-- 业务逻辑代码 -->
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/year/initLoader.js?v=20"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/year/util.js?v=20"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/year/api.js?v=20"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/year/fomula.js?v=20"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/year/tool.js?v=20"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/year/specialHandler.js?v=20"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/year/result.js?v=21"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"
></script>
</body>
</html>
\ No newline at end of file
jsp/declare/yearReportGLB.html
deleted
100644 → 0
View file @
7358f029
<!doctype html>
<html
style=
"height:100%;font-size:14px;"
>
<head>
<!-- 让360双核浏览器用webkit内核渲染页面-->
<meta
name=
"renderer"
content=
"webkit"
>
<!-- 让IE浏览器用最高级内核渲染页面 还有用 Chrome 框架的页面用webkit 内核 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<!-- IOS6全屏 Chrome高版本全屏 -->
<!--[if lt IE 9]-->
<meta
http-equiv=
"X-UA-Compatible"
content=
"edge"
>
<script
src=
"/web/onlineReport/static/js/respond.js"
></script>
<script
src=
"/web/onlineReport/static/js/html5shiv.min.js"
></script>
<!--[endif]-->
<!--[if lt IE 7]-->
<script>
window
.
CheckLowIe
=
true
;
</script>
<!--[endif]-->
<meta
name=
"spreadjs culture"
content=
"zh-cn"
/>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<title></title>
<!-- 样式 -->
<link
href=
"/web/onlineReport/static/resources/gc.spread.sheets.excel2013white.12.0.0.css"
rel=
"stylesheet"
>
<link
href=
"/web/onlineReport/static/css/style.css?v=12"
rel=
"stylesheet"
>
<link
href=
"/web/onlineReport/static/tools/js/My97DatePicker/skin/WdatePicker.css"
rel=
"stylesheet"
/>
<script
src=
"/web/onlineReport/static/js/jquery.min.js"
></script>
<script>
document
.
write
(
"<script type='text/javascript' src='/web/onlineReport/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<!-- 工程文件 -->
<script
src=
"/web/onlineReport/static/resources/gc.spread.sheets.all.min.js"
></script>
<script
src=
"/web/onlineReport/static/resources/zh/gc.spread.sheets.resources.zh.12.0.0.min.js"
></script>
<!-- 生成的资源文件 -->
<!-- TODO 此处需要将路径调整为对应引用的地址-->
<script
src=
"/web/onlineReport/static/page_js/_yearGLB/data.js?v=1"
></script>
<script
src=
"/web/onlineReport/static/page_extend_js/_yearGLB/data.js?v=1"
></script>
<script>
// 全局变量 用于存放报表的特殊取值操作
var
NB_SPECIAL_HANDLER
=
{};
</script>
<style>
.left-item.has-error
{
font-weight
:
bold
;
color
:
red
;
}
/* 2019年2月18日11:21:38 新增年报特殊处理样式 */
.left-item.table_fixed
{
background-color
:
#efe8e8
;
color
:
#6b6363
;
}
.container
.left-bar
.left
.left-item.table_fixed
:hover
{
color
:
#6b6363
;
}
</style>
</head>
<body
class=
"body"
>
<div
class=
"header"
>
<div
class=
"title"
>
<p>
<span
class=
"caption"
>
当前报表:
</span>
<span
class=
"name"
></span>
<span
class=
"caption"
>
所属期:
</span>
<span
class=
"sssj"
></span>
</p>
</div>
<div
class=
"button-group"
>
<button
onClick=
"submitData()"
class=
"htbutton"
>
保存
</button>
</div>
</div>
</div>
<div
class=
"container"
>
<div
class=
"left-bar"
>
<div
class=
"left-title"
><span>
报表清单
</span></div>
<div
class=
"left"
>
</div>
</div>
<div
class=
"breakbar"
>
<div
class=
"middle-btn"
></div>
</div>
<div
class=
"right"
>
<div
id=
"ss"
style=
"width:100%;height:100%"
></div>
</div>
</div>
<div
id=
"Modal"
></div>
<div
id=
"gljynrModal"
>
<p
class=
"import-title"
>
<span
class=
"title"
>
选择关联交易内容
</span>
</p>
<div
class=
"czJyLx-content"
>
<table
class=
"czJyLx-table"
>
<thead>
<tr>
<th>
选择
</th>
<th
class=
"dm-name"
>
关联交易内容代码
</th>
<th
class=
"content-name"
>
关联交易内容
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
<!-- <tr>
<td><input type="checkbox" class="only-single" data-code="" value="" data-id="10300" data-name="税率优惠" /></td>
<td>10300</td>
<td>税率优惠</td>
</tr> -->
</tbody>
</table>
</div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"czJyLxConfirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"czJyLxClose"
>
取消
</button>
</div>
</div>
<div
id=
"tqzlModal"
>
<p
class=
"import-title"
>
<span
class=
"title"
>
选择本年度准备同期资料
</span>
</p>
<div
class=
"czJyLx-content"
>
<table
class=
"czJyLx-table"
>
<thead>
<tr>
<th>
选择
</th>
<th>
代码
</th>
<th>
名称
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
<tr>
<td><input
type=
"checkbox"
class=
"only-single"
data-code=
""
value=
""
data-id=
"0"
data-name=
"无"
/></td>
<td>
0
</td>
<td>
无
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
data-code=
""
value=
""
data-id=
"1"
data-name=
"主体文档"
/></td>
<td>
1
</td>
<td>
主体文档
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
data-code=
""
value=
""
data-id=
"2"
data-name=
"本地文档"
/></td>
<td>
2
</td>
<td>
本地文档
</td>
</tr>
<tr>
<td><input
type=
"checkbox"
data-code=
""
value=
""
data-id=
"3"
data-name=
"特殊事项文档"
/></td>
<td>
3
</td>
<td>
特殊事项文档
</td>
</tr>
</tbody>
</table>
</div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"czJyLxConfirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"czJyLxClose"
>
取消
</button>
</div>
</div>
<div
id=
"hydmModal"
>
<p
class=
"import-title"
>
<span
class=
"title"
>
选择所属行业代码
</span>
</p>
<div
class=
"searchBox"
>
<span
class=
"searchTitle"
>
所属行业代码:
</span>
<input
class=
"searchInput"
id=
"swjgdm"
type=
"text"
name=
""
>
<button
class=
"button searchBtn"
id=
"searchBtn"
>
搜索
</button>
</div>
<div
class=
"czSwjg-content"
>
<table
class=
"czJyLx-table"
>
<thead>
<tr>
<th>
选择
</th>
<th>
行业代码
</th>
<th>
行业名称
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
id=
"czSwjg-table"
>
</tbody>
</table>
</div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"czSwjgConfirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"czSwjgClose"
>
取消
</button>
</div>
</div>
<!-- 导入按钮 -->
<div
id=
"importData"
style=
""
>
<p
class=
"import-title"
>
<span
class=
"title"
>
导入数据
</span>
<span
class=
"close"
>
×
</span>
</p>
<div
class=
"area-div"
>
<textarea
id=
"exportAreaData"
cols=
"30"
rows=
"20"
></textarea>
</div>
<p
class=
"text-right"
>
<button
class=
"htbutton import"
id=
"confirmImportBtn"
>
导入数据
</button>
<button
class=
"htbutton close"
>
关闭
</button>
</p>
</div>
<div
class=
"modal-box"
id=
"resultModal"
>
<div
class=
"modal-content"
>
<!-- 基本校验 -->
<div
class=
"jbjy-box"
>
<div
class=
"jbjy jy-title"
>
基本校验
</div>
<table
class=
"httable jbjy-table"
>
<thead>
<tr>
<th>
校验标识
</th>
<th>
提示信息
</th>
<th>
校验类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
</tbody>
</table>
</div>
<!-- 报表校验 -->
<div
class=
"bbjy-box"
>
<div
class=
"bbjy jy-title"
>
报表校验
</div>
<table
class=
"httable httable-hover bbjy-table"
>
<thead>
<tr>
<th>
校验标识
</th>
<th>
提示信息
</th>
<th>
校验类型
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
</tbody>
</table>
</div>
<!-- 一窗式校验 -->
<div
class=
"ycsjy-box"
>
<div
class=
"sbjg jy-title"
></div>
<table
class=
"httable httable-hover ycsjy-table"
>
<thead>
<tr>
<!-- <th>比对规则编码</th> -->
<th>
比对项目
</th>
<th>
比对名称
</th>
<th>
比对结果
</th>
<th>
比对内容
</th>
<th>
比对结果信息
</th>
<th>
监控级别
</th>
</tr>
</thead>
<tbody
class=
"modal-table"
>
</tbody>
</table>
</div>
</div>
<div
class=
"ycsjyjg"
></div>
<div
class=
"modal-button"
>
<button
class=
"htbutton"
id=
"confirm"
>
确定
</button>
<button
class=
"htbutton"
id=
"closeModal"
>
取消
</button>
</div>
</div>
<div
id=
"resultFloat"
title=
"查看校验结果"
class=
"htbutton"
>
查看校验
</div>
<script>
var
URL
=
config
.
url
;
var
GLOBAL_INITJSON
,
GLOBAL_JSON
,
GLOBAL_CACHE_DATA
,
GLOBAL_TABLE_SPECIAL
,
GLOBAL_TABLE_FP
,
isGZflag
;
var
param
=
GetQueryValue
(
"falg"
);
var
address
;
if
(
param
==
"declare"
)
{
address
=
"declare/toPzzl"
;
}
else
if
(
param
==
"amend"
)
{
address
=
"amend/toGzPzzl"
;
}
function
GetQueryValue
(
queryName
)
{
var
query
=
decodeURI
(
window
.
location
.
search
.
substring
(
1
));
var
vars
=
query
.
split
(
"&"
);
for
(
var
i
=
0
;
i
<
vars
.
length
;
i
++
)
{
var
pair
=
vars
[
i
].
split
(
"="
);
if
(
pair
[
0
]
==
queryName
)
{
return
pair
[
1
];
}
}
return
null
;
}
function
formatDate
(
date
){
var
re
=
/^
\d
+
(?=\.{0,1}\d
+$|$
)
/
;
if
(
date
!=
""
)
{
// 是纯数字
if
(
re
.
test
(
date
))
{
// 长度为6 比如 201802
if
(
date
.
length
==
6
)
{
var
y
=
date
.
slice
(
0
,
4
);
var
m
=
date
.
slice
(
4
,
6
);
date
=
y
+
'年'
+
m
+
'月'
;
}
else
{
// 长度为8 比如 20180219
var
y
=
date
.
slice
(
0
,
4
);
var
m
=
date
.
slice
(
4
,
6
);
var
d
=
date
.
slice
(
6
,
8
);
date
=
y
+
'年'
+
m
+
'月'
+
d
+
'日'
;
}
}
else
{
var
eDates
=
new
Date
(
date
);
var
y
=
eDates
.
getFullYear
();
var
m
=
eDates
.
getMonth
()
+
1
;
if
(
m
<
10
){
m
=
"0"
+
m
;
}
var
d
=
eDates
.
getDate
();
if
(
d
<
10
){
d
=
"0"
+
d
;
}
date
=
y
+
'年'
+
m
+
'月'
+
d
+
'日'
;
}
}
return
date
;
}
$
(
function
(){
var
iframeUrl
=
window
.
location
.
search
.
split
(
'?'
)[
1
];
var
csList
=
iframeUrl
.
split
(
'&'
);
var
param
=
""
if
(
csList
.
length
>
1
)
{
var
openData
=
csList
[
1
].
split
(
'='
)[
1
]
param
=
decodeURI
(
openData
)
localStorage
.
setItem
(
"data"
,
param
);
}
else
{
param
=
localStorage
.
getItem
(
"data"
)
}
var
sksssjqz
=
formatDate
(
JSON
.
parse
(
param
).
sksssjq
)
+
" 至 "
+
formatDate
(
JSON
.
parse
(
param
).
sksssjz
)
$
(
".header span.sssj"
).
html
(
sksssjqz
);
$
.
ajax
({
type
:
"POST"
,
url
:
URL
+
"/online/"
+
address
,
async
:
false
,
dataType
:
"json"
,
// 请求方式为jsonp
data
:
{
data
:
param
},
success
:
function
(
data
)
{
$
(
".header span.name"
).
html
(
data
.
pzzlMc
);
$
(
"title"
).
html
(
data
.
pzzlMc
)
if
(
data
.
bean
)
{
GLOBAL_INITJSON
=
data
.
bean
.
data
?
JSON
.
parse
(
data
.
bean
.
data
)
:
{};
GLOBAL_JSON
=
data
.
bean
.
dataSs
?
JSON
.
parse
(
data
.
bean
.
dataSs
)
:
{};
GLOBAL_CACHE_DATA
=
data
.
bean
.
cacheData
?
JSON
.
parse
(
data
.
bean
.
cacheData
)
:
{};
GLOBAL_TABLE_SPECIAL
=
data
.
bean
.
specialCarryData
?
JSON
.
parse
(
data
.
bean
.
specialCarryData
)
:
{};
GLOBAL_TABLE_FP
=
data
.
bean
.
zzsData
?
JSON
.
parse
(
data
.
bean
.
zzsData
)
:
{};
isGZflag
=
data
.
bean
.
ifGZflag
?
true
:
false
;
}
},
error
:
function
(
xhr
){
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
// var GLOBAL_INITJSON = ${ data };
// var GLOBAL_JSON = ${ dataSs };
// var isGZflag = ${ ifGZflag?true:false };
// var GLOBAL_CACHE_DATA = ${ cacheData };
// var GLOBAL_TABLE_SPECIAL = ${ specialCarryData };
// var GLOBAL_TABLE_FP = ${ zzsData };
// 布局处理
var
$container
=
$
(
".container"
);
var
$breakbar
=
$
(
".breakbar .middle-btn"
);
// $(function () {
$container
.
removeClass
(
"full"
);
$breakbar
.
text
(
"<"
);
$breakbar
.
on
(
"click"
,
function
()
{
if
(
$container
.
is
(
".full"
))
{
$container
.
removeClass
(
"full"
);
$breakbar
.
text
(
"<"
);
}
else
{
$container
.
addClass
(
"full"
);
$breakbar
.
text
(
">"
);
}
if
(
spread
)
{
spread
.
refresh
();
}
});
// });
})
// $(document).ready(function () {
// setTimeout(function () {
// // TODO 在选择完报表的条件下添加特殊样式标记
// $('[data-table="table_10414_001"],[data-table="table_10414_002"]').addClass('table_fixed');
// $('[data-index="2"]').click();
// }, 1000);
// })
</script>
<!-- 业务逻辑代码 -->
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/yearGLB/initLoader.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/yearGLB/util.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/yearGLB/api.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/yearGLB/fomula.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/yearGLB/tool.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/yearGLB/specialHandler.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/js/yearGLB/result.js?v=1"
></script>
<script
type=
"text/javascript"
src=
"/web/onlineReport/static/tools/js/My97DatePicker/WdatePicker.js?v=1"
></script>
</body>
</html>
\ No newline at end of file
jsp/taxForecast/index.html
deleted
100644 → 0
View file @
7358f029
<!doctype html>
<html>
<head>
<meta
charset=
'UTF-8'
>
<!-- 让360双核浏览器用webkit内核渲染页面-->
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
renderer
content=
webkit
>
<!-- 让IE浏览器用最高级内核渲染页面 还有用 Chrome 框架的页面用webkit 内核 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<!-- IOS6全屏 Chrome高版本全屏 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"edge"
>
<link
href=
"../../static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<!--滚动条-->
<link
rel=
"stylesheet"
href=
"../../static/tools/css/scroll.css"
/>
<!--table样式-->
<link
rel=
"stylesheet"
href=
"../../static/tools/css/table.css"
/>
<!--样式-->
<link
rel=
"stylesheet"
href=
"../../static/tools/css/encapsulation.css"
/>
<!--时间插件-->
<link
rel=
"stylesheet"
href=
"../../static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<!--declare-->
<link
rel=
"stylesheet"
href=
"../../static/css/declare/declare.css"
/>
<!-- 页面自定义样式 -->
<title>
在线填报
</title>
</head>
<script>
document
.
write
(
"<script type='text/javascript' src='../../static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<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/zxtb.png"
>
<span
style=
"float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;"
class=
"span-title"
>
税收调查
</span>
</div>
<div>
<div
class=
"div-float"
style=
"padding-bottom: 8px; width: 100%;position :relative"
>
<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=
"declareTable"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10px;height: 32px;margin-top: 5px;float: right;"
type=
"button"
value=
"申报"
/>
<input
id=
"toExamine"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10px;height: 32px;margin-top: 5px;float: right;"
type=
"button"
value=
"审核"
/>
<input
id=
"readData"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10px;height: 32px;margin-top: 5px;float: right;"
type=
"button"
value=
"读取征管数据"
/>
</div>
</div>
</br>
<div
class=
"div-clear-folat"
>
<strong>
税费申报
</strong>
<div
class=
"lockState left"
style=
"float: right;margin-right: 10px;"
>
<span
class=
"lock_title"
>
锁定状态:
</span>
<span
class=
"lock_state"
>
未锁定
</span>
</div>
</div>
<hr
class=
"hr-margin"
/>
<div
id=
"taxGrid"
></div>
<div
class=
"font-clo"
style=
"padding-top: 20px;"
>
<div
style=
"font-size:12px"
>
温馨提示:
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
1、如近期有税费种认定、纳税人资格、备案等发生变动,页面展现清册与实际所需不符的,
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
请点此处
“
<label
for=
"readData"
id=
"reset1"
class=
"label_declare"
>
重置申报清册
</label>
”
对该户清册进行重新生成。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
2、点击页眉
“申报缴税”
即会触发下属首个菜单
“按期应申报”
,无需再点击
“按期应申报”
,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如发现清册重复,也请点击前述链接
“重置申报清册”
。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
无上述1、2情况请勿点击重置。
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
3、仅当操作期间申报状态有变化时点
“刷新”
,切换月份、刚进入本页面、申报完成后本页面已显示
“已申报”
等情形无需刷新。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
4、如发现
“刷新”
后的申报日期和状态不是最新情况,通常是因为
“刷新”
按钮所查数据同步延时所致,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如遇此情况,等几秒钟再
“刷新”
或退出后稍后重进申报清册查看。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
5、没有财务报表清册,可能是以下原因之一:
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
未做财务报表备案,
<label
id=
"goRecord"
class=
"label_declare"
>
现在去备案;
</label></span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
只做了备案报告书但未做具体的会计报表名称;
</span></div>
</div>
</div>
</div>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
</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/js/tax/tool.js"
></script>
<script
src=
"../../static/tools/js/bootstrap.js?v=1.1"
></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/tools/js/encapsulation.js?v=1.3"
></script>
<script
src=
"../../static/biz/taxForecastList.js?v=1.0"
></script>
</html>
jsp/taxTnvestigation/index.html
deleted
100644 → 0
View file @
7358f029
<!doctype html>
<html>
<head>
<meta
charset=
'UTF-8'
>
<!-- 让360双核浏览器用webkit内核渲染页面-->
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
renderer
content=
webkit
>
<!-- 让IE浏览器用最高级内核渲染页面 还有用 Chrome 框架的页面用webkit 内核 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<!-- IOS6全屏 Chrome高版本全屏 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"edge"
>
<link
href=
"/web/onlineReport/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<!--滚动条-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/css/scroll.css"
/>
<!--table样式-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/css/table.css"
/>
<!--样式-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/css/encapsulation.css"
/>
<!--时间插件-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<!--declare-->
<link
rel=
"stylesheet"
href=
"/web/onlineReport/static/css/declare/declare.css"
/>
<!-- 页面自定义样式 -->
<title>
在线填报
</title>
</head>
<script>
document
.
write
(
"<script type='text/javascript' src='/web/onlineReport/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<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=
"/web/onlineReport/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>
<div
class=
"div-float"
style=
"padding-bottom: 8px; width: 100%;position :relative"
>
<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=
"declareTable"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10px;height: 32px;margin-top: 5px;float: right;"
type=
"button"
value=
"申报"
/>
<input
id=
"toExamine"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10px;height: 32px;margin-top: 5px;float: right;"
type=
"button"
value=
"审核"
/>
<input
id=
"readData"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10px;height: 32px;margin-top: 5px;float: right;"
type=
"button"
value=
"读取征管数据"
/>
</div>
</div>
</br>
<div
class=
"div-clear-folat"
>
<strong>
税费申报
</strong>
<div
class=
"lockState left"
style=
"float: right;margin-right: 10px;"
>
<span
class=
"lock_title"
>
锁定状态:
</span>
<span
class=
"lock_state"
>
未锁定
</span>
</div>
</div>
<hr
class=
"hr-margin"
/>
<div
id=
"taxGrid"
></div>
<div
class=
"font-clo"
style=
"padding-top: 20px;"
>
<div
style=
"font-size:12px"
>
温馨提示:
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
1、如近期有税费种认定、纳税人资格、备案等发生变动,页面展现清册与实际所需不符的,
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
请点此处
“
<label
for=
"readData"
id=
"reset1"
class=
"label_declare"
>
重置申报清册
</label>
”
对该户清册进行重新生成。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
2、点击页眉
“申报缴税”
即会触发下属首个菜单
“按期应申报”
,无需再点击
“按期应申报”
,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如发现清册重复,也请点击前述链接
“重置申报清册”
。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
无上述1、2情况请勿点击重置。
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
3、仅当操作期间申报状态有变化时点
“刷新”
,切换月份、刚进入本页面、申报完成后本页面已显示
“已申报”
等情形无需刷新。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
4、如发现
“刷新”
后的申报日期和状态不是最新情况,通常是因为
“刷新”
按钮所查数据同步延时所致,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如遇此情况,等几秒钟再
“刷新”
或退出后稍后重进申报清册查看。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
5、没有财务报表清册,可能是以下原因之一:
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
未做财务报表备案,
<label
id=
"goRecord"
class=
"label_declare"
>
现在去备案;
</label></span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
只做了备案报告书但未做具体的会计报表名称;
</span></div>
</div>
</div>
</div>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
</body>
<script
src=
"/web/onlineReport/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<script
src=
"/web/onlineReport/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<script
src=
"/web/onlineReport/static/js/tax/tool.js"
></script>
<script
src=
"/web/onlineReport/static/tools/js/bootstrap.js?v=1.1"
></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=
"/web/onlineReport/static/tools/js/encapsulation.js?v=1.3"
></script>
<script
src=
"/web/onlineReport/static/biz/taxTnvestigationList.js?v=1.0"
></script>
</html>
\ No newline at end of file
static/biz/aKeyTaxList.js
deleted
100644 → 0
View file @
7358f029
var
initpage
;
$
(
function
()
{
showLoading
();
getZg
();
})
// 获取重点税源资格
function
getZg
()
{
$
.
ajax
({
type
:
"post"
,
url
:
config
.
url
+
"/online/zdsy/zg"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
getUrlParam
(
"djxh"
),
token
:
getUrlParam
(
"token"
),
nsrsbq
:
""
,
},
success
:
function
(
data
)
{
if
(
data
.
returnCode
!=
'00'
)
{
hideLoading
();
myAlert
(
"提示"
,
data
.
returnMessage
,
"确定"
);
return
flase
}
var
flag
=
data
.
content
.
flag
;
if
(
flag
==
'Y'
)
{
getInitTable
(
""
)
}
else
{
alertWarning
(
data
.
content
.
message
);
hideLoading
();
}
},
error
:
function
(
xhr
)
{
hideLoading
();
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
}
// 获取列表数据
function
getInitTable
(
date
)
{
$
.
ajax
({
type
:
"POST"
,
url
:
config
.
url
+
"/online/zdsy/zdsyLb"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
getUrlParam
(
"djxh"
),
nsrsbq
:
date
,
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading
();
var
companyInfo
=
data
;
if
(
companyInfo
.
returnCode
==
"00"
)
{
config
.
nsrsbq
=
companyInfo
.
content
.
nsrsbq
config
.
value
=
companyInfo
.
content
.
value
companyInfo
.
content
.
config
=
config
companyInfo
.
content
.
return
=
true
;
/* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
config
.
return
=
true
;
initpage
=
initPage
(
companyInfo
.
content
);
if
(
companyInfo
.
content
.
sdState
==
"Y"
)
{
$
(
"#sdzt"
).
html
=
"已锁定"
}
else
{
$
(
"#sdzt"
).
html
=
"未锁定"
}
}
else
{
hideLoading
();
if
(
data
.
errmsg
!=
undefined
)
{
alertWarning
(
data
.
errmsg
);
}
else
{
alertWarning
(
data
.
returnMessage
);
}
if
(
!
companyInfo
.
bean
)
{
companyInfo
.
bean
=
{};
companyInfo
.
bean
.
djxh
=
getUrlParam
(
"djxh"
);
companyInfo
.
bean
.
return
=
false
;
}
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======================"
)
}
})
}
var
shBz
=
true
;
//重点税源审核标志
function
initPage
(
companyInfo
)
{
var
companyInfo
=
companyInfo
;
var
djxh
=
companyInfo
.
djxh
;
var
nowdate
=
""
;
// 存储当前选择的时间框;
var
submitData
;
var
getSzLB
=
function
(
date
)
{
showLoading
();
$
.
ajax
({
url
:
config
.
url
+
"/online/zdsy/zdsyLb"
,
data
:
{
djxh
:
djxh
,
nsrsbq
:
date
,
},
type
:
"POST"
,
dataType
:
"JSON"
,
}).
done
(
function
(
data
)
{
companyInfo
=
data
;
if
(
data
.
returnCode
==
"00"
)
{
config
.
nsrsbq
=
data
.
content
.
nsrsbq
config
.
value
=
data
.
content
.
value
companyInfo
.
content
.
config
=
config
companyInfo
.
content
.
return
=
true
;
/* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
config
.
return
=
true
;
drawGrid
(
companyInfo
.
content
);
}
else
{
if
(
data
.
errmsg
!=
undefined
)
{
alertWarning
(
data
.
errmsg
);
}
else
{
alertWarning
(
data
.
returnMessage
);
}
}
hideLoading
();
}).
always
(
function
(
data
)
{
hideLoading
();
});
}
/**
* 展示税种申报信息
*/
var
showTax
=
function
(
taxInfo
)
{
if
(
taxInfo
.
length
>
0
)
{
var
shNum
=
0
;
for
(
var
i
=
0
;
i
<
taxInfo
.
length
;
i
++
)
{
if
(
taxInfo
[
i
].
state
==
'Y'
)
{
shNum
+=
1
}
if
(
taxInfo
[
i
].
sksssjq
)
{
taxInfo
[
i
].
sssqQ
=
tool
.
formatDate
(
taxInfo
[
i
].
sksssjq
.
split
(
" "
)[
0
]);
}
if
(
taxInfo
[
i
].
sksssjz
)
{
taxInfo
[
i
].
sssqZ
=
tool
.
formatDate
(
taxInfo
[
i
].
sksssjz
.
split
(
" "
)[
0
]);
}
switch
(
taxInfo
[
i
].
state
)
{
case
'N'
:
taxInfo
[
i
].
txzt
=
"未填写"
;
break
;
case
'Y'
:
taxInfo
[
i
].
txzt
=
"已填写"
;
break
;
case
'W'
:
taxInfo
[
i
].
txzt
=
"填写错误"
;
break
;
}
}
if
(
taxInfo
.
length
==
shNum
)
{
shBz
=
true
;
}
else
{
shBz
=
false
;
}
}
var
id
=
"#taxGrid"
;
var
buttonHtml
=
"填写报表"
;
var
order
=
[
"bbMc"
,
"sssqQ"
,
"sssqZ"
,
"txzt"
,
"do"
];
var
promptStatement
=
""
;
var
headerList
=
[{
name
:
"序号"
,
width
:
"5%"
},
{
name
:
"申报表"
,
width
:
"55%"
},
{
name
:
"税款所属期起"
,
width
:
"10%"
},
{
name
:
"税款所属期止"
,
width
:
"10%"
},
{
name
:
"填写状态"
,
width
:
"10%"
},
{
name
:
"操作"
,
width
:
"10%"
}];
//渲染表
getTableDeclaration
(
id
,
order
,
headerList
,
taxInfo
,
buttonHtml
,
promptStatement
)
};
/**
* 税务申报table渲染
* @param {*} id
* @param {*} order
* @param {*} headerList
* @param {*} ddt
* @param {*} buttonHtml
*/
var
getTableDeclaration
=
function
(
id
,
order
,
headerList
,
ddt
,
buttonHtml
,
promptStatement
)
{
var
tableObj
=
{
id
:
id
,
//tabel父元素的id
autoHeight
:
ddt
.
length
>
0
?
10
:
""
,
containerWidth
:
"99%"
,
//table占父元素的百分比
autoHeight
:
ddt
.
length
>
0
?
10
:
""
,
// 默认10行
order
:
order
,
//数据按照什么顺序排序 1.do为是否保函操作 2.序号列会自动添加不需要写
onlyId
:
"bbDm"
,
//数据的唯一标识
height
:
"320"
,
//表格的高度
buttonHeight
:
""
,
//表格的高度
buttonHtml
:
buttonHtml
,
//按钮里的字
headerList
:
headerList
,
//表头名字及占比,顺序与order对应
promptStatement
:
promptStatement
,
// 没有数据时默认提示
data
:
{
page
:
"1"
,
pageSize
:
ddt
.
length
},
jsonReady
:
ddt
,
callback
:
function
(
data
,
node
)
{
var
bbDmVersion
=
data
.
bbDm
+
'_'
+
data
.
versionNumber
;
data
.
nsrsbq
=
config
.
nsrsbq
;
var
sbzjKbData
=
{
// 税表组件 开表参数
bbDmVersion
:
bbDmVersion
,
valueTakingMethod
:
"ajax"
,
// 提取数据方式控制 ajax 请求后台 cache 取浏览器缓存 ""不许要请求后台 key值为allParam
sksssjq
:
data
.
sksssjq
,
sksssjz
:
data
.
sksssjz
,
requestRarameters
:
data
,
// 这里是对象
requestAddress
:
{
// 提取数据方式控制为ajax 此节点必须存在
selectSbbInfoAddress
:
"/online/zdsyData/selectSbbInfo"
,
// 开表接口
deleteSbbInfoAddress
:
"/online/zdsyData/deleteSbbInfo"
,
// 删除接口
// tbSbbInfoAddress: "/htftsolu/tbSbbInfo",//同步接口
saveSbbInfoAddress
:
"/online/zdsyData/saveSbbInfo"
,
//保存接口
// downloadPDFAddress: "/htftsolu/downloadPDF",//下载PDF接口
// customBtnAddress: "/htftsolu/tbYKJInfo",//同步外部平台数据接口
// saveTaxFromExcetion: "/htftsolu/saveTaxFromExcetion"//报错记录接口
},
//存放接口地址
readOnly
:
false
,
getCshBtn
:
true
,
getBjBtn
:
true
,
returnBtn
:
true
,
pdfBtn
:
false
,
printBtn
:
false
,
saveBtn
:
true
,
hideSaveData
:
'1'
,
//用于其他平台隐藏式开表保存数据
replaceBtn
:
false
,
deleteBtn
:
true
,
getOtherData
:
false
,
formSaveData
:
false
,
disableBtn
:
{
disSave
:
false
,
disReplace
:
false
},
openMode
:
{
flag
:
'3'
}
};
data
.
sourceFlag
=
"zdsy"
sbzjKbData
.
requestRarameters
.
nsrsbh
=
data
.
nsrsbh
;
sbzjKbData
.
requestRarameters
.
nsrsbq
=
data
.
nsrsbq
;
sbzjKbData
.
requestRarameters
.
saveUserId
=
data
.
sourceFlag
;
sbzjKbData
.
requestRarameters
.
getBjBz
=
'init'
window
.
open
(
config
.
taxFormComponent
+
JSON
.
stringify
(
sbzjKbData
)
+
'&random='
+
Math
.
random
()
+
'#/'
+
bbDmVersion
,
'_blank'
);
}
};
var
object
=
tool
.
tableCreate
(
tableObj
);
// object.jsonReadyTo(ddt, { page: "1", pageSize: ddt.length });
};
var
drawGrid
=
function
(
bean
)
{
if
(
bean
.
szlb
.
length
==
0
)
{
alertInfo
(
"税费申报暂无数据"
);
}
showTax
(
bean
.
szlb
);
};
// 格式化后台返回的时间
if
(
companyInfo
.
config
.
return
)
{
var
year
=
companyInfo
.
nsrsbq
.
substring
(
0
,
4
);
var
month
=
companyInfo
.
nsrsbq
.
substring
(
4
,
6
);
var
sbq
=
year
+
'-'
+
month
$
(
"#getInputValue"
).
val
(
sbq
);
nowdate
=
companyInfo
.
nsrsbq
;
drawGrid
(
companyInfo
);
}
/**
* 日期改变时触发
* N 非强制刷新
* @param {*} obj
* @param {*} dp
*/
var
changeDate
=
function
(
obj
,
dp
)
{
date
=
dp
.
cal
.
getNewDateStr
();
if
(
date
!=
""
&&
date
!=
undefined
){
nowdate
=
date
.
split
(
'-'
)[
0
]
+
date
.
split
(
'-'
)[
1
];
// 给缓存时间赋值
// 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理
setTimeout
(
function
()
{
getSzLB
(
nowdate
);
},
50
);
}
};
// 读取征管数据 点击事件
var
readDataF
=
function
()
{
myConfirm
(
"消息"
,
"您确定需要读取征管数据吗?点击确定继续"
,
"确定"
,
"取消"
,
function
()
{
getTaxDeclaration
(
nowdate
);
});
};
$
(
"#readData"
).
on
(
"click"
,
readDataF
);
// 读取征管数据 接口调用
var
getTaxDeclaration
=
function
(
date
)
{
// TODO 开始加载等待动画
showLoading
();
$
.
ajax
({
url
:
config
.
url
+
"/online/zdsy/readData"
,
data
:
{
djxh
:
djxh
,
nsrsbq
:
date
,
},
type
:
"POST"
,
dataType
:
"JSON"
,
}).
done
(
function
(
data
)
{
if
(
data
.
returnCode
==
"00"
)
{
alertSuccess
(
data
.
returnMessage
);
}
else
{
if
(
data
.
errmsg
!=
undefined
)
{
alertWarning
(
data
.
errmsg
);
}
else
{
alertWarning
(
data
.
returnMessage
);
}
}
}).
always
(
function
(
data
)
{
hideLoading
();
});
};
// 申报
function
declareTable
()
{
console
.
log
(
'declareTable'
)
}
$
(
"#declareTable"
).
on
(
"click"
,
declareTable
);
return
{
changeDate
:
changeDate
,
readDataF
:
readDataF
,
}
}
// 审核
function
toExamineFun
()
{
var
html
=
"<div id='checkBJ'>表间校验</div>"
// myAlert("提示", "允许审核", "确定");
myCheck
(
"审核校验"
,
html
,
"确定"
,
"取消"
,
function
()
{
// getTaxDeclaration(nowdate);
});
};
$
(
"#toExamine"
).
on
(
"click"
,
function
()
{
if
(
shBz
)
{
toExamineFun
()
}
else
{
myAlert
(
"提示"
,
"报表填写状态存在“未填写”或“填写错误”,请核对!"
,
"确定"
);
}
});
\ No newline at end of file
static/biz/amend_grid.js
View file @
da5c05e1
...
@@ -8,7 +8,13 @@ var zjhm = '';
...
@@ -8,7 +8,13 @@ var zjhm = '';
var
initpage
;
var
initpage
;
var
nbbd10414
=
""
;
var
nbbd10414
=
""
;
var
nbbd10420
=
""
;
var
nbbd10420
=
""
;
var
prefix
=
""
;
$
(
function
()
{
$
(
function
()
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
prefix
=
"/web/online"
;
}
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
})
})
...
@@ -26,8 +32,6 @@ function getInitTable() {
...
@@ -26,8 +32,6 @@ function getInitTable() {
pzzlDm
:
getUrlParam
(
"pzzlDm"
)
pzzlDm
:
getUrlParam
(
"pzzlDm"
)
},
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
//el表达式变jq
// $("#token").attr("value","");
hideLoading
();
hideLoading
();
var
companyInfo
=
data
;
var
companyInfo
=
data
;
$
(
"#djxh"
).
attr
(
"value"
,
companyInfo
.
djxh
);
$
(
"#djxh"
).
attr
(
"value"
,
companyInfo
.
djxh
);
...
@@ -141,7 +145,6 @@ function initPage(companyInfo) {
...
@@ -141,7 +145,6 @@ function initPage(companyInfo) {
var
tableObj
=
{
var
tableObj
=
{
id
:
id
,
//tabel父元素的id
id
:
id
,
//tabel父元素的id
autoHeight
:
10
,
autoHeight
:
10
,
// buttonControlArr:[{html:"办理",classA:"doCollectArr"},{html:"删除",classA:"deletCollectArr"}],
containerWidth
:
"99%"
,
//table占父元素的百分比
containerWidth
:
"99%"
,
//table占父元素的百分比
order
:
order
,
//数据按照什么顺序排序 1.do为是否保函操作 2.序号列会自动添加不需要写
order
:
order
,
//数据按照什么顺序排序 1.do为是否保函操作 2.序号列会自动添加不需要写
onlyId
:
"sbuuid"
,
//数据的唯一标识
onlyId
:
"sbuuid"
,
//数据的唯一标识
...
@@ -168,7 +171,7 @@ function initPage(companyInfo) {
...
@@ -168,7 +171,7 @@ function initPage(companyInfo) {
data
.
zjhm
=
zjhm
//证件号码
data
.
zjhm
=
zjhm
//证件号码
window
.
mlistener
.
selectRowData
=
data
;
window
.
mlistener
.
selectRowData
=
data
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
ssfwptPage
,
'_blank'
);
}
else
{
}
else
{
if
(
data
.
bblxDm
==
'10414'
&&
nbbd10414
!=
'Y'
){
if
(
data
.
bblxDm
==
'10414'
&&
nbbd10414
!=
'Y'
){
myAlert
(
"提示"
,
"尊敬的纳税人:为了保证更正数据的准确性,只有在本系统申报的企业才可以进行更正操作。您未在本系统申报,不能在本系统更正。"
,
"确定"
);
myAlert
(
"提示"
,
"尊敬的纳税人:为了保证更正数据的准确性,只有在本系统申报的企业才可以进行更正操作。您未在本系统申报,不能在本系统更正。"
,
"确定"
);
...
@@ -177,7 +180,7 @@ function initPage(companyInfo) {
...
@@ -177,7 +180,7 @@ function initPage(companyInfo) {
}
else
{
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
}
}
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
...
@@ -215,9 +218,6 @@ function initPage(companyInfo) {
...
@@ -215,9 +218,6 @@ function initPage(companyInfo) {
}
}
}
}
}
}
// var form = $("#changeForm_amend");
// form.find("#changeForm_data").val(JSON.stringify(data));
// form.submit();
var
requestData
=
data
;
var
requestData
=
data
;
var
falg
=
"amend"
;
var
falg
=
"amend"
;
requestData
.
flag
=
true
;
requestData
.
flag
=
true
;
...
@@ -229,47 +229,10 @@ function initPage(companyInfo) {
...
@@ -229,47 +229,10 @@ function initPage(companyInfo) {
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
requestData
));
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
requestData
));
form
.
submit
();
form
.
submit
();
return
false
;
return
false
;
// showLoading()
// $.ajax({
// type: "POST",
// // url: url + "/online_report/amend/toGzPzzl",
// url: url + "/online_report/amend/toGzPzzl",
// dataType: "json", // 请求方式为jsonp
// data: {
// data: JSON.stringify(data)
// },
// success: function (data) {
// hideLoading()
// if (data.code == 99 || data.code == "99") {
// if (data.errmsg != undefined) {
// alertWarning(data.errmsg);
// } else {
// alertWarning(data.returnMessage);
// }
// return false
// }
// /* if (data.url == "../declare/edit.jsp") {
// window.open(config.webUrl+"declare/edit.html?falg="+falg+'¶ms=' + encodeURI(JSON.stringify(requestData)));
// }else if (data.url == "../declare/yearReport.jsp") {
// window.open(config.webUrl+"declare/yearReport.html?falg="+'¶ms=' + encodeURI(JSON.stringify(requestData)));
// }else if (data.url == "../declare/yearReportGLB.jsp") {
// window.open(config.webUrl+"declare/yearReportGLB.html?falg="+'¶ms=' + encodeURI(JSON.stringify(requestData)));
// }else {
// window.open(config.webUrl+"error/index.html?falg="+'¶ms=' + encodeURI(JSON.stringify(requestData)));
// }*/
// },
// error: function (xhr) {
// hideLoading()
// alertWarning(data.returnMessage);
// //jsonp 方式此方法不被触发
// console.log("=======error======================")
// }
// })
}
}
}
//点击按钮后的回调函数
}
//点击按钮后的回调函数
};
};
var
object
=
tool
.
tableCreate
(
tableObj
);
var
object
=
tool
.
tableCreate
(
tableObj
);
// object.jsonReadyTo(ddt, { page: "1", pageSize: ddt.length });
}
}
/**
/**
...
@@ -293,17 +256,6 @@ function initPage(companyInfo) {
...
@@ -293,17 +256,6 @@ function initPage(companyInfo) {
sbrqz
:
durationOfTaxEnd
,
// 申报日期止
sbrqz
:
durationOfTaxEnd
,
// 申报日期止
gzCacheKey
:
companyInfo
.
gzCacheKey
,
//登记序号
gzCacheKey
:
companyInfo
.
gzCacheKey
,
//登记序号
}
}
// if (tool.bijiaodata(durationOfTaxStart, durationOfTaxEnd)) {
// alertInfo("税款所属期起必须小于等于税款所属期止!");
// return false;
// }
// if (temporaryDate == declareDate) { // 本次和上次一样,本地处理
// handleSourceData(temporaryDate, durationOfTaxStart, durationOfTaxEnd) //初始数据处理
// } else {
// $("#durationOfTaxStart").val(""); // 每次去查询后台请求数据,将税款所属期起止清空
// $("#durationOfTaxEnd").val("");
// getTaxAmendData(param); // 如果税款所属期起止:没数据 去查
// }
getTaxAmendData
(
param
);
// 如果税款所属期起止:没数据 去查
getTaxAmendData
(
param
);
// 如果税款所属期起止:没数据 去查
});
});
...
@@ -338,9 +290,6 @@ function initPage(companyInfo) {
...
@@ -338,9 +290,6 @@ function initPage(companyInfo) {
* @author ygy
* @author ygy
* @date 2018/12/16 21:10
* @date 2018/12/16 21:10
*/
*/
//地址
//http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070
var
url
=
companyInfo
.
config
.
url
;
var
url
=
companyInfo
.
config
.
url
;
var
getTaxAmendData
=
function
(
param
)
{
var
getTaxAmendData
=
function
(
param
)
{
param
.
value
=
config
.
value
;
param
.
value
=
config
.
value
;
...
@@ -425,7 +374,6 @@ function initPage(companyInfo) {
...
@@ -425,7 +374,6 @@ function initPage(companyInfo) {
taxAmendGrid
(
pagingData
);
taxAmendGrid
(
pagingData
);
}
else
{
}
else
{
for
(
var
i
=
0
;
i
<
data
.
length
/
num
;
i
++
)
{
for
(
var
i
=
0
;
i
<
data
.
length
/
num
;
i
++
)
{
//pagingData.push(data.slice(i * num, num + (i * num)));
pagingData
.
push
(
data
.
slice
(
i
*
num
,
num
*
(
i
+
1
)));
pagingData
.
push
(
data
.
slice
(
i
*
num
,
num
*
(
i
+
1
)));
}
}
taxAmendPaging
(
"#taxAmendPaging"
,
pagingData
[
0
]);
// 分页停留在第一页
taxAmendPaging
(
"#taxAmendPaging"
,
pagingData
[
0
]);
// 分页停留在第一页
...
...
static/biz/cancellation_grid.js
View file @
da5c05e1
...
@@ -3,8 +3,13 @@ var initpage;
...
@@ -3,8 +3,13 @@ var initpage;
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
ccxwsBblxDm
=
[
'12101'
]
var
ccxwsBblxDm
=
[
'12101'
]
var
prefix
=
""
;
$
(
function
()
{
$
(
function
()
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
prefix
=
"/web/online"
;
}
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
})
})
...
@@ -238,9 +243,9 @@ function initPage(companyInfo) {
...
@@ -238,9 +243,9 @@ function initPage(companyInfo) {
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
!=
-
1
)
{
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
!=
-
1
)
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
}
else
{
}
else
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
ssfwptPage
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
...
@@ -278,15 +283,6 @@ function initPage(companyInfo) {
...
@@ -278,15 +283,6 @@ function initPage(companyInfo) {
submitData
=
data
;
submitData
=
data
;
declarationMethod
(
"N"
)
declarationMethod
(
"N"
)
}
}
// if(node.context.innerText=="填写申报表"&&companyInfo.iszzsybjc == "01" &&data.pzzlDm == "10101"){
// // if(node.context.innerText=="填写申报表"){
// $('#myMask #myModal').show();
// $('#dName #ybName').html(data.pzzlMc);
// $('#dName #ybName').attr("title",data.pzzlMc);//修改title值
// }else{
// declarationMethod("N")
// }
}
//点击按钮后的回调函数
}
//点击按钮后的回调函数
};
};
var
object
=
tool
.
tableCreate
(
tableObj
);
var
object
=
tool
.
tableCreate
(
tableObj
);
...
@@ -296,9 +292,6 @@ function initPage(companyInfo) {
...
@@ -296,9 +292,6 @@ function initPage(companyInfo) {
* 税务申报 初始化数据获取
* 税务申报 初始化数据获取
* @param {*} mydate
* @param {*} mydate
*/
*/
//地址
//http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070
var
url
;
var
url
;
if
(
companyInfo
)
{
if
(
companyInfo
)
{
url
=
config
.
url
;
url
=
config
.
url
;
...
@@ -398,11 +391,11 @@ function initPage(companyInfo) {
...
@@ -398,11 +391,11 @@ function initPage(companyInfo) {
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
saveUserId
=
"zxtb"
;
// 用户id
window
.
mlistener
.
selectRowData
=
submitData
;
window
.
mlistener
.
selectRowData
=
submitData
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
ssfwptPage
,
'_blank'
);
}
else
{
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
...
@@ -412,10 +405,6 @@ function initPage(companyInfo) {
...
@@ -412,10 +405,6 @@ function initPage(companyInfo) {
}
}
})
})
}
else
{
}
else
{
// var form = $("#changeForm");
// form.find("#changeForm_data").val(JSON.stringify(submitData));
// form.submit();
// showLoading()
var
falg
=
"declare"
;
var
falg
=
"declare"
;
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
submitData
.
flag
=
true
;
submitData
.
flag
=
true
;
...
@@ -426,41 +415,6 @@ function initPage(companyInfo) {
...
@@ -426,41 +415,6 @@ function initPage(companyInfo) {
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
submitData
));
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
submitData
));
form
.
submit
();
form
.
submit
();
return
false
;
return
false
;
// $.ajax({
// type: "POST",
// url: url + "/online_report/declare/toPzzl",
// dataType: "json", // 请求方式为jsonp
// data: {
// data: JSON.stringify(submitData)
// },
// success: function (data) {
// if (data.code == 99 || data.code == "99") {
// if (data.errmsg != undefined) {
// alertWarning(data.errmsg);
// } else {
// alertWarning(data.returnMessage);
// }
// return false
// }
// hideLoading()
// /* if (data.url == "edit.jsp") {
// window.open(config.webUrl+"declare/edit.html?falg="+falg+'¶ms=' + encodeURI(JSON.stringify(submitData)));
// }else if (data.url == "yearReport.jsp") {
// window.open(config.webUrl+"declare/yearReport.html?falg="+falg+'¶ms=' + encodeURI(JSON.stringify(submitData)));
// }else if (data.url == "yearReportGLB.jsp") {
// window.open(config.webUrl+"declare/yearReportGLB.html?falg="+falg+'¶ms=' + encodeURI(JSON.stringify(submitData)));
// }else {
// window.open(config.webUrl+"error/index.html?falg="+falg+'¶ms=' + encodeURI(JSON.stringify(submitData)));
// }*/
// },
// error: function (xhr) {
// hideLoading()
// alertWarning(data.returnMessage);
// //jsonp 方式此方法不被触发
// console.log("=======error======================")
// }
// })
// closeModal();
}
}
}
}
if
(
companyInfo
)
{
if
(
companyInfo
)
{
...
...
static/biz/declare_cxs_grid.js
View file @
da5c05e1
...
@@ -4,7 +4,13 @@ var sbqDate = '';
...
@@ -4,7 +4,13 @@ var sbqDate = '';
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
token
=
""
;
var
token
=
""
;
var
yhsSyxx
=
{};
var
yhsSyxx
=
{};
var
prefix
=
""
;
$
(
function
()
{
$
(
function
()
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
prefix
=
"/web/online"
;
}
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
})
})
...
@@ -23,9 +29,6 @@ function getInitTable() {
...
@@ -23,9 +29,6 @@ function getInitTable() {
pzzlDm
:
getUrlParam
(
"pzzlDm"
),
pzzlDm
:
getUrlParam
(
"pzzlDm"
),
value
:
getUrlParam
(
"value"
)
value
:
getUrlParam
(
"value"
)
},
},
// beforeSend:function(){
// myAlert("提示", "正在获取初始化信息", "确定")
// },
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading
();
hideLoading
();
var
companyInfo
=
data
;
var
companyInfo
=
data
;
...
@@ -225,7 +228,7 @@ function initPage(companyInfo) {
...
@@ -225,7 +228,7 @@ function initPage(companyInfo) {
}
}
window
.
mlistener
.
selectRowData
=
openCollectYHS
;
window
.
mlistener
.
selectRowData
=
openCollectYHS
;
window
.
mlistener
.
urlList
=
urlList
;
window
.
mlistener
.
urlList
=
urlList
;
window
.
open
(
config
.
collectPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
collectPage
,
'_blank'
);
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
@@ -255,14 +258,7 @@ function initPage(companyInfo) {
...
@@ -255,14 +258,7 @@ function initPage(companyInfo) {
}
}
submitData
=
data
;
submitData
=
data
;
if
(
node
.
context
.
innerText
==
"填写申报表"
&&
companyInfo
.
iszzsybjc
==
"01"
&&
data
.
pzzlDm
==
"10101"
)
{
if
(
node
.
context
.
innerText
==
"填写申报表"
&&
companyInfo
.
iszzsybjc
==
"01"
&&
data
.
pzzlDm
==
"10101"
)
{
// if(node.context.innerText=="填写申报表"){
initpage
.
declarationMethod
(
'N'
)
initpage
.
declarationMethod
(
'N'
)
// $('#myMask').show();
// $('#myModal').show();
// $('#dName').html(data.pzzlMc);
// $('#dName').attr("title",data.pzzlMc);//修改title值
// $('#ybName').html(data.pzzlMc);
// $('#ybName').attr("title",data.pzzlMc);//修改title值
}
else
{
}
else
{
declarationMethod
(
"N"
)
declarationMethod
(
"N"
)
}
}
...
@@ -270,16 +266,12 @@ function initPage(companyInfo) {
...
@@ -270,16 +266,12 @@ function initPage(companyInfo) {
}
//点击按钮后的回调函数
}
//点击按钮后的回调函数
};
};
var
object
=
tool
.
tableCreate
(
tableObj
);
var
object
=
tool
.
tableCreate
(
tableObj
);
// object.jsonReadyTo(ddt, { page: "1", pageSize: ddt.length });
};
};
/**
/**
* 税务申报 初始化数据获取
* 税务申报 初始化数据获取
* @param {*} mydate
* @param {*} mydate
*/
*/
//地址
//http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070
var
url
;
var
url
;
if
(
companyInfo
)
{
if
(
companyInfo
)
{
url
=
companyInfo
.
config
.
url
;
url
=
companyInfo
.
config
.
url
;
...
@@ -299,9 +291,6 @@ function initPage(companyInfo) {
...
@@ -299,9 +291,6 @@ function initPage(companyInfo) {
data
:
param
,
data
:
param
,
type
:
"POST"
,
type
:
"POST"
,
dataType
:
"JSON"
,
dataType
:
"JSON"
,
// beforeSend:function(){
// myAlert("提示", "正在获取初始化信息", "确定")
// },
}).
done
(
function
(
data
)
{
}).
done
(
function
(
data
)
{
hideLoading
();
hideLoading
();
if
(
data
.
returnCode
)
{
if
(
data
.
returnCode
)
{
...
@@ -349,9 +338,6 @@ function initPage(companyInfo) {
...
@@ -349,9 +338,6 @@ function initPage(companyInfo) {
data
:
param
,
data
:
param
,
type
:
"POST"
,
type
:
"POST"
,
dataType
:
"JSON"
,
dataType
:
"JSON"
,
// beforeSend:function(){
// myAlert("提示", "正在获取初始化信息", "确定")
// },
}).
done
(
function
(
data
)
{
}).
done
(
function
(
data
)
{
hideLoading
();
hideLoading
();
if
(
!
data
.
success
)
{
if
(
!
data
.
success
)
{
...
@@ -421,11 +407,11 @@ function initPage(companyInfo) {
...
@@ -421,11 +407,11 @@ function initPage(companyInfo) {
submitData
.
zjhm
=
zjhm
submitData
.
zjhm
=
zjhm
window
.
mlistener
.
selectRowData
=
submitData
;
window
.
mlistener
.
selectRowData
=
submitData
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
ssfwptPage
,
'_blank'
);
}
else
{
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
...
@@ -435,15 +421,9 @@ function initPage(companyInfo) {
...
@@ -435,15 +421,9 @@ function initPage(companyInfo) {
}
}
})
})
}
else
{
}
else
{
//"ssfwpt_zxtb"
// var form = $("#changeForm");
// form.find("#changeForm_data").val(JSON.stringify(submitData));
// form.submit();
// showLoading()
var
falg
=
"declare"
;
var
falg
=
"declare"
;
window
.
taxInfo
=
JSON
.
stringify
(
submitData
);
window
.
taxInfo
=
JSON
.
stringify
(
submitData
);
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
// if (data.url == "edit.jsp") {
submitData
.
flag
=
true
;
submitData
.
flag
=
true
;
submitData
.
encryptKey
=
config
.
value
;
submitData
.
encryptKey
=
config
.
value
;
var
url
=
config
.
spreadUrl
+
"/online_report/declare/toPzzl?falg="
+
falg
var
url
=
config
.
spreadUrl
+
"/online_report/declare/toPzzl?falg="
+
falg
...
@@ -452,63 +432,6 @@ function initPage(companyInfo) {
...
@@ -452,63 +432,6 @@ function initPage(companyInfo) {
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
submitData
));
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
submitData
));
form
.
submit
();
form
.
submit
();
return
false
;
return
false
;
// $.ajax({
// type: "POST",
// url: url + "/online/declare/toPzzl",
// dataType: "json", // 请求方式为jsonp
// data: {
// data: JSON.stringify(submitData)
// },
// success: function (data) {
// hideLoading()
// if (data.code == 99 || data.code == "99") {
// if (data.errmsg != undefined) {
// alertWarning(data.errmsg);
// } else {
// alertWarning(data.returnMessage);
// }
// return false
// }
// window.taxInfo = JSON.stringify(submitData);
// localStorage.setItem("data", JSON.stringify(submitData));
// // if (data.url == "edit.jsp") {
// submitData.flag = true;
// submitData.encryptKey = config.value;
// var url = config.spreadUrl + "/online_report/declare/toPzzl?falg=" + falg
// var form = $("#changeForm");
// form.attr('action', url); //通过jquery为action属性赋值
// form.find("#changeForm_data").val(JSON.stringify(submitData));
// form.submit();
// // window.open(config.spreadUrl+"/online_report/declare/toPzzl?falg=" + falg + '&data=' + JSON.stringify(submitData));
// // window.open(config.webUrl + "declare/edit.html?falg=" + falg + '¶ms=' + encodeURI(JSON.stringify(submitData)));
// // }
// /* else if (data.url == "yearReport.jsp") {
// window.open(config.webUrl + "declare/yearReport.html?falg=" + falg + '¶ms=' + encodeURI(JSON.stringify(submitData)));
// } else if (data.url == "yearReportGLB.jsp") {
// window.open(config.webUrl + "declare/yearReportGLB.html?falg=" + falg + '¶ms=' + encodeURI(JSON.stringify(submitData)));
// } else {
// //因为后台不知道返回路径是什么样的就直接改成了else data.url == "error.jsp"
// window.open(config.webUrl + "error/index.html?falg=" + falg + '¶ms=' + encodeURI(JSON.stringify(submitData)));
// }*/
// },
// error: function (xhr) {
// //jsonp 方式此方法不被触发
// if (data.returnMessage == undefined) {
// if (data.returnMessage == undefined) {
// alertWarning(data.errmsg);
// } else {
// alertWarning("程序错误,请联系管理员!");
// }
// } else {
// alertWarning(data.returnMessage);
// }
// hideLoading()
// console.log("=======error======================")
// }
// })
// closeModal();
}
}
}
}
/**
/**
...
...
static/biz/declare_grid.js
View file @
da5c05e1
...
@@ -3,7 +3,13 @@ var initpage;
...
@@ -3,7 +3,13 @@ var initpage;
var
sbqDate
=
''
;
var
sbqDate
=
''
;
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
prefix
=
""
;
$
(
function
()
{
$
(
function
()
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
prefix
=
"/web/online"
;
}
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
})
})
...
@@ -20,20 +26,8 @@ function getInitTable() {
...
@@ -20,20 +26,8 @@ function getInitTable() {
sbsq
:
""
,
sbsq
:
""
,
pzzlDm
:
getUrlParam
(
"pzzlDm"
),
pzzlDm
:
getUrlParam
(
"pzzlDm"
),
},
},
// beforeSend:function(){
// myAlert("提示", "正在获取初始化信息", "确定")
// },
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading
();
hideLoading
();
//el表达式变jqa
// $("#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
;
var
companyInfo
=
data
;
if
(
companyInfo
.
success
)
{
if
(
companyInfo
.
success
)
{
zjhm
=
companyInfo
.
bean
.
zjhm
zjhm
=
companyInfo
.
bean
.
zjhm
...
@@ -185,11 +179,11 @@ function initPage(companyInfo) {
...
@@ -185,11 +179,11 @@ function initPage(companyInfo) {
data
.
zjhm
=
zjhm
data
.
zjhm
=
zjhm
window
.
mlistener
.
selectRowData
=
data
;
window
.
mlistener
.
selectRowData
=
data
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
ssfwptPage
,
'_blank'
);
}
else
{
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
...
@@ -220,14 +214,7 @@ function initPage(companyInfo) {
...
@@ -220,14 +214,7 @@ function initPage(companyInfo) {
}
}
submitData
=
data
;
submitData
=
data
;
if
(
node
.
context
.
innerText
==
"填写申报表"
&&
companyInfo
.
iszzsybjc
==
"01"
&&
data
.
pzzlDm
==
"10101"
)
{
if
(
node
.
context
.
innerText
==
"填写申报表"
&&
companyInfo
.
iszzsybjc
==
"01"
&&
data
.
pzzlDm
==
"10101"
)
{
// if(node.context.innerText=="填写申报表"){
initpage
.
declarationMethod
(
'N'
)
initpage
.
declarationMethod
(
'N'
)
// $('#myMask').show();
// $('#myModal').show();
// $('#dName').html(data.pzzlMc);
// $('#dName').attr("title",data.pzzlMc);//修改title值
// $('#ybName').html(data.pzzlMc);
// $('#ybName').attr("title",data.pzzlMc);//修改title值
}
else
{
}
else
{
declarationMethod
(
"N"
)
declarationMethod
(
"N"
)
}
}
...
@@ -235,16 +222,12 @@ function initPage(companyInfo) {
...
@@ -235,16 +222,12 @@ function initPage(companyInfo) {
}
//点击按钮后的回调函数
}
//点击按钮后的回调函数
};
};
var
object
=
tool
.
tableCreate
(
tableObj
);
var
object
=
tool
.
tableCreate
(
tableObj
);
// object.jsonReadyTo(ddt, { page: "1", pageSize: ddt.length });
};
};
/**
/**
* 税务申报 初始化数据获取
* 税务申报 初始化数据获取
* @param {*} mydate
* @param {*} mydate
*/
*/
//地址
//http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070
var
url
;
var
url
;
if
(
companyInfo
)
{
if
(
companyInfo
)
{
url
=
companyInfo
.
config
.
url
;
url
=
companyInfo
.
config
.
url
;
...
@@ -265,9 +248,6 @@ function initPage(companyInfo) {
...
@@ -265,9 +248,6 @@ function initPage(companyInfo) {
data
:
param
,
data
:
param
,
type
:
"POST"
,
type
:
"POST"
,
dataType
:
"JSON"
,
dataType
:
"JSON"
,
// beforeSend:function(){
// myAlert("提示", "正在获取初始化信息", "确定")
// },
}).
done
(
function
(
data
)
{
}).
done
(
function
(
data
)
{
if
(
data
.
success
)
{
if
(
data
.
success
)
{
if
(
data
.
bean
.
url
==
"error.jsp"
)
{
if
(
data
.
bean
.
url
==
"error.jsp"
)
{
...
@@ -350,11 +330,11 @@ function initPage(companyInfo) {
...
@@ -350,11 +330,11 @@ function initPage(companyInfo) {
submitData
.
zjhm
=
zjhm
submitData
.
zjhm
=
zjhm
window
.
mlistener
.
selectRowData
=
submitData
;
window
.
mlistener
.
selectRowData
=
submitData
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
ssfwptPage
,
'_blank'
);
}
else
{
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
...
@@ -364,15 +344,9 @@ function initPage(companyInfo) {
...
@@ -364,15 +344,9 @@ function initPage(companyInfo) {
}
}
})
})
}
else
{
}
else
{
//"ssfwpt_zxtb"
// var form = $("#changeForm");
// form.find("#changeForm_data").val(JSON.stringify(submitData));
// form.submit();
// showLoading()
var
falg
=
"declare"
;
var
falg
=
"declare"
;
window
.
taxInfo
=
JSON
.
stringify
(
submitData
);
window
.
taxInfo
=
JSON
.
stringify
(
submitData
);
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
// if (data.url == "edit.jsp") {
submitData
.
flag
=
true
;
submitData
.
flag
=
true
;
submitData
.
encryptKey
=
config
.
value
;
submitData
.
encryptKey
=
config
.
value
;
var
url
=
config
.
spreadUrl
+
"/online_report/declare/toPzzl?falg="
+
falg
var
url
=
config
.
spreadUrl
+
"/online_report/declare/toPzzl?falg="
+
falg
...
@@ -381,63 +355,6 @@ function initPage(companyInfo) {
...
@@ -381,63 +355,6 @@ function initPage(companyInfo) {
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
submitData
));
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
submitData
));
form
.
submit
();
form
.
submit
();
return
false
;
return
false
;
// $.ajax({
// type: "POST",
// url: url + "/online/declare/toPzzl",
// dataType: "json", // 请求方式为jsonp
// data: {
// data: JSON.stringify(submitData)
// },
// success: function (data) {
// hideLoading()
// if (data.code == 99 || data.code == "99") {
// if (data.errmsg != undefined) {
// alertWarning(data.errmsg);
// } else {
// alertWarning(data.returnMessage);
// }
// return false
// }
// window.taxInfo = JSON.stringify(submitData);
// localStorage.setItem("data", JSON.stringify(submitData));
// // if (data.url == "edit.jsp") {
// submitData.flag = true;
// submitData.encryptKey = config.value;
// var url = config.spreadUrl + "/online_report/declare/toPzzl?falg=" + falg
// var form = $("#changeForm");
// form.attr('action', url); //通过jquery为action属性赋值
// form.find("#changeForm_data").val(JSON.stringify(submitData));
// form.submit();
// // window.open(config.spreadUrl+"/online_report/declare/toPzzl?falg=" + falg + '&data=' + JSON.stringify(submitData));
// // window.open(config.webUrl + "declare/edit.html?falg=" + falg + '¶ms=' + encodeURI(JSON.stringify(submitData)));
// // }
// /* else if (data.url == "yearReport.jsp") {
// window.open(config.webUrl + "declare/yearReport.html?falg=" + falg + '¶ms=' + encodeURI(JSON.stringify(submitData)));
// } else if (data.url == "yearReportGLB.jsp") {
// window.open(config.webUrl + "declare/yearReportGLB.html?falg=" + falg + '¶ms=' + encodeURI(JSON.stringify(submitData)));
// } else {
// //因为后台不知道返回路径是什么样的就直接改成了else data.url == "error.jsp"
// window.open(config.webUrl + "error/index.html?falg=" + falg + '¶ms=' + encodeURI(JSON.stringify(submitData)));
// }*/
// },
// error: function (xhr) {
// //jsonp 方式此方法不被触发
// if (data.returnMessage == undefined) {
// if (data.returnMessage == undefined) {
// alertWarning(data.errmsg);
// } else {
// alertWarning("程序错误,请联系管理员!");
// }
// } else {
// alertWarning(data.returnMessage);
// }
// hideLoading()
// console.log("=======error======================")
// }
// })
// closeModal();
}
}
}
}
/**
/**
...
...
static/biz/overdue_grid.js
View file @
da5c05e1
...
@@ -9,7 +9,13 @@
...
@@ -9,7 +9,13 @@
var
initpage
;
var
initpage
;
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
ccxwsBblxDm
=
[
'12101'
]
var
ccxwsBblxDm
=
[
'12101'
]
var
prefix
=
""
;
$
(
function
()
{
$
(
function
()
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
prefix
=
"/web/online"
;
}
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
})
})
...
@@ -238,9 +244,9 @@ function initPage(companyInfo) {
...
@@ -238,9 +244,9 @@ function initPage(companyInfo) {
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
!=
-
1
)
{
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
!=
-
1
)
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
}
else
{
}
else
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
ssfwptPage
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
...
@@ -369,11 +375,11 @@ function initPage(companyInfo) {
...
@@ -369,11 +375,11 @@ function initPage(companyInfo) {
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
saveUserId
=
"zxtb"
;
// 用户id
window
.
mlistener
.
selectRowData
=
submitData
;
window
.
mlistener
.
selectRowData
=
submitData
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
ssfwptPage
,
'_blank'
);
}
else
{
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
...
...
static/biz/syntheticalReport_grid.js
View file @
da5c05e1
...
@@ -6,7 +6,13 @@ var taxInfos = [];
...
@@ -6,7 +6,13 @@ var taxInfos = [];
var
zhsbPzzl
=
"10101|10102|11602|10401|10402|10110|10902|10112|10113"
;
var
zhsbPzzl
=
"10101|10102|11602|10401|10402|10110|10902|10112|10113"
;
// 10110:房产税 10902:印花税 10112:城镇土地使用税 10113:土地增值税
// 10110:房产税 10902:印花税 10112:城镇土地使用税 10113:土地增值税
var
prefix
=
""
;
$
(
function
()
{
$
(
function
()
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
prefix
=
"/web/online"
;
}
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
})
})
...
@@ -195,7 +201,7 @@ function initPage(companyInfo) {
...
@@ -195,7 +201,7 @@ function initPage(companyInfo) {
zjhm
:
zjhm
zjhm
:
zjhm
},
},
};
};
window
.
open
(
config
.
zhsbPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
zhsbPage
,
'_blank'
);
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
@@ -355,7 +361,7 @@ function initPage(companyInfo) {
...
@@ -355,7 +361,7 @@ function initPage(companyInfo) {
submitData
.
saveUserId
=
"zxtb"
;
// 用户id
submitData
.
saveUserId
=
"zxtb"
;
// 用户id
submitData
.
zjhm
=
zjhm
submitData
.
zjhm
=
zjhm
window
.
mlistener
.
selectRowData
=
submitData
;
window
.
mlistener
.
selectRowData
=
submitData
;
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
ssfwptPage
,
'_blank'
);
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
...
static/biz/taxForecastList.js
deleted
100644 → 0
View file @
7358f029
var
initpage
;
$
(
function
()
{
showLoading
();
getZg
();
})
// 获取税收预测资格
function
getZg
()
{
$
.
ajax
({
type
:
"post"
,
url
:
config
.
url
+
"/online/ssdc/zg"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
getUrlParam
(
"djxh"
),
token
:
getUrlParam
(
"token"
),
nsrsbq
:
""
,
},
success
:
function
(
data
)
{
if
(
data
.
returnCode
!=
'00'
)
{
hideLoading
();
myAlert
(
"提示"
,
data
.
returnMessage
,
"确定"
);
return
flase
}
var
flag
=
data
.
content
.
flag
;
if
(
flag
==
'Y'
)
{
getInitTable
(
""
)
}
else
{
alertWarning
(
data
.
content
.
message
);
hideLoading
();
}
},
error
:
function
(
xhr
)
{
hideLoading
();
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
}
// 获取列表数据
function
getInitTable
(
date
)
{
$
.
ajax
({
type
:
"POST"
,
url
:
config
.
url
+
"/online/ssdc/bbLb"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
getUrlParam
(
"djxh"
),
nsrsbq
:
date
,
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading
();
var
companyInfo
=
data
;
if
(
companyInfo
.
returnCode
==
"00"
)
{
config
.
nsrsbq
=
companyInfo
.
content
.
nsrsbq
config
.
value
=
companyInfo
.
content
.
value
companyInfo
.
content
.
config
=
config
companyInfo
.
content
.
return
=
true
;
/* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
config
.
return
=
true
;
initpage
=
initPage
(
companyInfo
.
content
);
if
(
companyInfo
.
content
.
sdState
==
"Y"
)
{
$
(
"#sdzt"
).
html
=
"已锁定"
}
else
{
$
(
"#sdzt"
).
html
=
"未锁定"
}
}
else
{
hideLoading
();
if
(
data
.
errmsg
!=
undefined
)
{
alertWarning
(
data
.
errmsg
);
}
else
{
alertWarning
(
data
.
returnMessage
);
}
if
(
!
companyInfo
.
bean
)
{
companyInfo
.
bean
=
{};
companyInfo
.
bean
.
djxh
=
getUrlParam
(
"djxh"
);
companyInfo
.
bean
.
return
=
false
;
}
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======================"
)
}
})
}
var
shBz
=
true
;
//税收预测审核标志
function
initPage
(
companyInfo
)
{
var
companyInfo
=
companyInfo
;
var
djxh
=
companyInfo
.
djxh
;
var
nowdate
=
""
;
// 存储当前选择的时间框;
var
submitData
;
var
getSzLB
=
function
(
date
)
{
showLoading
();
$
.
ajax
({
url
:
config
.
url
+
"/online/ssdc/bbLb"
,
data
:
{
djxh
:
djxh
,
nsrsbq
:
date
,
},
type
:
"POST"
,
dataType
:
"JSON"
,
}).
done
(
function
(
data
)
{
companyInfo
=
data
;
if
(
data
.
returnCode
==
"00"
)
{
config
.
nsrsbq
=
data
.
content
.
nsrsbq
config
.
value
=
data
.
content
.
value
companyInfo
.
content
.
config
=
config
companyInfo
.
content
.
return
=
true
;
/* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
config
.
return
=
true
;
drawGrid
(
companyInfo
.
content
);
}
else
{
if
(
data
.
errmsg
!=
undefined
)
{
alertWarning
(
data
.
errmsg
);
}
else
{
alertWarning
(
data
.
returnMessage
);
}
}
hideLoading
();
}).
always
(
function
(
data
)
{
hideLoading
();
});
}
/**
* 展示税种申报信息
*/
var
showTax
=
function
(
taxInfo
)
{
if
(
taxInfo
.
length
>
0
)
{
var
shNum
=
0
;
for
(
var
i
=
0
;
i
<
taxInfo
.
length
;
i
++
)
{
if
(
taxInfo
[
i
].
state
==
'Y'
)
{
shNum
+=
1
}
if
(
taxInfo
[
i
].
sksssjq
)
{
taxInfo
[
i
].
sssqQ
=
tool
.
formatDate
(
taxInfo
[
i
].
sksssjq
.
split
(
" "
)[
0
]);
}
if
(
taxInfo
[
i
].
sksssjz
)
{
taxInfo
[
i
].
sssqZ
=
tool
.
formatDate
(
taxInfo
[
i
].
sksssjz
.
split
(
" "
)[
0
]);
}
switch
(
taxInfo
[
i
].
state
)
{
case
'N'
:
taxInfo
[
i
].
txzt
=
"未填写"
;
break
;
case
'Y'
:
taxInfo
[
i
].
txzt
=
"已填写"
;
break
;
case
'W'
:
taxInfo
[
i
].
txzt
=
"填写错误"
;
break
;
}
}
if
(
taxInfo
.
length
==
shNum
)
{
shBz
=
true
;
}
else
{
shBz
=
false
;
}
}
var
id
=
"#taxGrid"
;
var
buttonHtml
=
"填写报表"
;
var
order
=
[
"bbMc"
,
"sssqQ"
,
"sssqZ"
,
"txzt"
,
"do"
];
var
promptStatement
=
""
;
var
headerList
=
[{
name
:
"序号"
,
width
:
"5%"
},
{
name
:
"申报表"
,
width
:
"55%"
},
{
name
:
"税款所属期起"
,
width
:
"10%"
},
{
name
:
"税款所属期止"
,
width
:
"10%"
},
{
name
:
"填写状态"
,
width
:
"10%"
},
{
name
:
"操作"
,
width
:
"10%"
}];
//渲染表
getTableDeclaration
(
id
,
order
,
headerList
,
taxInfo
,
buttonHtml
,
promptStatement
)
};
/**
* 税务申报table渲染
* @param {*} id
* @param {*} order
* @param {*} headerList
* @param {*} ddt
* @param {*} buttonHtml
*/
var
getTableDeclaration
=
function
(
id
,
order
,
headerList
,
ddt
,
buttonHtml
,
promptStatement
)
{
var
tableObj
=
{
id
:
id
,
//tabel父元素的id
autoHeight
:
ddt
.
length
>
0
?
10
:
""
,
containerWidth
:
"99%"
,
//table占父元素的百分比
autoHeight
:
ddt
.
length
>
0
?
10
:
""
,
// 默认10行
order
:
order
,
//数据按照什么顺序排序 1.do为是否保函操作 2.序号列会自动添加不需要写
onlyId
:
"bbDm"
,
//数据的唯一标识
height
:
"320"
,
//表格的高度
buttonHeight
:
""
,
//表格的高度
buttonHtml
:
buttonHtml
,
//按钮里的字
headerList
:
headerList
,
//表头名字及占比,顺序与order对应
promptStatement
:
promptStatement
,
// 没有数据时默认提示
data
:
{
page
:
"1"
,
pageSize
:
ddt
.
length
},
jsonReady
:
ddt
,
callback
:
function
(
data
,
node
)
{
var
bbDmVersion
=
data
.
bbDm
+
'_'
+
data
.
versionNumber
;
data
.
nsrsbq
=
config
.
nsrsbq
;
var
sbzjKbData
=
{
// 税表组件 开表参数
bbDmVersion
:
bbDmVersion
,
valueTakingMethod
:
"ajax"
,
// 提取数据方式控制 ajax 请求后台 cache 取浏览器缓存 ""不许要请求后台 key值为allParam
sksssjq
:
data
.
sksssjq
,
sksssjz
:
data
.
sksssjz
,
requestRarameters
:
data
,
// 这里是对象
requestAddress
:
{
// 提取数据方式控制为ajax 此节点必须存在
selectSbbInfoAddress
:
"/online/ssData/selectSbbInfo"
,
// 开表接口
deleteSbbInfoAddress
:
"/online/ssData/deleteSsSbbInfo"
,
// 删除接口
// tbSbbInfoAddress: "/htftsolu/tbSbbInfo",//同步接口
saveSbbInfoAddress
:
"/online/ssData/saveSsSbbInfo"
,
//保存接口
// downloadPDFAddress: "/htftsolu/downloadPDF",//下载PDF接口
// customBtnAddress: "/htftsolu/tbYKJInfo",//同步外部平台数据接口
// saveTaxFromExcetion: "/htftsolu/saveTaxFromExcetion"//报错记录接口
},
//存放接口地址
readOnly
:
false
,
getCshBtn
:
true
,
getBjBtn
:
true
,
returnBtn
:
true
,
pdfBtn
:
false
,
printBtn
:
false
,
saveBtn
:
true
,
hideSaveData
:
'1'
,
//用于其他平台隐藏式开表保存数据
replaceBtn
:
false
,
deleteBtn
:
true
,
getOtherData
:
false
,
formSaveData
:
false
,
disableBtn
:
{
disSave
:
false
,
disReplace
:
false
},
openMode
:
{
flag
:
'3'
}
};
data
.
sourceFlag
=
"ssdc"
sbzjKbData
.
requestRarameters
.
nsrsbh
=
data
.
nsrsbh
;
sbzjKbData
.
requestRarameters
.
nsrsbq
=
data
.
nsrsbq
;
sbzjKbData
.
requestRarameters
.
saveUserId
=
data
.
sourceFlag
;
sbzjKbData
.
requestRarameters
.
getBjBz
=
'init'
window
.
open
(
config
.
taxFormComponent
+
JSON
.
stringify
(
sbzjKbData
)
+
'&random='
+
Math
.
random
()
+
'#/'
+
bbDmVersion
,
'_blank'
);
}
};
var
object
=
tool
.
tableCreate
(
tableObj
);
// object.jsonReadyTo(ddt, { page: "1", pageSize: ddt.length });
};
var
drawGrid
=
function
(
bean
)
{
if
(
bean
.
szlb
.
length
==
0
)
{
alertInfo
(
"税费申报暂无数据"
);
}
showTax
(
bean
.
szlb
);
};
// 格式化后台返回的时间
if
(
companyInfo
.
config
.
return
)
{
var
year
=
companyInfo
.
nsrsbq
.
substring
(
0
,
4
);
var
month
=
companyInfo
.
nsrsbq
.
substring
(
4
,
6
);
var
sbq
=
year
+
'-'
+
month
$
(
"#getInputValue"
).
val
(
sbq
);
nowdate
=
companyInfo
.
nsrsbq
;
drawGrid
(
companyInfo
);
}
/**
* 日期改变时触发
* N 非强制刷新
* @param {*} obj
* @param {*} dp
*/
var
changeDate
=
function
(
obj
,
dp
)
{
date
=
dp
.
cal
.
getNewDateStr
();
if
(
date
!=
""
&&
date
!=
undefined
){
nowdate
=
date
.
split
(
'-'
)[
0
]
+
date
.
split
(
'-'
)[
1
];
// 给缓存时间赋值
// 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理
setTimeout
(
function
()
{
getSzLB
(
nowdate
);
},
50
);
}
};
// 读取征管数据 点击事件
var
readDataF
=
function
()
{
myConfirm
(
"消息"
,
"您确定需要读取征管数据吗?点击确定继续"
,
"确定"
,
"取消"
,
function
()
{
getTaxDeclaration
(
nowdate
);
});
};
$
(
"#readData"
).
on
(
"click"
,
readDataF
);
// 读取征管数据 接口调用
var
getTaxDeclaration
=
function
(
date
)
{
// TODO 开始加载等待动画
showLoading
();
$
.
ajax
({
url
:
config
.
url
+
"/online/ssdc/readData"
,
data
:
{
djxh
:
djxh
,
nsrsbq
:
date
,
},
type
:
"POST"
,
dataType
:
"JSON"
,
}).
done
(
function
(
data
)
{
if
(
data
.
returnCode
==
"00"
)
{
alertSuccess
(
data
.
returnMessage
);
}
else
{
if
(
data
.
errmsg
!=
undefined
)
{
alertWarning
(
data
.
errmsg
);
}
else
{
alertWarning
(
data
.
returnMessage
);
}
}
}).
always
(
function
(
data
)
{
hideLoading
();
});
};
// 申报
function
declareTable
()
{
console
.
log
(
'declareTable'
)
}
$
(
"#declareTable"
).
on
(
"click"
,
declareTable
);
return
{
changeDate
:
changeDate
,
readDataF
:
readDataF
,
}
}
// 审核
function
toExamineFun
()
{
var
html
=
"<div id='checkBJ'>表间校验</div>"
// myAlert("提示", "允许审核", "确定");
myCheck
(
"审核校验"
,
html
,
"确定"
,
"取消"
,
function
()
{
// getTaxDeclaration(nowdate);
});
};
$
(
"#toExamine"
).
on
(
"click"
,
function
()
{
if
(
shBz
)
{
toExamineFun
()
}
else
{
myAlert
(
"提示"
,
"报表填写状态存在“未填写”或“填写错误”,请核对!"
,
"确定"
);
}
});
static/biz/taxTnvestigationList.js
deleted
100644 → 0
View file @
7358f029
var
initpage
;
$
(
function
()
{
showLoading
();
getZg
();
})
// 获取税收调查资格
function
getZg
()
{
$
.
ajax
({
type
:
"post"
,
url
:
config
.
url
+
"/online/ssdc/zg"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
getUrlParam
(
"djxh"
),
token
:
getUrlParam
(
"token"
),
nsrsbq
:
""
,
},
success
:
function
(
data
)
{
if
(
data
.
returnCode
!=
'00'
)
{
hideLoading
();
myAlert
(
"提示"
,
data
.
returnMessage
,
"确定"
);
return
flase
}
var
flag
=
data
.
content
.
flag
;
if
(
flag
==
'Y'
)
{
getInitTable
(
""
)
}
else
{
alertWarning
(
data
.
content
.
message
);
hideLoading
();
}
},
error
:
function
(
xhr
)
{
hideLoading
();
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
}
// 获取列表数据
function
getInitTable
(
date
)
{
$
.
ajax
({
type
:
"POST"
,
url
:
config
.
url
+
"/online/ssdc/bbLb"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
getUrlParam
(
"djxh"
),
nsrsbq
:
date
,
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading
();
var
companyInfo
=
data
;
if
(
companyInfo
.
returnCode
==
"00"
)
{
config
.
nsrsbq
=
companyInfo
.
content
.
nsrsbq
config
.
value
=
companyInfo
.
content
.
value
companyInfo
.
content
.
config
=
config
companyInfo
.
content
.
return
=
true
;
/* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
config
.
return
=
true
;
initpage
=
initPage
(
companyInfo
.
content
);
if
(
companyInfo
.
content
.
sdState
==
"Y"
)
{
$
(
"#sdzt"
).
html
=
"已锁定"
}
else
{
$
(
"#sdzt"
).
html
=
"未锁定"
}
}
else
{
hideLoading
();
if
(
data
.
errmsg
!=
undefined
)
{
alertWarning
(
data
.
errmsg
);
}
else
{
alertWarning
(
data
.
returnMessage
);
}
if
(
!
companyInfo
.
bean
)
{
companyInfo
.
bean
=
{};
companyInfo
.
bean
.
djxh
=
getUrlParam
(
"djxh"
);
companyInfo
.
bean
.
return
=
false
;
}
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======================"
)
}
})
}
var
shBz
=
true
;
//税收调查审核标志
function
initPage
(
companyInfo
)
{
var
companyInfo
=
companyInfo
;
var
djxh
=
companyInfo
.
djxh
;
var
nowdate
=
""
;
// 存储当前选择的时间框;
var
submitData
;
var
getSzLB
=
function
(
date
)
{
showLoading
();
$
.
ajax
({
url
:
config
.
url
+
"/online/ssdc/bbLb"
,
data
:
{
djxh
:
djxh
,
nsrsbq
:
date
,
},
type
:
"POST"
,
dataType
:
"JSON"
,
}).
done
(
function
(
data
)
{
companyInfo
=
data
;
if
(
data
.
returnCode
==
"00"
)
{
config
.
nsrsbq
=
data
.
content
.
nsrsbq
config
.
value
=
data
.
content
.
value
companyInfo
.
content
.
config
=
config
companyInfo
.
content
.
return
=
true
;
/* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
config
.
return
=
true
;
drawGrid
(
companyInfo
.
content
);
}
else
{
if
(
data
.
errmsg
!=
undefined
)
{
alertWarning
(
data
.
errmsg
);
}
else
{
alertWarning
(
data
.
returnMessage
);
}
}
hideLoading
();
}).
always
(
function
(
data
)
{
hideLoading
();
});
}
/**
* 展示税种申报信息
*/
var
showTax
=
function
(
taxInfo
)
{
if
(
taxInfo
.
length
>
0
)
{
var
shNum
=
0
;
for
(
var
i
=
0
;
i
<
taxInfo
.
length
;
i
++
)
{
if
(
taxInfo
[
i
].
state
==
'Y'
)
{
shNum
+=
1
}
if
(
taxInfo
[
i
].
sksssjq
)
{
taxInfo
[
i
].
sssqQ
=
tool
.
formatDate
(
taxInfo
[
i
].
sksssjq
.
split
(
" "
)[
0
]);
}
if
(
taxInfo
[
i
].
sksssjz
)
{
taxInfo
[
i
].
sssqZ
=
tool
.
formatDate
(
taxInfo
[
i
].
sksssjz
.
split
(
" "
)[
0
]);
}
switch
(
taxInfo
[
i
].
state
)
{
case
'N'
:
taxInfo
[
i
].
txzt
=
"未填写"
;
break
;
case
'Y'
:
taxInfo
[
i
].
txzt
=
"已填写"
;
break
;
case
'W'
:
taxInfo
[
i
].
txzt
=
"填写错误"
;
break
;
}
}
if
(
taxInfo
.
length
==
shNum
)
{
shBz
=
true
;
}
else
{
shBz
=
false
;
}
}
var
id
=
"#taxGrid"
;
var
buttonHtml
=
"填写报表"
;
var
order
=
[
"bbMc"
,
"sssqQ"
,
"sssqZ"
,
"txzt"
,
"do"
];
var
promptStatement
=
""
;
var
headerList
=
[{
name
:
"序号"
,
width
:
"5%"
},
{
name
:
"申报表"
,
width
:
"55%"
},
{
name
:
"税款所属期起"
,
width
:
"10%"
},
{
name
:
"税款所属期止"
,
width
:
"10%"
},
{
name
:
"填写状态"
,
width
:
"10%"
},
{
name
:
"操作"
,
width
:
"10%"
}];
//渲染表
getTableDeclaration
(
id
,
order
,
headerList
,
taxInfo
,
buttonHtml
,
promptStatement
)
};
/**
* 税务申报table渲染
* @param {*} id
* @param {*} order
* @param {*} headerList
* @param {*} ddt
* @param {*} buttonHtml
*/
var
getTableDeclaration
=
function
(
id
,
order
,
headerList
,
ddt
,
buttonHtml
,
promptStatement
)
{
var
tableObj
=
{
id
:
id
,
//tabel父元素的id
autoHeight
:
ddt
.
length
>
0
?
10
:
""
,
containerWidth
:
"99%"
,
//table占父元素的百分比
autoHeight
:
ddt
.
length
>
0
?
10
:
""
,
// 默认10行
order
:
order
,
//数据按照什么顺序排序 1.do为是否保函操作 2.序号列会自动添加不需要写
onlyId
:
"bbDm"
,
//数据的唯一标识
height
:
"320"
,
//表格的高度
buttonHeight
:
""
,
//表格的高度
buttonHtml
:
buttonHtml
,
//按钮里的字
headerList
:
headerList
,
//表头名字及占比,顺序与order对应
promptStatement
:
promptStatement
,
// 没有数据时默认提示
data
:
{
page
:
"1"
,
pageSize
:
ddt
.
length
},
jsonReady
:
ddt
,
callback
:
function
(
data
,
node
)
{
var
bbDmVersion
=
data
.
bbDm
+
'_'
+
data
.
versionNumber
;
data
.
nsrsbq
=
config
.
nsrsbq
;
var
sbzjKbData
=
{
// 税表组件 开表参数
bbDmVersion
:
bbDmVersion
,
valueTakingMethod
:
"ajax"
,
// 提取数据方式控制 ajax 请求后台 cache 取浏览器缓存 ""不许要请求后台 key值为allParam
sksssjq
:
data
.
sksssjq
,
sksssjz
:
data
.
sksssjz
,
requestRarameters
:
data
,
// 这里是对象
requestAddress
:
{
// 提取数据方式控制为ajax 此节点必须存在
selectSbbInfoAddress
:
"/online/ssData/selectSbbInfo"
,
// 开表接口
deleteSbbInfoAddress
:
"/online/ssData/deleteSsSbbInfo"
,
// 删除接口
// tbSbbInfoAddress: "/htftsolu/tbSbbInfo",//同步接口
saveSbbInfoAddress
:
"/online/ssData/saveSsSbbInfo"
,
//保存接口
// downloadPDFAddress: "/htftsolu/downloadPDF",//下载PDF接口
// customBtnAddress: "/htftsolu/tbYKJInfo",//同步外部平台数据接口
// saveTaxFromExcetion: "/htftsolu/saveTaxFromExcetion"//报错记录接口
},
//存放接口地址
readOnly
:
false
,
getCshBtn
:
true
,
getBjBtn
:
true
,
returnBtn
:
true
,
pdfBtn
:
false
,
printBtn
:
false
,
saveBtn
:
true
,
hideSaveData
:
'1'
,
//用于其他平台隐藏式开表保存数据
replaceBtn
:
false
,
deleteBtn
:
true
,
getOtherData
:
false
,
formSaveData
:
false
,
disableBtn
:
{
disSave
:
false
,
disReplace
:
false
},
openMode
:
{
flag
:
'3'
}
};
data
.
sourceFlag
=
"ssdc"
sbzjKbData
.
requestRarameters
.
nsrsbh
=
data
.
nsrsbh
;
sbzjKbData
.
requestRarameters
.
nsrsbq
=
data
.
nsrsbq
;
sbzjKbData
.
requestRarameters
.
saveUserId
=
data
.
sourceFlag
;
sbzjKbData
.
requestRarameters
.
getBjBz
=
'init'
window
.
open
(
config
.
taxFormComponent
+
JSON
.
stringify
(
sbzjKbData
)
+
'&random='
+
Math
.
random
()
+
'#/'
+
bbDmVersion
,
'_blank'
);
}
};
var
object
=
tool
.
tableCreate
(
tableObj
);
// object.jsonReadyTo(ddt, { page: "1", pageSize: ddt.length });
};
var
drawGrid
=
function
(
bean
)
{
if
(
bean
.
szlb
.
length
==
0
)
{
alertInfo
(
"税费申报暂无数据"
);
}
showTax
(
bean
.
szlb
);
};
// 格式化后台返回的时间
if
(
companyInfo
.
config
.
return
)
{
var
year
=
companyInfo
.
nsrsbq
.
substring
(
0
,
4
);
var
month
=
companyInfo
.
nsrsbq
.
substring
(
4
,
6
);
var
sbq
=
year
+
'-'
+
month
$
(
"#getInputValue"
).
val
(
sbq
);
nowdate
=
companyInfo
.
nsrsbq
;
drawGrid
(
companyInfo
);
}
/**
* 日期改变时触发
* N 非强制刷新
* @param {*} obj
* @param {*} dp
*/
var
changeDate
=
function
(
obj
,
dp
)
{
date
=
dp
.
cal
.
getNewDateStr
();
if
(
date
!=
""
&&
date
!=
undefined
){
nowdate
=
date
.
split
(
'-'
)[
0
]
+
date
.
split
(
'-'
)[
1
];
// 给缓存时间赋值
// 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理
setTimeout
(
function
()
{
getSzLB
(
nowdate
);
},
50
);
}
};
// 读取征管数据 点击事件
var
readDataF
=
function
()
{
myConfirm
(
"消息"
,
"您确定需要读取征管数据吗?点击确定继续"
,
"确定"
,
"取消"
,
function
()
{
getTaxDeclaration
(
nowdate
);
});
};
$
(
"#readData"
).
on
(
"click"
,
readDataF
);
// 读取征管数据 接口调用
var
getTaxDeclaration
=
function
(
date
)
{
// TODO 开始加载等待动画
showLoading
();
$
.
ajax
({
url
:
config
.
url
+
"/online/ssdc/readData"
,
data
:
{
djxh
:
djxh
,
nsrsbq
:
date
,
},
type
:
"POST"
,
dataType
:
"JSON"
,
}).
done
(
function
(
data
)
{
if
(
data
.
returnCode
==
"00"
)
{
alertSuccess
(
data
.
returnMessage
);
}
else
{
if
(
data
.
errmsg
!=
undefined
)
{
alertWarning
(
data
.
errmsg
);
}
else
{
alertWarning
(
data
.
returnMessage
);
}
}
}).
always
(
function
(
data
)
{
hideLoading
();
});
};
// 申报
function
declareTable
()
{
console
.
log
(
'declareTable'
)
}
$
(
"#declareTable"
).
on
(
"click"
,
declareTable
);
return
{
changeDate
:
changeDate
,
readDataF
:
readDataF
,
}
}
// 审核
function
toExamineFun
()
{
var
html
=
"<div id='checkBJ'>表间校验</div>"
// myAlert("提示", "允许审核", "确定");
myCheck
(
"审核校验"
,
html
,
"确定"
,
"取消"
,
function
()
{
// getTaxDeclaration(nowdate);
});
};
$
(
"#toExamine"
).
on
(
"click"
,
function
()
{
if
(
shBz
)
{
toExamineFun
()
}
else
{
myAlert
(
"提示"
,
"报表填写状态存在“未填写”或“填写错误”,请核对!"
,
"确定"
);
}
});
\ No newline at end of file
static/biz/xgmyd_grid.js
View file @
da5c05e1
var
initpage
;
var
initpage
;
var
sbqDate
=
''
var
sbqDate
=
''
var
prefix
=
""
;
$
(
function
()
{
$
(
function
()
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
prefix
=
"/web/online"
;
}
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
})
})
...
@@ -449,7 +455,7 @@ function initPage(companyInfo) {
...
@@ -449,7 +455,7 @@ function initPage(companyInfo) {
requestAddress
:
{
requestAddress
:
{
saveSbbInfoAddress
:
"/online/dataCenter/saveSbbInfo"
,
saveSbbInfoAddress
:
"/online/dataCenter/saveSbbInfo"
,
selectSbbInfoAddress
:
"/online/zxtb/openTable"
,
selectSbbInfoAddress
:
"/online/zxtb/openTable"
,
openTabUrl
:
config
.
ssfwptPage
,
openTabUrl
:
prefix
+
config
.
ssfwptPage
,
},
//存放接口地址
},
//存放接口地址
readOnly
:
false
,
readOnly
:
false
,
getCshBtn
:
false
,
getCshBtn
:
false
,
...
...
static/config.js
View file @
da5c05e1
...
@@ -11,36 +11,5 @@ function getUrlParam(name) {
...
@@ -11,36 +11,5 @@ function getUrlParam(name) {
if
(
r
!=
null
)
return
decodeURIComponent
(
r
[
2
]);
if
(
r
!=
null
)
return
decodeURIComponent
(
r
[
2
]);
return
null
;
return
null
;
}
}
// 公共配置 生产环境
// 公共配置
var
config
=
{
eval
(
unescape
(
"var%20config%20%3D%20%7B%0A%20%20%20%20environmental%3A%22production%22%2C//production%20%u751F%u4EA7%20%20test%20%u6D4B%u8BD5%0A%20%20%20%20webUrl%3A%22/web/onlineReport/jsp/%22%2C%20//%20%u9884%u751F%u4EA7%u73AF%u5883%u89E3%u5F00%0A%20%20%20%20url%3A%22%22%2C//%20%u5F00%u53D1%u73AF%u5883%u914D%u7F6E%u8DE8%u57DF%u8BBE%u7F6E%20%20//%20%u5F00%u53D1%u73AF%u5883%0A%20%20%20%20value%3A%27%27%2C//%u52A0%u5BC6token%0A%09%20%20nsrsbq%3A%27%27%2C%0A%20%20%20%20spreadUrl%3A%22http%3A//sbjs.tjsat.gov.cn%22%2C//%20%u5C40%u7AEF%u751F%u4EA7%20%u503C%u4E3A%u7A7A%20%20%u5176%u4F59%u5168%u90E8%u6307%u5411%u5728%u7EBF%u7684%u57DF%u540D%0A%20%20%20%20ssfwptPage%3A%22/taxservicedesk/index.html%23/taxTableList%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u6708%u5B63%u62A5%0A%20%20%20%20yearTaxTable%3A%22/taxservicedesk/index.html%23/yearTaxTable%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u5E74%u62A5%0A%20%20%20%20zhsbPage%3A%22/taxservicedesk/index.html%23/syntheticalReport%22%2C//%20%u6D89%u7A0E%20%u7EFC%u5408%u7533%u62A5%u9875%u9762%0A%20%20%20%20taxFormComponent%3A%22/web/taxFormComponent/index.html%3Fparam%3D%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%0A%20%20%20%20ccxwsTaxTable%3A%22/web/tax-plugin/index.html%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u7533%u62A5%20%u8DF3%u8F6C%u9875%u9762%0A%20%20%20%20collectPage%3A%22/propertybehaviortax/index.html%23/buttonFrame%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u91C7%u96C6%20%u8DF3%u8F6C%u586B%u62A5%u9875%u9762%0A%7D"
))
environmental
:
"test"
,
//production 生产 test 测试
\ No newline at end of file
webUrl
:
"/web/onlineReport/jsp/"
,
// 预生产环境解开
url
:
""
,
// 开发环境配置跨域设置 // 开发环境
value
:
''
,
//加密token
nsrsbq
:
''
,
spreadUrl
:
"http://sbjs.tjsat.gov.cn"
,
// 局端生产 值为空 其余全部指向在线的域名
ssfwptPage
:
"/web/taxservicedesk/index.html#/taxTableList"
,
// 涉税服务平台填报页面地址 月季报
yearTaxTable
:
"/web/taxservicedesk/index.html#/yearTaxTable"
,
// 涉税服务平台填报页面地址 年报
zhsbPage
:
"/web/taxservicedesk/index.html#/syntheticalReport"
,
// 涉税 综合申报页面
taxFormComponent
:
"/web/taxFormComponent/index.html?param="
,
// 涉税服务平台填报页面地址
ccxwsTaxTable
:
"/web/tax-plugin/index.html"
,
//财产行为税 申报 跳转页面
collectPage
:
"/web/propertybehaviortax/index.html#/buttonFrame"
,
//财产行为税 采集 跳转填报页面
}
//公共配置 本地环境,测试环境
// var config = {
// environmental: "test", //production 生产 test 测试
// webUrl: "/web/onlineReport/jsp/", // 预生产环境解开
// url: "", // 开发环境配置跨域设置 // 开发环境
// value: '', //加密token
// nsrsbq: '',
// spreadUrl: "http://sbjs.tjsat.gov.cn", // 局端生产 值为空 其余全部指向在线的域名
// ssfwptPage: "/web/#/taxTableList", // 涉税服务平台填报页面地址 月季报
// yearTaxTable: "/web/#/yearTaxTable", // 涉税服务平台填报页面地址 年报
// zhsbPage: "/web/#/syntheticalReport", // 涉税 综合申报页面
// taxFormComponent: "/web/taxFormComponent/index.html?param=", // 涉税服务平台填报页面地址
// ccxwsTaxTable:"http://dev-web.htyfw.com.cn/page/property_tax_plugin_web/index.html",//财产行为税跳转页面
// }
// if(config.environmental=="production" && getUrlParam("djxh")){
// window.open(config.webUrl + "/error/newError.html",'_self')
// }
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