diff --git a/src/views/components/resiForm.vue b/src/views/components/resiForm.vue index 615d860c..1f138a54 100644 --- a/src/views/components/resiForm.vue +++ b/src/views/components/resiForm.vue @@ -205,14 +205,18 @@ @@ -487,6 +491,9 @@ export default { // } }) }, + hanldeChangeRadio(n) { + this.$emit('changeradio', n) + }, handleValidBlur(n) { console.log('n---', n) if (n.columnName !== 'ID_CARD') return diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index a76cfa99..f1f84829 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -197,7 +197,7 @@ { + let list = [...this.tabsList] + list.forEach((item, index) => { if (item.tableName === childGroup.tableName) { hasT = true i = index @@ -853,12 +854,13 @@ export default { // console.log('') } }) - this.tabsList.push(childGroup) + list.push(childGroup) } } else { // console.log('changegroup----000', value) - if (hasT) this.tabsList.splice(i, 1) + if (hasT) list.splice(i, 1) } + this.tabsList = [...list] }, formetForm () { const _baseForm = this.$refs.baseForm.handleForm()