|
@@ -102,7 +102,19 @@
|
|
|
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="所属公司" prop="belongCompanyCode">
|
|
|
- <el-select v-model="mainForm.belongCompanyCode" placeholder="请选择">
|
|
|
+ <el-select
|
|
|
+ v-model="mainForm.belongCompanyCode"
|
|
|
+ placeholder="请选择"
|
|
|
+ @change="
|
|
|
+ V => {
|
|
|
+ if (v) {
|
|
|
+ belongCompany = BELONG_COMPANY.find(v).label
|
|
|
+ } else {
|
|
|
+ belongCompany = ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ "
|
|
|
+ >
|
|
|
<el-option v-for="item in BELONG_COMPANY" :key="item.value" :label="item.label" :value="item.value">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
@@ -460,8 +472,8 @@ export default {
|
|
|
attr: '',
|
|
|
level: '',
|
|
|
insureType: [],
|
|
|
- belongCompanyCode: JSON.parse(localStorage.getItem('greemall_user'))?.companyWechatId || '',
|
|
|
- belongCompany: JSON.parse(localStorage.getItem('greemall_user'))?.companyName || '',
|
|
|
+ belongCompanyCode: '',
|
|
|
+ belongCompany: '',
|
|
|
payInsureCodeId: ''
|
|
|
},
|
|
|
mainFormRules: {
|