三个清单的编辑和详情

This commit is contained in:
yanyizhou
2021-11-30 17:52:15 +08:00
parent 4b43026ea6
commit 202755113d
3 changed files with 6 additions and 6 deletions
@@ -2265,9 +2265,9 @@ export default {
}, res => {
this.sarAccessInfoList = res.data.records
this.sarAccessInfoList.forEach(item => {
if (item.standYear === null) {
if (item.standYear === null && item.standType !== null) {
item.standNumber = item.standSortShow + ' ' + item.standNumber
} else {
} else if (item.standYear !== null && item.standType !== null){
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
}
if (item.attrInfoMap === null) {
@@ -2162,9 +2162,9 @@ export default {
}, res => {
this.sarAccessInfoList = res.data.records
this.sarAccessInfoList.forEach(item => {
if (item.standYear === null) {
if (item.standYear === null && item.standType !== null) {
item.standNumber = item.standSortShow + ' ' + item.standNumber
} else {
} else if (item.standYear !== null && item.standType !== null){
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
}
if (item.attrInfoMap === null) {
@@ -2149,9 +2149,9 @@ export default {
}
this.sarAccessInfoList.forEach(item => {
if (item.standYear === null) {
if (item.standYear === null && item.standType !== null) {
item.standNumber = item.standSortShow + ' ' + item.standNumber
} else {
} else if (item.standYear !== null && item.standType !== null){
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
}
})