清单显示问题
This commit is contained in:
@@ -542,6 +542,7 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
if (res.data !== null) {
|
||||||
res.data.records.forEach(item => {
|
res.data.records.forEach(item => {
|
||||||
if (item.nylx === "[]") {
|
if (item.nylx === "[]") {
|
||||||
item.nylx = null;
|
item.nylx = null;
|
||||||
@@ -557,6 +558,9 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user