|
@@ -25,17 +25,6 @@
|
|
|
placeholder="请输入网点名称(最多30个字符)"
|
|
|
allowClear />
|
|
|
</a-form-item>
|
|
|
- <!-- <a-form-item label="地址" :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol">
|
|
|
- <a-cascader
|
|
|
- id="network-edit-areas"
|
|
|
- v-decorator="[
|
|
|
- 'options',
|
|
|
- {initialValue: areas,
|
|
|
- rules: [{ required: true, message: '请选择省市区' }]}
|
|
|
- ]"
|
|
|
- :options="options"
|
|
|
- placeholder="请选择省市区" />
|
|
|
- </a-form-item> -->
|
|
|
<a-form-item label="地址" required :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" style="margin: 0;">
|
|
|
<a-row :gutter="20">
|
|
|
<!-- 地址 -->
|
|
@@ -206,6 +195,8 @@ export default {
|
|
|
stationFind({ id: this.networkId }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
// 省市区
|
|
|
+ this.getCityList(res.data.provinceCode)
|
|
|
+ this.getAreaList(res.data.cityCode)
|
|
|
this.form.setFieldsValue({ 'formData.name': res.data.name })
|
|
|
this.form.setFieldsValue({ 'formData.provinceCode': res.data.provinceCode })
|
|
|
this.form.setFieldsValue({ 'formData.cityCode': res.data.cityCode })
|