haoyahui
2023-11-17 b6a04be0a4cbf5d5a44006a09b83f52a71dfce27
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
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(data) {
  return request({
    url: '/pc/l/wh/form/inventory/del',
    method: 'post',
    data,
  });
}
 
// 完成盘点
export function inventoryFinish(data) {
  return request({
    url: '/pc/l/wh/form/inventory/finish',
    method: 'post',
    data,
  });
}