清单显示问题
This commit is contained in:
@@ -542,21 +542,25 @@ export default {
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
res.data.records.forEach(item => {
|
||||
if (item.nylx === "[]") {
|
||||
item.nylx = null;
|
||||
}
|
||||
if (item.typeApplicable === "[]") {
|
||||
item.typeApplicable = null;
|
||||
}
|
||||
if (item.sycpx === "[]") {
|
||||
item.sycpx = null;
|
||||
}
|
||||
if(item.zrbm === "[]"){
|
||||
item.zrbm = null
|
||||
}
|
||||
});
|
||||
this.standinfoList = res.data.records;
|
||||
if (res.data !== null) {
|
||||
res.data.records.forEach(item => {
|
||||
if (item.nylx === "[]") {
|
||||
item.nylx = null;
|
||||
}
|
||||
if (item.typeApplicable === "[]") {
|
||||
item.typeApplicable = null;
|
||||
}
|
||||
if (item.sycpx === "[]") {
|
||||
item.sycpx = null;
|
||||
}
|
||||
if(item.zrbm === "[]"){
|
||||
item.zrbm = null
|
||||
}
|
||||
});
|
||||
this.standinfoList = res.data.records;
|
||||
} else {
|
||||
this.standinfoList = []
|
||||
}
|
||||
this.standardFormTotal = res.data.total;
|
||||
this.standinfoList.forEach(item => {
|
||||
if (item.standYear === null) {
|
||||
|
||||
Reference in New Issue
Block a user