Commit 742ae882 authored by 刘明珠's avatar 刘明珠

getPzzlList接口添加标志

parent b9c36a5f
...@@ -170,7 +170,9 @@ function initPage(companyInfo) { ...@@ -170,7 +170,9 @@ function initPage(companyInfo) {
window.open(config.ssfwptPage, '_blank'); window.open(config.ssfwptPage, '_blank');
Object.defineProperty(mlistener, 'returnSelectRowData', { Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) { set: function (val) {
getTaxDeclaration(sbqDate, "N"); setTimeout(function () {
getTaxDeclaration(sbqDate, "N",'2');
}, 2000);
} }
}) })
} else { } else {
...@@ -225,7 +227,7 @@ function initPage(companyInfo) { ...@@ -225,7 +227,7 @@ function initPage(companyInfo) {
if (companyInfo) { if (companyInfo) {
url = companyInfo.config.url; url = companyInfo.config.url;
} }
var getTaxDeclaration = function (date, type) { var getTaxDeclaration = function (date, type, refreshSbzt) {
// TODO 开始加载等待动画 // TODO 开始加载等待动画
showLoading(); showLoading();
var param = { var param = {
...@@ -233,7 +235,8 @@ function initPage(companyInfo) { ...@@ -233,7 +235,8 @@ function initPage(companyInfo) {
operateType: companyInfo.operateType, operateType: companyInfo.operateType,
sbsq: date, sbsq: date,
isFresh: type.toUpperCase() == "Y", isFresh: type.toUpperCase() == "Y",
pzzlDm: companyInfo.pzzlDm pzzlDm: companyInfo.pzzlDm,
refreshSbzt: refreshSbzt
} }
$.ajax({ $.ajax({
url: url + "/ssfwpt/declare/getPzzlList", url: url + "/ssfwpt/declare/getPzzlList",
...@@ -295,13 +298,13 @@ function initPage(companyInfo) { ...@@ -295,13 +298,13 @@ function initPage(companyInfo) {
// 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理 // 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理
sbqDate = date sbqDate = date
setTimeout(function () { setTimeout(function () {
getTaxDeclaration(date, "N"); getTaxDeclaration(date, "N",'1');
}, 50); }, 50);
}; };
var refresh = function () { var refresh = function () {
myConfirm("消息", "您确定需要重置申报清册吗?点击确定继续", "确定", "取消", function () { myConfirm("消息", "您确定需要重置申报清册吗?点击确定继续", "确定", "取消", function () {
getTaxDeclaration(nowdate, "Y"); getTaxDeclaration(nowdate, "Y",'1');
}); });
}; };
//申报方式 当iszzsybjc=01同时pzzlDm=010101时,调用改方法 //申报方式 当iszzsybjc=01同时pzzlDm=010101时,调用改方法
......
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