From d16fc3c23c26b3216145739454cd6bdfca453890 Mon Sep 17 00:00:00 2001 From: 15066119699 Date: Thu, 6 Mar 2025 03:18:25 +0800 Subject: [PATCH] 1 --- src/api/system/goods.js | 7 +++++++ src/views/system/location/index.vue | 13 +++---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/api/system/goods.js b/src/api/system/goods.js index 833b3d2..b8da8cf 100644 --- a/src/api/system/goods.js +++ b/src/api/system/goods.js @@ -42,3 +42,10 @@ export function delGoods(goodsId) { method: 'delete' }) } +// 启用禁用 +export function enableGoods(goodsId) { + return request({ + url: '/app/goods/changeGoodsIsEnableStatus/' + goodsId, + method: 'post' + }) +} \ No newline at end of file diff --git a/src/views/system/location/index.vue b/src/views/system/location/index.vue index 1ce2b4b..80573c1 100644 --- a/src/views/system/location/index.vue +++ b/src/views/system/location/index.vue @@ -130,12 +130,12 @@ - + - + @@ -353,13 +353,6 @@ - - - - - - -