三个清单的编辑和详情
This commit is contained in:
@@ -2265,9 +2265,9 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessInfoList = res.data.records
|
this.sarAccessInfoList = res.data.records
|
||||||
this.sarAccessInfoList.forEach(item => {
|
this.sarAccessInfoList.forEach(item => {
|
||||||
if (item.standYear === null) {
|
if (item.standYear === null && item.standType !== null) {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||||
} else {
|
} else if (item.standYear !== null && item.standType !== null){
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
|
|||||||
@@ -2162,9 +2162,9 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessInfoList = res.data.records
|
this.sarAccessInfoList = res.data.records
|
||||||
this.sarAccessInfoList.forEach(item => {
|
this.sarAccessInfoList.forEach(item => {
|
||||||
if (item.standYear === null) {
|
if (item.standYear === null && item.standType !== null) {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||||
} else {
|
} else if (item.standYear !== null && item.standType !== null){
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
|
|||||||
+2
-2
@@ -2149,9 +2149,9 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.sarAccessInfoList.forEach(item => {
|
this.sarAccessInfoList.forEach(item => {
|
||||||
if (item.standYear === null) {
|
if (item.standYear === null && item.standType !== null) {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||||
} else {
|
} else if (item.standYear !== null && item.standType !== null){
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user