|
|
|
@ -149,16 +149,16 @@
|
|
|
|
|
>
|
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="90px">
|
|
|
|
|
<el-form-item label="业务实体" prop="company">
|
|
|
|
|
<!-- <el-input v-model="form.company" placeholder="请输入业务实体" /> -->
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="form.company"
|
|
|
|
|
placeholder="请选择业务实体"
|
|
|
|
|
value-key="id"
|
|
|
|
|
@change="handleCompanyChange"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in organizationList"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:value="item.id"
|
|
|
|
|
:value="item"
|
|
|
|
|
:label="item.organizationName"
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
@ -471,10 +471,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 业务实体选择事件
|
|
|
|
|
handleCompanyChange(val) {
|
|
|
|
|
var data = this.organizationList.find((item) => item.id == val);
|
|
|
|
|
console.log(data);
|
|
|
|
|
this.form.companyId = data.companyId;
|
|
|
|
|
this.Fileform.company = data.company;
|
|
|
|
|
this.form.companyId = val.id;
|
|
|
|
|
this.form.company = val.organizationName;
|
|
|
|
|
},
|
|
|
|
|
/** 提交按钮 */
|
|
|
|
|
submitForm() {
|
|
|
|
|