From c907b028f5a71db42c63d0a489ff09f944f92c0b Mon Sep 17 00:00:00 2001 From: MO <448233645@qq.com> Date: Fri, 27 Oct 2023 10:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/archives/turnOver/index.vue | 29 ++++----------------------- 1 file changed, 4 insertions(+), 25 deletions(-) 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;