diff --git a/src/views/archives/turnOver/index.vue b/src/views/archives/turnOver/index.vue index 62e18c54..cc7b4dc1 100644 --- a/src/views/archives/turnOver/index.vue +++ b/src/views/archives/turnOver/index.vue @@ -226,14 +226,16 @@ @@ -243,14 +245,16 @@ @@ -426,6 +430,8 @@ export default { oldSiteArray: [], //旧位置 newSiteArray: [], //新位置 company: null, + outputName: null, + inputName: null, }; }, created() { @@ -462,7 +468,6 @@ export default { }); }, handleSelectOrganization(val) { - console.log(val); this.form.companyId = val.id; this.form.company = val.organizationName; }, @@ -472,6 +477,14 @@ export default { this.userOptions = response.data.list; }); }, + handleSelectUser1(val) { + this.form.outputNameId = val.id; + this.form.outputName = val.username; + }, + handleSelectUser2(val) { + this.form.inputNameId = val.id; + this.form.inputName = val.username; + }, //获取归档位置 getSiteList() { getSiteTree().then((response) => { @@ -575,6 +588,8 @@ export default { getTurnOver(id).then((response) => { this.form = response.data; this.company = response.data.company; + this.outputName = response.data.outputName; + this.inputName = response.data.inputName; this.open = true; this.title = "修改移交"; });