songshankun
2023-10-19 fbe9459ed908eef6c25c3bcd244d0a7e74dfa792
src/api/overview/overview.js
@@ -33,9 +33,11 @@
}
// 查询入库/出库列表
export const getOperation = async (data) => {
  return await axios.get(`/api-wms/v1/operation/operation`, {
    params: data
export function getOperation(data) {
  return request({
    url: "/api-wms/v1/operation/list",
    method: "post",
    data
  })
}
// 添加入库/出库
@@ -57,8 +59,8 @@
// 编辑入库/出库
export function updateOperation(data) {
  return request({
    url: `/api-wms/v1/operation/operation/${data.id}`,
    method: "put",
    url: `/api-wms/v1/operation/update`,
    method: "post",
    data
  })
}
@@ -79,3 +81,12 @@
    data
  })
}
// 获取全部调拨列表
export function getAllList(data) {
  return request({
    url: "/api-wms/v1/operation/listAll",
    method: "post",
    data
  })
}