eladmin-web-master/src/views/system/userContract/index.vue
@@ -230,11 +230,10 @@ // 根据员工选择公司 getComp(data) { if (data !== '') { var form = JSON.stringify({ 'userId': data }) crudSysCompany.getCompName(form).then(res => { this.form.companyId = res.label crudUser.getAll({ id: data }).then(res => { this.form.companyId = res[0].company.id }) } else { this.form.companyId = null