|
|
@@ -24,7 +24,8 @@
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell v-if="isFloor" class="line-cell" :hover="false">
|
|
|
<view class="tui-title ">门牌号</view>
|
|
|
- <input v-model="form.floor" placeholder-class="phcolor" class="tui-input" name="floor" @input="changeFloor" placeholder="楼号门牌号(选填)"/>
|
|
|
+<!-- <input v-model="form.floor" placeholder-class="phcolor" class="tui-input" name="floor" @input="changeFloor" placeholder="楼号门牌号(选填)"/>-->
|
|
|
+ <input v-model="form.floor" placeholder-class="phcolor" class="tui-input" name="floor" placeholder="楼号门牌号(选填)"/>
|
|
|
</tui-list-cell>
|
|
|
<!-- 选择地区 -->
|
|
|
<app-area-sel :show.sync="showRegion" @change="changeAreaFn" :city="form.city"/>
|
|
|
@@ -103,8 +104,8 @@ export default {
|
|
|
this.form.address = res.data.address;
|
|
|
this.form.latitude = res.data.lat;
|
|
|
this.form.longitude = res.data.long;
|
|
|
- this.form.customMobile = res.data.name;
|
|
|
- this.form.customName = res.data.mobile;
|
|
|
+ this.form.customMobile = res.data.mobile;
|
|
|
+ this.form.customName = res.data.name;
|
|
|
this.$emit("selectAdress", this.form);
|
|
|
})
|
|
|
} else {
|
|
|
@@ -142,9 +143,9 @@ export default {
|
|
|
this.form.longitude = e.location.lng;
|
|
|
this.$emit("selectAdress", this.form);
|
|
|
},
|
|
|
- // changeFloor(e) {
|
|
|
- // this.$emit("selectAdress", this.form);
|
|
|
- // }
|
|
|
+ changeFloor(e) {
|
|
|
+ this.$emit("selectAdress", this.form);
|
|
|
+ }
|
|
|
},
|
|
|
watch: {
|
|
|
getFormObj() {
|