管理端店铺经纬度改为店铺定位
parent
2f6380da22
commit
20e4662961
|
@ -90,7 +90,6 @@
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem>
|
<FormItem>
|
||||||
|
|
||||||
<Button @click="$emit('change', 1)">返回</Button>
|
<Button @click="$emit('change', 1)">返回</Button>
|
||||||
<Button type="primary" :loading="loading" @click="next"
|
<Button type="primary" :loading="loading" @click="next"
|
||||||
>提交平台审核</Button
|
>提交平台审核</Button
|
||||||
|
|
|
@ -98,8 +98,8 @@
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<p class="item">
|
<p class="item">
|
||||||
<span class="label">店铺经纬度:</span>
|
<span class="label">店铺定位:</span>
|
||||||
<span class="info">{{storeInfo.storeCenter?storeInfo.storeCenter:'暂未完善'}}</span>
|
<span class="info">{{storeInfo.storeCenter?'已定位':'未定位'}}</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="item">
|
<p class="item">
|
||||||
<span class="label">经营范围:</span>
|
<span class="label">经营范围:</span>
|
||||||
|
|
|
@ -27,8 +27,18 @@
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem label="店铺经纬度" prop="shopCenter">
|
<FormItem label="店铺定位" prop="shopCenter">
|
||||||
<Input v-model="shopForm.storeCenter" @on-focus="$refs.liliMap.showMap = true" clearable style="width: 350px" />
|
<!-- <Input v-model="shopForm.storeCenter" @on-focus="$refs.liliMap.showMap = true" clearable style="width: 350px" /> -->
|
||||||
|
<Button
|
||||||
|
type="info"
|
||||||
|
v-if="!shopForm.storeCenter"
|
||||||
|
@click="$refs.liliMap.showMap = true"
|
||||||
|
>点击获取店铺定位</Button>
|
||||||
|
<Button
|
||||||
|
type="success"
|
||||||
|
v-else
|
||||||
|
@click="$refs.liliMap.showMap = true"
|
||||||
|
>已定位</Button>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem label="店铺所在地" prop="storeAddressPath">
|
<FormItem label="店铺所在地" prop="storeAddressPath">
|
||||||
|
@ -267,7 +277,7 @@ export default {
|
||||||
{ required: true, message: "店铺简介不能为空", trigger: "blur" },
|
{ required: true, message: "店铺简介不能为空", trigger: "blur" },
|
||||||
],
|
],
|
||||||
storeCenter: [
|
storeCenter: [
|
||||||
{ required: true, message: "店铺经纬度不能为空", trigger: "change" },
|
{ required: true, message: "店铺未定位", trigger: "change" },
|
||||||
],
|
],
|
||||||
companyName: [
|
companyName: [
|
||||||
{ required: true, message: "公司名称不能为空", trigger: "blur" },
|
{ required: true, message: "公司名称不能为空", trigger: "blur" },
|
||||||
|
|
|
@ -621,7 +621,7 @@ export default {
|
||||||
/** 是否重新生成sku */
|
/** 是否重新生成sku */
|
||||||
regeneratorSkuFlag: false,
|
regeneratorSkuFlag: false,
|
||||||
/** 运费模板id **/
|
/** 运费模板id **/
|
||||||
templateId: 0,
|
templateId: '',
|
||||||
/** 参数组*/
|
/** 参数组*/
|
||||||
goodsParamsDTOList: [],
|
goodsParamsDTOList: [],
|
||||||
},
|
},
|
||||||
|
@ -685,6 +685,7 @@ export default {
|
||||||
{required: true, message: "请输入物流参数"},
|
{required: true, message: "请输入物流参数"},
|
||||||
{validator: checkWeight},
|
{validator: checkWeight},
|
||||||
],
|
],
|
||||||
|
templateId: [{required: true, message: '请选择物流模板'}],
|
||||||
sellingPoint: [{required: true, message: "请输入商品卖点"}],
|
sellingPoint: [{required: true, message: "请输入商品卖点"}],
|
||||||
goodsUnit: [{required: true, message: "请选择计量单位"}],
|
goodsUnit: [{required: true, message: "请选择计量单位"}],
|
||||||
},
|
},
|
||||||
|
@ -763,7 +764,7 @@ export default {
|
||||||
mobileIntro: "",
|
mobileIntro: "",
|
||||||
updateSku: true,
|
updateSku: true,
|
||||||
regeneratorSkuFlag: false,
|
regeneratorSkuFlag: false,
|
||||||
templateId: 0,
|
templateId: '',
|
||||||
goodsParamsDTOList: [],
|
goodsParamsDTOList: [],
|
||||||
};
|
};
|
||||||
this.activestep = 0;
|
this.activestep = 0;
|
||||||
|
@ -1548,6 +1549,7 @@ export default {
|
||||||
this.$Message.error("请上传商品图片");
|
this.$Message.error("请上传商品图片");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this.baseInfoForm.templateId === '') this.baseInfoForm.templateId = 0;
|
||||||
let flag = false;
|
let flag = false;
|
||||||
let paramValue = "";
|
let paramValue = "";
|
||||||
// //参数校验
|
// //参数校验
|
||||||
|
|
Loading…
Reference in New Issue