|
@@ -78,13 +78,20 @@ export default {
|
|
|
name: "分销",
|
|
|
}]
|
|
|
}, {
|
|
|
- key: "Class",
|
|
|
+ key: "markettype",
|
|
|
type: "customClass",
|
|
|
label: "门店卖场类型",
|
|
|
isMust: false,//是否必填
|
|
|
isMultipleChoice: false,//是否多选
|
|
|
value: '',// 多选[] 单选 ""
|
|
|
list: await this.getCustomClass('storetype')
|
|
|
+ }, {
|
|
|
+ key: "selectMap",
|
|
|
+ type: "route",
|
|
|
+ path: "/select/place/index",
|
|
|
+ label: "门店地址",
|
|
|
+ isMust: true,//是否必填
|
|
|
+ value: {},
|
|
|
}];
|
|
|
},
|
|
|
methods: {
|
|
@@ -156,6 +163,23 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
},
|
|
|
+ onShow() {
|
|
|
+ /* let a11 = {
|
|
|
+ address: "浙江省嘉兴市南湖区望湖路585号",
|
|
|
+ city: "嘉兴市",
|
|
|
+ county: "南湖区",
|
|
|
+ district: "南湖区",
|
|
|
+ latitude: 30.74803,
|
|
|
+ longitude: 120.786539,
|
|
|
+ name: "翡翠花园",
|
|
|
+ province: "浙江省"
|
|
|
+ }
|
|
|
+ if (location) {
|
|
|
+ location.county = location.district;
|
|
|
+ this.location = location;
|
|
|
+ this.$refs.form.setValue(this.form.findIndex(v => v.label == '门店地址'), location.name || this.getCity(location))
|
|
|
+ } */
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|