|
|
@@ -175,7 +175,7 @@
|
|
|
</el-col>-->
|
|
|
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="法定代表人姓名" prop="LegalPerson" required>
|
|
|
+ <el-form-item label="法定代表人姓名" prop="LegalPerson">
|
|
|
<el-input v-model="formData.LegalPerson" maxlength="20" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -796,13 +796,11 @@
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
- getCityList() {
|
|
|
- this.$axios.get('http://restapi.amap.com/v3/config/district?key=13f54664eb5a883195604db09d3fba5c&subdistrict=3')
|
|
|
- .then((res) => {
|
|
|
- let countstr = JSON.stringify(res.data.districts[0].districts)
|
|
|
- countstr = countstr.replace(/\,\"districts\"\:\[\]/g, '')
|
|
|
- this.countryoptions = JSON.parse(countstr)
|
|
|
- })
|
|
|
+ getCityList (val) {
|
|
|
+ let resultData = JSON.parse(val)
|
|
|
+ let countstr = JSON.stringify(resultData.districts[0].districts)
|
|
|
+ countstr = countstr.replace(/\,\"districts\"\:\[\]/g, '')
|
|
|
+ this.countryoptions = JSON.parse(countstr)
|
|
|
},
|
|
|
|
|
|
//保存信息
|