zuozhengqing
2023-11-06 e7ccd2a06e4cdf3709e699507e1e15379ded5b83
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
import request from "@/common/untils/request.js"
// 获取重订货规则列表
export function getReorderRuleList(data) {
  return request({
    url: "/api-wms/v1/reorderRule/getReorderRuleList",
    method: "post",
    data
  })
}
// 获取在库与预测数量
export function getAmountAndPrediction(data) {
  return request({
    url: "/api-wms/v1/reorderRule/getAmountAndPrediction",
    method: "post",
    data
  })
}
// 添加重订货规则
export function addReorderRule(data) {
  return request({
    url: "/api-wms/v1/reorderRule/addReorderRule",
    method: "post",
    data
  })
}
// 订购一次
export function orderAgain(data) {
  return request({
    url: "/api-wms/v1/reorderRule/orderAgain",
    method: "post",
    data
  })
}
// 更新重订货规则
export function updateReorderRule(data) {
  return request({
    url: "/api-wms/v1/reorderRule/updateReorderRule",
    method: "post",
    data
  })
}
// 获取位置列表树
export function getLocationTreeList() {
  return request({
    url: "/api-wms/v1/location/getLocationTreeList",
    method: "get"
  })
}