个人中心页--添加企业其他选项

This commit is contained in:
熊丽君
2021-09-15 11:54:45 +08:00
parent c30f24b3f3
commit de91aeac33
2 changed files with 25 additions and 3 deletions

View File

@ -37,8 +37,14 @@
</el-select>
</el-form-item>
</el-col>
<el-col class="line" :span="2" style="text-align: center;">-</el-col>
<el-col :span="10">
<el-col
class="line"
:span="2"
style="text-align: center;"
v-if="form.addressType != 4"
>-</el-col
>
<el-col :span="10" v-if="form.addressType != 4">
<el-form-item prop="cityId">
<el-select v-model="form.cityId" placeholder="请选择">
<el-option
@ -137,6 +143,10 @@ export default {
{
value: 3,
label: '合肥区县'
},
{
value: 4,
label: '其它'
}
],
optionList2: [],
@ -201,8 +211,10 @@ export default {
// 地级市
if (e === 2) {
this.getType(false);
} else {
} else if (e === 3) {
this.getCity(false);
} else {
this.form.cityId = '';
}
},
// 获取地级市