import request from "@/common/untils/request.js"
|
// import axios from "axios"
|
|
// 库存调整列表
|
export function getInventoryAdjustmentList(data) {
|
return request({
|
url: "/api-wms/v1/locationProductAmount/list",
|
method: "post",
|
data
|
})
|
}
|
// 添加库存调整
|
export function addInventoryAdjustment(data) {
|
return request({
|
url: "/api-wms/v1/locationProductAmount/add",
|
method: "post",
|
data
|
})
|
}
|
// 库存调整/历史
|
export function historyInventoryAdjustment(data) {
|
return request({
|
url: "/api-wms/v1/product/listHistory",
|
method: "post",
|
data
|
})
|
}
|
// 上架规则获取位置和产品
|
export function getRuleList(data) {
|
return request({
|
url: "/api-wms/v1/locationProductAmount/getRuleList",
|
method: "post",
|
data
|
})
|
}
|
// 修改库存调整
|
export function updateInventoryAdjustment(data) {
|
return request({
|
url: "/api-wms/v1/locationProductAmount/update",
|
method: "post",
|
data
|
})
|
}
|
// 应用库存调整
|
export function finishInventoryAdjustment(data) {
|
return request({
|
url: "/api-wms/v1/locationProductAmount/finish",
|
method: "post",
|
data
|
})
|
}
|
// 获取位置产品信息
|
export function getLocationProductAmount(data) {
|
return request({
|
url: "/api-wms/v1/locationProductAmount/getLocationProductAmount",
|
method: "post",
|
data
|
})
|
}
|