yangfeng
2023-09-28 9096f93e806b44a06eb8a7c41d0bb2e21830bc3c
编辑库存接口修改、公共组件高度调整
2个文件已修改
23 ■■■■ 已修改文件
src/api/warehouseManage/warehouse.js 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/makepager/CommonFormTableView.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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
  })
}
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"