From 56953f77d1662f57366d0c6edc3a0bfb85555353 Mon Sep 17 00:00:00 2001 From: yyy <2605810609@qq.com> Date: Mon, 7 Apr 2025 16:10:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E8=B7=AF=E7=BA=BF=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20=E5=87=BA=E5=8F=91=E7=82=B9=E5=BA=8F=E5=8F=B7=20?= =?UTF-8?q?=E7=BB=93=E6=9D=9F=E7=82=B9=E5=BA=8F=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/map/map.ts | 7 +- .../components/locationSelectionDialog.vue | 64 ++++++++++++++++--- .../components-tool/editMapRouteDialog.vue | 22 +++++++ src/views/mapPage/realTimeMap/editMap.vue | 14 ++-- 4 files changed, 92 insertions(+), 15 deletions(-) diff --git a/src/api/map/map.ts b/src/api/map/map.ts index 81a47a1d..2d2943d6 100644 --- a/src/api/map/map.ts +++ b/src/api/map/map.ts @@ -167,4 +167,9 @@ export const getRobotByFloorAndArea = async (params) => { return await request.post({ url: `/system/robot/information/getRobotByFloorAndArea`, params }) } - +//根据点位获取库位信息列表 +export const getByMapItemId = async (mapId, mapItemId) => { + return await request.get({ + url: `/system/ware/house-location/getByMapItemId?mapItemId=${mapItemId}&mapId=${mapId}` + }) +} diff --git a/src/views/mapPage/components/locationSelectionDialog.vue b/src/views/mapPage/components/locationSelectionDialog.vue index d63dfb6b..83a3caa3 100644 --- a/src/views/mapPage/components/locationSelectionDialog.vue +++ b/src/views/mapPage/components/locationSelectionDialog.vue @@ -37,7 +37,13 @@ class="location-selection-map-item" >