diff --git a/src/api/basicdata/basicdataGoodsArea.js b/src/api/basicdata/basicdataGoodsArea.js index a8e278bb..ff2aa322 100644 --- a/src/api/basicdata/basicdataGoodsArea.js +++ b/src/api/basicdata/basicdataGoodsArea.js @@ -41,6 +41,24 @@ export const remove = (ids) => { } }) } +export const disable = (ids) => { + return request({ + url: '/api/logpm-basicdata/goodsArea/disable', + method: 'post', + params: { + ids, + } + }) +} +export const enable = (ids) => { + return request({ + url: '/api/logpm-basicdata/goodsArea/enable', + method: 'post', + params: { + ids, + } + }) +} export const add = (row) => { return request({ diff --git a/src/option/basicdata/basicdataGoodsArea.js b/src/option/basicdata/basicdataGoodsArea.js index 4d8d94de..50ffc6e4 100644 --- a/src/option/basicdata/basicdataGoodsArea.js +++ b/src/option/basicdata/basicdataGoodsArea.js @@ -57,16 +57,10 @@ export default { label: "货区名称", prop: "headline", }, - { - label: "创建人名称", - prop: "createUserName", - display: false, - hide: true, - }, { label: "货区状态", prop: "enableStatus", - hide:true, + hide:false, }, // { // label: "预留1", diff --git a/src/option/basicdata/basicdataGoodsShelf.js b/src/option/basicdata/basicdataGoodsShelf.js index b91b32c4..9c664b36 100644 --- a/src/option/basicdata/basicdataGoodsShelf.js +++ b/src/option/basicdata/basicdataGoodsShelf.js @@ -117,7 +117,7 @@ export default { { label: "启用状态", prop: "enableStatus", - hide:true, + hide:false, }, // { // label: "货位名称", diff --git a/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue b/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue index 32f1e190..7945e4bc 100644 --- a/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue +++ b/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue @@ -53,6 +53,8 @@