From 35bc735ecc4c885c30d7a115e178d887c90eceb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=89=E7=8B=BB=E7=8C=8A?= Date: Fri, 27 Feb 2026 19:04:04 +0800 Subject: [PATCH] =?UTF-8?q?153=20=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E3=80=8B=E5=9F=BA=E7=A1=80=E6=95=B0=E6=8D=AE-=E3=80=8B?= =?UTF-8?q?=E5=BA=93=E6=88=BF/=E8=8D=AF=E6=88=BF=E7=AE=A1=E7=90=86?= =?UTF-8?q?=EF=BC=9A=E7=82=B9=E5=87=BB=E3=80=90=E5=88=A0=E9=99=A4=E3=80=91?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=8F=90=E7=A4=BA=E2=80=9C=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5,=E8=AF=A5=E6=95=B0=E6=8D=AE=E5=B7=B2?= =?UTF-8?q?=E8=A2=AB=E4=BB=96=E4=BA=BA=E5=88=A0=E9=99=A4,=E8=AF=B7?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E5=90=8E=E9=87=8D=E8=AF=95=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/basicmanage/warehouseLocation/components/api.js | 2 +- .../src/views/basicmanage/warehouseLocation/index.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openhis-ui-vue3/src/views/basicmanage/warehouseLocation/components/api.js b/openhis-ui-vue3/src/views/basicmanage/warehouseLocation/components/api.js index f401b794..6bd4bd4a 100644 --- a/openhis-ui-vue3/src/views/basicmanage/warehouseLocation/components/api.js +++ b/openhis-ui-vue3/src/views/basicmanage/warehouseLocation/components/api.js @@ -37,7 +37,7 @@ export function updateWarehouse(data) { export function deleteWarehouse(data) { return request({ // url: '/base-data-manage/location/location?locationId=' + data.locationId, - url: '/base-data-manage/location/location?busNo=' + data.busNo, + url: '/base-data-manage/location/location', method: 'delete', params: { locationId: data.locationId, diff --git a/openhis-ui-vue3/src/views/basicmanage/warehouseLocation/index.vue b/openhis-ui-vue3/src/views/basicmanage/warehouseLocation/index.vue index d19e82bb..d005bd66 100644 --- a/openhis-ui-vue3/src/views/basicmanage/warehouseLocation/index.vue +++ b/openhis-ui-vue3/src/views/basicmanage/warehouseLocation/index.vue @@ -293,8 +293,7 @@ function submitForm() { // 删除 function handelDelete(data) { loading.value = true; - console.log(data, 'data'); - deleteWarehouse({ busNo: data.busNo }).then((res) => { + deleteWarehouse(data).then((res) => { proxy.$modal.msgSuccess('操作成功'); loading.value = false; getPageList();