diff --git a/src/views/archives/turnOver/index.vue b/src/views/archives/turnOver/index.vue index 8d34666f..62e18c54 100644 --- a/src/views/archives/turnOver/index.vue +++ b/src/views/archives/turnOver/index.vue @@ -1,94 +1,70 @@ diff --git a/src/views/setting/depot/index.vue b/src/views/setting/depot/index.vue index e0d32c6c..4f97e363 100644 --- a/src/views/setting/depot/index.vue +++ b/src/views/setting/depot/index.vue @@ -178,14 +178,16 @@ @@ -195,13 +197,15 @@ @@ -265,17 +269,9 @@ export default { code: null, address: null, organizationId: null, - manegerId: null, - createTime: [], manegerName: null, - deptId: null, deptName: null, - companyId: null, company: null, - remark: null, - userId: null, - organizationName: null, - organizationCode: null, }, // 表单参数 form: {}, @@ -283,6 +279,8 @@ export default { rules: {}, organizationList: [], //立档单位数据 userOptions: [], //用户数据 + organizationName: null, + manegerName: null, }; }, created() { @@ -307,12 +305,22 @@ export default { this.organizationList = response.data.list; }); }, + handleSelectOrganization(val) { + console.log(val); + this.form.organizationId = val.id; + this.form.organizationName = val.organizationName; + }, //获取用户 getUserList() { listUser().then((response) => { this.userOptions = response.data.list; }); }, + handleSelectUser(val) { + console.log(val); + this.form.manegerId = val.id; + this.form.manegerName = val.username; + }, /** 取消按钮 */ cancel() { this.open = false; @@ -326,6 +334,8 @@ export default { code: undefined, address: undefined, organizationId: undefined, + organizationName: undefined, + organizationCode: undefined, manegerId: undefined, manegerName: undefined, deptId: undefined, @@ -333,10 +343,9 @@ export default { companyId: undefined, company: undefined, remark: undefined, - userId: undefined, - organizationName: undefined, - organizationCode: undefined, }; + this.manegerName = undefined; + this.organizationName = undefined; this.resetForm("form"); }, /** 搜索按钮操作 */ @@ -361,6 +370,8 @@ export default { const id = row.id; getDepot(id).then((response) => { this.form = response.data; + this.organizationName = response.data.organizationName; + this.manegerName = response.data.manegerName; this.open = true; this.title = "修改库房管理"; }); diff --git a/src/views/setting/depotCabinet/index.vue b/src/views/setting/depotCabinet/index.vue index f8e87afb..61c428dc 100644 --- a/src/views/setting/depotCabinet/index.vue +++ b/src/views/setting/depotCabinet/index.vue @@ -165,8 +165,11 @@ - - + + @@ -179,14 +182,16 @@ @@ -194,7 +199,6 @@ - { this.form = response.data; + this.manegerName = response.data.manegerName; this.open = true; this.title = "修改档案柜管理"; }); diff --git a/src/views/setting/organization/index.vue b/src/views/setting/organization/index.vue index 5c0a82c2..602a4cbf 100644 --- a/src/views/setting/organization/index.vue +++ b/src/views/setting/organization/index.vue @@ -7,7 +7,7 @@ size="small" :inline="true" v-show="showSearch" - label-width="68px" + label-width="88px" >