修改bug 52184 法规清单--编辑页面,在该清单存在一个标准的情况下,第一次添加一个标准,下面只显示添加的标准(第一次添加标准不是追加,而是覆盖)
This commit is contained in:
@@ -1212,8 +1212,8 @@ export default {
|
|||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
this.$message.warning('请勿添加重复数据')
|
this.$message.warning('请勿添加重复数据')
|
||||||
} else {
|
} else {
|
||||||
this.sarAccessInfoLists.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
this.sarAccessInfoLists.forEach(item => {
|
this.sarAccessInfoList.forEach(item => {
|
||||||
if (item.lawsNumber) {
|
if (item.lawsNumber) {
|
||||||
item.standNumber = item.lawsNumber
|
item.standNumber = item.lawsNumber
|
||||||
}
|
}
|
||||||
@@ -1254,7 +1254,7 @@ export default {
|
|||||||
// this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
this.sarAccessInfoLists.forEach(item => {
|
this.sarAccessInfoList.forEach(item => {
|
||||||
if (item.nylx === '[]') {
|
if (item.nylx === '[]') {
|
||||||
item.nylx = ''
|
item.nylx = ''
|
||||||
}
|
}
|
||||||
@@ -1268,7 +1268,7 @@ export default {
|
|||||||
item.sycpx = ''
|
item.sycpx = ''
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.sarAccessInfoList = this.sarAccessInfoLists
|
// this.sarAccessInfoList = this.sarAccessInfoLists
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user