黎星凯
2024-04-15 62b6a7fac3f2acde70b578431147c4a01f19c182
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
86
87
88
89
90
91
92
93
94
95
96
import request from '@/utils/request';
 
// 列表
export function inventoryListApi(params) {
  return '/pc/l/wh/form/inventory/list'
}
 
// 新增
export function inventoryAdd(data) {
  return request({
    url: '/pc/l/wh/form/inventory/add',
    method: 'post',
    data,
  });
}
 
// 编辑
export function inventoryEdit(data) {
  return request({
    url: '/pc/l/wh/form/inventory/edit',
    method: 'post',
    data,
  });
}
 
// 删除
export function inventoryDel(params) {
  return request({
    url: '/pc/l/wh/form/inventory/del',
    method: 'delete',
    params,
  });
}
 
// 盘点详情
export function inventoryDetail(params) {
  return request({
    url: '/pc/l/wh/form/inventory/detail',
    method: 'get',
    params,
  });
}
 
// 盘点暂存
export function inventoryTemporaryStorage(data) {
  return request({
    url: '/pc/l/wh/form/inventory/temporary/storage',
    method: 'post',
    data,
  });
}
 
// 完成盘点
export function inventoryFinish(data) {
  return request({
    url: '/pc/l/wh/form/inventory/finish',
    method: 'post',
    data,
  });
}
 
// 异常明细列表查询
export function inventoryListPdDetail(params) {
  return request({
    url: '/pc/l/wh/form/inventory/list/PdDetail',
    method: 'get',
    params,
  });
}
 
// 盘点
export function inventoryQuery(params) {
  return request({
    url: '/pc/l/wh/form/inventory/query',
    method: 'get',
    params,
  });
}
 
// 查询盘点单物品
export function inventoryGoodsList(params) {
  return request({
    url: '/pc/l/wh/form/inventory/goods/list',
    method: 'get',
    params,
  });
}
 
// 查询是否能增加盘点单
export function isAddInventory(params) {
  return request({
    url: '/pc/l/wh/form/inventory/isAddInventory',
    method: 'get',
    params,
  });
}