diff --git a/src/components/mobile/MapSheet.vue b/src/components/mobile/MapSheet.vue index 86fe59d1..6572e909 100644 --- a/src/components/mobile/MapSheet.vue +++ b/src/components/mobile/MapSheet.vue @@ -4,8 +4,8 @@
- - + +
@@ -47,6 +47,7 @@ type MapViewType = InstanceType; const props = defineProps<{ modelValue?: Coordinate; + readonly?: boolean; setGeoLocationByClickMap?: boolean; show: boolean; }>(); @@ -71,7 +72,7 @@ const geoLocation = computed({ }); function updateSpecifiedGeoLocation(coordinate: Coordinate): void { - if (isSupportGetGeoLocationByClick() && props.setGeoLocationByClickMap) { + if (!props.readonly && isSupportGetGeoLocationByClick() && props.setGeoLocationByClickMap) { geoLocation.value = coordinate; map.value?.setMarkerPosition(coordinate); } diff --git a/src/views/mobile/transactions/EditPage.vue b/src/views/mobile/transactions/EditPage.vue index 19ca7227..9a5c422f 100644 --- a/src/views/mobile/transactions/EditPage.vue +++ b/src/views/mobile/transactions/EditPage.vue @@ -343,7 +343,8 @@ -