// 库存报表
|
import request from "@/common/untils/request.js"
|
|
|
// 获取库存报表
|
export function getInventoryData(data) {
|
return request({
|
url: "/api-wms/v1/forms/getInventoryForms",
|
method: "post",
|
data
|
})
|
}
|
|
// 仓库类型列表
|
export const getWarehouseList = (data) => {
|
return request({
|
url: "/api-wms/v1/warehouse/warehouse",
|
method: "get",
|
params: data
|
})
|
}
|
|
// 产品类型列表
|
export function getProductCategoryList(data) {
|
return request({
|
url: "/api-wms/v1/product/getProductCategoryList",
|
method: "post",
|
data
|
})
|
}
|
|
//报表历史
|
export function getHistory(data) {
|
return request({
|
url: "/api-wms/v1/forms/getHistory",
|
method: "post",
|
data
|
})
|
}
|
// 出入库明细
|
export function listByCondition(data) {
|
return request({
|
url: "/api-wms/v1/operation/listByCondition",
|
method: "post",
|
data
|
})
|
}
|
//查询单条详情接口
|
export function getOperationInfo(data) {
|
return request({
|
url: `/api-wms/v1/operation/getOperationInfo/${data}`,
|
method: "get",
|
data
|
})
|
}
|
// 月度统计报表
|
export function getmonthStats(data) {
|
return request({
|
url: "/api-wms/v1/forms/monthStats",
|
method: "post",
|
data
|
})
|
}
|
// 获得系统设置列表
|
export function getSystemConfigApi(params) {
|
return request({
|
url: "/api-wms/v1/systemConfig/get",
|
method: "get",
|
params
|
})
|
}
|
// 保存系统设置
|
export function saveSystemConfigApi(data) {
|
return request({
|
url: "/api-wms/v1/systemConfig/save",
|
method: "post",
|
data
|
})
|
}
|
// 月度明细统计
|
export function getWarehouseMothStatsApi(data) {
|
return request({
|
url: "/api-wms/v1/forms/warehouseMonthStats",
|
method: "post",
|
data
|
})
|
}
|