buhuazhen
2026-05-29 5c30f301d6d4a5b8fc1183e06aaea8dc366d3540
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
52
53
54
55
56
57
58
59
60
61
62
63
64
// 发货台账页面接口
import request from "@/utils/request";
 
// 分页查询
export function deliveryLedgerListPage(query) {
  return request({
    url: "/shippingInfo/listPage",
    method: "get",
    params: query,
  });
}
 
// 修改发货台账
export function addOrUpdateDeliveryLedger(query) {
  return request({
    url: "/shippingInfo/update",
    method: "post",
    data: query,
  });
}
// 修改发货台账
export function deductStock(query) {
  return request({
    url: "/shippingInfo/deductStock",
    method: "post",
    data: query,
  });
}
 
// 删除发货台账
export function delDeliveryLedger(query) {
  return request({
    url: "/shippingInfo/delete",
    method: "delete",
    data: query,
  });
}
 
// 新增发货信息
export function addShippingInfo(data) {
  return request({
    url: "/shippingInfo/add",
    method: "post",
    data,
  });
}
 
// 一键发货 - 自动审批通过并出库
export function oneClickShipping(data) {
  return request({
    url: "/shippingInfo/oneClickShipping",
    method: "post",
    data,
  });
}
 
// 批量一键发货 - 将销售台账下所有未发货的产品全部发货
export function batchOneClickShipping(data) {
  return request({
    url: "/shippingInfo/batchOneClickShipping",
    method: "post",
    data,
  });
}