From 1db8162b7e6640a4aba841b05f60598403c3050f Mon Sep 17 00:00:00 2001
From: "0.0" <1092404103.qq.com>
Date: Wed, 30 Aug 2023 11:04:35 +0800
Subject: [PATCH] =?UTF-8?q?1.=E4=BB=93=E5=BA=93=E6=9D=83=E9=99=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/basicdata/basicdataGoodsShelf.js | 18 ++++++++++++
.../goodsArea/basicdataGoodsArea.vue | 28 +++++++++----------
.../goodsShelf/basicdataGoodsShelf.vue | 8 +++---
3 files changed, 36 insertions(+), 18 deletions(-)
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 @@