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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
| // 发货台账页面接口
| 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 shippingInfoDetailListPage(query) {
| return request({
| url: "/shippingInfoDetail/listPage",
| method: "get",
| params: query,
| });
| }
|
| // 新增发货明细
| export function addShippingInfoDetail(data) {
| return request({
| url: "/shippingInfoDetail/add",
| method: "post",
| data,
| });
| }
|
| // 修改发货明细
| export function updateShippingInfoDetail(data) {
| return request({
| url: "/shippingInfoDetail/update",
| method: "post",
| data,
| });
| }
|
| // 删除发货明细
| export function delShippingInfoDetail(ids) {
| return request({
| url: "/shippingInfoDetail/delete",
| method: "delete",
| data: ids,
| });
| }
|
|