|
|
@@ -1824,13 +1824,13 @@ export default {
|
|
|
.twoPointSum(location.lat, location.lon, location.lat, location.lon)
|
|
|
.toFixed(2);
|
|
|
// GZ:工装店铺 直接进入拜访
|
|
|
- if (localStorage.getItem('postType') == 'GZ') {
|
|
|
- localStorage.setItem('startTime', new Date());
|
|
|
- localStorage.setItem('ORGName', val.deptName);
|
|
|
- localStorage.setItem('chainNameR', val.storeName);
|
|
|
- this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (localStorage.getItem('postType') == 'GZ') {
|
|
|
+ // localStorage.setItem('startTime', new Date());
|
|
|
+ // localStorage.setItem('ORGName', val.deptName);
|
|
|
+ // localStorage.setItem('chainNameR', val.storeName);
|
|
|
+ // this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
// 门店编码校验门店地址不通过
|
|
|
if (response.code != 200) {
|
|
|
// updateAddress : ,1:同城AB+金牌,去修改地址;2:非金牌店铺,非同城店铺偏差过大不允许拜访,可以重置定位;0非金牌店铺,非同城店铺 位置信息不存在 可以继续拜访
|