yangfeng
2023-09-28 5cea5a7c019514227cb0dd5be08b8ad71ac5a00d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
  })
}