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
// 发货台账页面接口
import request from "@/utils/request";
 
// 分页查询(新磅单台账)
export function weighbridgeLedgerListPage(query) {
  return request({
    url: "/sales/weighbridgeLedger/listPage",
    method: "get",
    params: query,
  });
}
 
// 导入 Excel(新磅单台账)
export function importWeighbridgeLedgerExcel(data) {
  return request({
    url: "/sales/weighbridgeLedger/import",
    method: "post",
    data,
  });
}
 
// 删除(新磅单台账)
export function delWeighbridgeLedger(query) {
  return request({
    url: "/sales/weighbridgeLedger/delete",
    method: "delete",
    data: query,
  });
}
 
// 兼容旧页面(销售台账)发货接口
export function addShippingInfo(data) {
  return request({
    url: "/shippingInfo/add",
    method: "post",
    data,
  });
}