Commit 7109633f authored by 刘明珠's avatar 刘明珠

需求5355:列表跨区传参处理

parent 790a6dbd
......@@ -55,14 +55,9 @@ function getInitTable() {
zjhm = data.bean.zjhm
djxh = data.bean.djxh;
sbqDate = data.bean.sbsq;
taxInfos = [];
taxInfos = data.bean.taxInfos;
var skssq;
for (var i = 0; i < data.bean.taxInfos.length; i++) {
var djxh = data.bean.taxInfos[i].djxh;
var zsDjxh = data.bean.taxInfos[i].zsDjxh;
if (djxh == zsDjxh) {
taxInfos.push(data.bean.taxInfos[i]);
}
if (data.bean.taxInfos[i].bblxDm == '10401') {
skssq = data.bean.taxInfos[i].sksssjz
}
......@@ -373,20 +368,13 @@ function initPage(companyInfo) {
return
}
djxh = data.bean.djxh;
taxInfos = [];
taxInfos = data.bean.taxInfos;
var skssq
for (var i in data.bean.taxInfos) {
if (data.bean.taxInfos[i].bblxDm == '10401') {
skssq = data.bean.taxInfos[i].sksssjz
}
}
for (var i = 0; i < data.bean.taxInfos.length; i++) {
var djxh = data.bean.taxInfos[i].djxh;
var zsDjxh = data.bean.taxInfos[i].zsDjxh;
if (djxh == zsDjxh) {
taxInfos.push(data.bean.taxInfos[i]);
}
}
data.bean.financialInfos = [];
data.bean['zhsbInfos'] = [{
"sssqZ": "--",
......
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