diff --git a/src/api/basicdata/basicdataGoodsShelf.js b/src/api/basicdata/basicdataGoodsShelf.js index 765e3b1c..4208c9d1 100644 --- a/src/api/basicdata/basicdataGoodsShelf.js +++ b/src/api/basicdata/basicdataGoodsShelf.js @@ -31,6 +31,24 @@ export const remove = (ids) => { } }) } +export const disable = (ids) => { + return request({ + url: '/api/logpm-basicdata/goodsShelf/disable', + method: 'post', + params: { + ids, + } + }) +} +export const enable = (ids) => { + return request({ + url: '/api/logpm-basicdata/goodsShelf/enable', + method: 'post', + params: { + ids, + } + }) +} export const add = (row) => { return request({ diff --git a/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue b/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue index 7945e4bc..3db46012 100644 --- a/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue +++ b/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue @@ -105,8 +105,8 @@ 导出数据 编辑 删除 - 禁用 - 启用 + + @@ -186,18 +186,18 @@ - - - - - - - - + + + + + + + + + + + + diff --git a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue index d3327f4c..17e23bc1 100644 --- a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue +++ b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue @@ -107,8 +107,8 @@ 编辑 编 辑 货 位 货 位 列 表 - 禁用 - 启用 + + @@ -304,11 +304,11 @@