feat: 细节调整
This commit is contained in:
parent
2e8490c691
commit
2c2350554c
|
|
@ -195,7 +195,7 @@ const arrivedOnSite = () => {
|
||||||
|
|
||||||
let distances = helpers.getDistances(res.latitude, res.longitude, data.value.order_info.lat, data.value.order_info.lng);
|
let distances = helpers.getDistances(res.latitude, res.longitude, data.value.order_info.lat, data.value.order_info.lng);
|
||||||
if (envVersion === 'release' && (distances.unit === '公里' || distances.distance > 500)) {
|
if (envVersion === 'release' && (distances.unit === '公里' || distances.distance > 500)) {
|
||||||
return helpers.showToast(`上门失败!距离客户地址超过 500米,当前距离:${distances.distance}${distances.unit}`)
|
return helpers.showToast(`上门失败!距离客户地址超过 500 米,当前距离:${distances.distance}${distances.unit}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
helpers.jumpToPage('arrived-on-site', 'id=' + id.value)
|
helpers.jumpToPage('arrived-on-site', 'id=' + id.value)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user