From 9096f93e806b44a06eb8a7c41d0bb2e21830bc3c Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期四, 28 九月 2023 15:03:32 +0800
Subject: [PATCH] 编辑库存接口修改、公共组件高度调整
---
src/api/warehouseManage/warehouse.js | 21 ++++++++++-----------
src/components/makepager/CommonFormTableView.vue | 2 +-
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/src/api/warehouseManage/warehouse.js b/src/api/warehouseManage/warehouse.js
index 8e67a72..94ce3d5 100644
--- a/src/api/warehouseManage/warehouse.js
+++ b/src/api/warehouseManage/warehouse.js
@@ -18,16 +18,16 @@
// 鍒犻櫎浠撳簱
export function deleteWarehouse(data) {
return request({
- url: "/api-wms/v1/warehouse/warehouse/"+data.id,
+ url: "/api-wms/v1/warehouse/warehouse/" + data.id,
method: "delete",
data
})
}
-// 鏇存柊浠撳簱
+// 鏇存柊浠撳簱
export function updateWarehouse(data) {
return request({
- url: "/api-wms/v1/warehouse/warehouse/"+data.id,
- method: "put",
+ url: "/api-wms/v1/warehouse/updateWarehouse",
+ method: "post",
data
})
}
@@ -48,15 +48,15 @@
// 鍒犻櫎涓氬姟绫诲瀷
export function deleteOperationType(data) {
return request({
- url: "/api-wms/v1/operationType/operationType/"+data.id,
+ url: "/api-wms/v1/operationType/operationType/" + data.id,
method: "delete",
data
})
}
-// 鏇存柊涓氬姟绫诲瀷
+// 鏇存柊涓氬姟绫诲瀷
export function updateOperationType(data) {
return request({
- url: "/api-wms/v1/operationType/operationType/"+data.id,
+ url: "/api-wms/v1/operationType/operationType/" + data.id,
method: "put",
data
})
@@ -77,10 +77,10 @@
data
})
}
-// 鍒犻櫎浣嶇疆
+// 鍒犻櫎浣嶇疆
export function deleteLocation(data) {
return request({
- url: "/api-wms/v1/location/deleteLocation/"+data.id,
+ url: "/api-wms/v1/location/deleteLocation/" + data.id,
method: "delete",
data
})
@@ -88,7 +88,7 @@
// 浣嶇疆 璇︽儏
export function getLocationDetails(data) {
return request({
- url: "/api-wms/v1/location/getLocationDetails/"+data.id,
+ url: "/api-wms/v1/location/getLocationDetails/" + data.id,
method: "get",
data
})
@@ -101,4 +101,3 @@
data
})
}
-
diff --git a/src/components/makepager/CommonFormTableView.vue b/src/components/makepager/CommonFormTableView.vue
index e5a99d1..c569190 100644
--- a/src/components/makepager/CommonFormTableView.vue
+++ b/src/components/makepager/CommonFormTableView.vue
@@ -10,7 +10,7 @@
<el-table
:data="tableList.tableData"
style="width: 100%"
- :height="isinventory || islistingrules ? 'calc(100% - 0px)' : ''"
+ :class="{ setHeight: isinventory || islistingrules }"
:header-cell-style="{ background: '#f1f3f8', color: '#000009' }"
:row-class-name="tableRowClassName"
@row-click="tableRowClick"
--
Gitblit v1.8.0