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 @@ - - - - - - -