diff --git a/src/views/archives/turnOver/index.vue b/src/views/archives/turnOver/index.vue index ce351b77..ab1e59c4 100644 --- a/src/views/archives/turnOver/index.vue +++ b/src/views/archives/turnOver/index.vue @@ -202,6 +202,7 @@ background-color: #46a6ff; color: white; " + :disabled="optType == 'edit'" > @@ -209,20 +210,6 @@ - { - this.organizationList = response.data.list; - }); - }, - handleSelectOrganization(val) { - this.form.companyId = val.id; - this.form.company = val.organizationName; - }, //获取用户 getUserList() { listUser().then((response) => { @@ -590,11 +567,13 @@ export default { handleAdd() { this.reset(); this.open = true; + this.optType = "add"; this.title = "添加移交"; }, /** 修改按钮操作 */ handleUpdate(row) { this.reset(); + this.optType = "edit"; const id = row.id; getTurnOver(id).then((response) => { this.form = response.data;