feat: 国内外标准 反向标准显示逻辑
This commit is contained in:
@@ -186,6 +186,7 @@ export default {
|
||||
replaceLawsNumRow: [], // 代替政策号 数组内容
|
||||
replaceTotal: 0,
|
||||
selectedListRep: [],
|
||||
ids: [],
|
||||
replaceLoading: true,
|
||||
replacePage: 1
|
||||
|
||||
@@ -297,6 +298,7 @@ export default {
|
||||
// 代替政策编号确定
|
||||
replaceLawsNumModelBt () {
|
||||
let textArr = []
|
||||
this.ids = []
|
||||
|
||||
if (typeof this.value === 'string') {
|
||||
if (this.value) {
|
||||
@@ -322,12 +324,14 @@ export default {
|
||||
} else {
|
||||
texts = item.standSortShow !== null ? item.standSortShow + ' ' + item.standNumber : item.standNumber
|
||||
}
|
||||
this.ids.push(item.id);
|
||||
textArr.push(texts)
|
||||
textArr = [...new Set(textArr)]
|
||||
this.replaceLawsNumModel = false
|
||||
})
|
||||
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||
this.$emit('input', textArr.join(','))
|
||||
this.$emit('popoverHide', this.ids, this.config.attrField);
|
||||
this.$refs.selections.clearSelection()
|
||||
},
|
||||
// 点击查看
|
||||
|
||||
Reference in New Issue
Block a user