Commit 43c06a01 authored by 刘明珠's avatar 刘明珠

年报更正申报标志取值调整

parent 8092017c
......@@ -5,6 +5,8 @@
* @date 2018/12/16 20:08
*/
var initpage;
var nbbd10414 = "";
var nbbd10420 = "";
$(function () {
showLoading();
getInitTable();
......@@ -34,6 +36,8 @@ function getInitTable() {
}
config.value = companyInfo.bean.value
companyInfo.bean.config = config
nbbd10414 = companyInfo.bean.nbbd10414;
nbbd10420 = companyInfo.bean.nbbd10420;
initpage = initPage(companyInfo.bean);
} else {
hideLoading();
......@@ -159,10 +163,16 @@ function initPage(companyInfo) {
if (yearBblxDm.indexOf(data.bblxDm) == -1) {
window.open(config.ssfwptPage, '_blank');
} else {
if(data.bblxDm=='10414'&&nbbd10414!='Y'){
myAlert("提示", "尊敬的纳税人:为了保证更正数据的准确性,只有在本系统申报的企业才可以进行更正操作。您未在本系统申报,不能在本系统更正。", "确定");
}else if(data.bblxDm=='10420'&&nbbd10420!='Y'){
myAlert("提示", "尊敬的纳税人:为了保证更正数据的准确性,只有在本系统申报的企业才可以进行更正操作。您未在本系统申报,不能在本系统更正。", "确定");
}else{
data.saveUserId = "zxtb_singleReport"; // 用户id
data.userId = "zxtb"; // userId
window.open(config.yearTaxTable, '_blank');
}
}
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
setTimeout(function () {
......@@ -336,6 +346,8 @@ function initPage(companyInfo) {
}).done(function (data) {
if (data.success) {
sourceData = data.bean.gzTaxInfos;
nbbd10414 = data.bean.nbbd10414;
nbbd10420 = data.bean.nbbd10420;
newData = sourceData;
if (newData.length == 0) {
alertInfo("选择区间暂无数据");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment