29123
This commit is contained in:
@@ -234,9 +234,8 @@ export default {
|
|||||||
this.form = JSON.parse(JSON.stringify(this.data))
|
this.form = JSON.parse(JSON.stringify(this.data))
|
||||||
},
|
},
|
||||||
deleteBtn(row, index) {
|
deleteBtn(row, index) {
|
||||||
console.log(row);
|
|
||||||
if(row.householdRelation == 11) {
|
if(row.householdRelation == 11) {
|
||||||
return '不可以删除户主'
|
return this.$message.error('不可以删除户主')
|
||||||
}
|
}
|
||||||
this.tableData.splice(index, 1)
|
this.tableData.splice(index, 1)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user