From 21771e869973256019140c434959d9268bd20f5e Mon Sep 17 00:00:00 2001 From: "0.0" <1092404103.qq.com> Date: Tue, 29 Aug 2023 17:08:25 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=A6=81=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basicdata/basicdataGoodsArea.js | 18 +++ src/option/basicdata/basicdataGoodsArea.js | 8 +- src/option/basicdata/basicdataGoodsShelf.js | 2 +- .../goodsArea/basicdataGoodsArea.vue | 127 ++++++++++++--- .../goodsShelf/basicdataGoodsShelf.vue | 150 +++++++++++++----- .../warehouseStock/warehouseStock.vue | 15 +- 6 files changed, 252 insertions(+), 68 deletions(-) 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 @@
新 增 删 除 + 禁 用 + 启 用
@@ -102,7 +104,9 @@ 查看 导出数据 编辑 - 删除 + 删除 + 禁用 + 启用 @@ -209,7 +213,7 @@