清单显示问题

This commit is contained in:
shenyanpei
2022-01-05 17:56:08 +08:00
parent 420004d822
commit c9f6a06c6f
@@ -542,21 +542,25 @@ export default {
}, { }, {
_this: this _this: this
}, res => { }, res => {
res.data.records.forEach(item => { if (res.data !== null) {
if (item.nylx === "[]") { res.data.records.forEach(item => {
item.nylx = null; if (item.nylx === "[]") {
} item.nylx = null;
if (item.typeApplicable === "[]") { }
item.typeApplicable = null; if (item.typeApplicable === "[]") {
} item.typeApplicable = null;
if (item.sycpx === "[]") { }
item.sycpx = null; if (item.sycpx === "[]") {
} item.sycpx = null;
if(item.zrbm === "[]"){ }
item.zrbm = null if(item.zrbm === "[]"){
} item.zrbm = null
}); }
this.standinfoList = res.data.records; });
this.standinfoList = res.data.records;
} else {
this.standinfoList = []
}
this.standardFormTotal = res.data.total; this.standardFormTotal = res.data.total;
this.standinfoList.forEach(item => { this.standinfoList.forEach(item => {
if (item.standYear === null) { if (item.standYear === null) {