Commit 81cd8058 authored by 刘明珠's avatar 刘明珠

填报页面数据发成变化,更新税种列表页数据

parent 52ab4db0
var initpage;
var pzzlList = false;
var sbqDate = ''
$(function () {
//
......@@ -19,9 +18,9 @@ function getInitTable() {
sbsq: "",
pzzlDm: getUrlParam("pzzlDm"),
},
beforeSend:function(){
myAlert("提示", "正在获取初始化信息", "确定")
},
// beforeSend:function(){
// myAlert("提示", "正在获取初始化信息", "确定")
// },
success: function (data) { //客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading();
//el表达式变jqa
......@@ -172,11 +171,8 @@ function initPage(companyInfo) {
window.open(config.ssfwptPage, '_blank');
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
if (pzzlList) {
showTax([])
getTaxDeclaration(sbqDate, "N");
} else {
getInitTable();
}
}
})
} else {
......@@ -232,7 +228,6 @@ function initPage(companyInfo) {
url = companyInfo.config.url;
}
var getTaxDeclaration = function (date, type) {
pzzlList = true;
// TODO 开始加载等待动画
showLoading();
var param = {
......@@ -247,9 +242,9 @@ function initPage(companyInfo) {
data: param,
type: "POST",
dataType: "JSON",
beforeSend:function(){
myAlert("提示", "正在获取初始化信息", "确定")
},
// beforeSend:function(){
// myAlert("提示", "正在获取初始化信息", "确定")
// },
}).done(function (data) {
console.log(data)
if (data.success) {
......
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