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
|
})
|
}
|
|
// 字典列表
|
export function getDictListApi(data) {
|
return request({
|
url: "/api-wms/v1/dict/getDictList",
|
method: "post",
|
data
|
});
|
}
|
//新增字典 /api-wms/v1/dict/add
|
export function addDictApi(data) {
|
return request({
|
url: "/api-wms/v1/dict/add",
|
method: "post",
|
data
|
});
|
}
|
//删除字典
|
export function deleteDictApi(id) {
|
return request({
|
url: `/api-wms/v1/dict/delete/${id}`,
|
method: "delete",
|
});
|
}
|
// 修改字典
|
export function editDictApi(data) {
|
return request({
|
url: "/api-wms/v1/dict/edit",
|
method: "post",
|
data
|
});
|
}
|