【bug】

1. 4378 新增后点击其他的编辑 回显的是新增的信息
pet_门口门禁
shanao 2025-01-21 09:33:09 +08:00
parent 550875da40
commit 76ae8c4fb1
1 changed files with 15 additions and 13 deletions

View File

@ -162,6 +162,7 @@ export default{
}) })
}, },
handleAdd() { handleAdd() {
this.form.ADD_MOTORCADE_NAME = ''
this.addLoading = true this.addLoading = true
}, },
saveMotorcade() { saveMotorcade() {
@ -181,12 +182,13 @@ export default{
this.addLoading = false this.addLoading = false
}) })
} else { } else {
this.$message.error('请填写完整信息'); this.$message.error('请填写完整信息')
} }
}) })
}, },
handleEdit(row) { handleEdit(row) {
this.form.MOTORCADE_ID = row.MOTORCADE_ID this.form.MOTORCADE_ID = row.MOTORCADE_ID
this.form.ADD_MOTORCADE_NAME = row.MOTORCADE_NAME
this.editLoading = true this.editLoading = true
}, },
editMotorcade() { editMotorcade() {