Mr.Shi
2023-08-11 6e19ef63c0a87588abd76c04ab228a73e3060ea4
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
import httpRequest from '@/utils/request'
 
// 转库单列表
export function getTransferList(data: any): Promise<any> {
  return httpRequest({
    url: '/ext/wTransferExt/pageList',
    method: 'post',
    data
  })
}
 
// 转库单详情
export function wTransferExtDetail(id: any): Promise<any> {
    return httpRequest({
        url:  `/ext/wTransferExt/${id}`,
        method: 'get'
    })
}
 
// 分页查询库存
export function getwStockExtList(data: any): Promise<any> {
  return httpRequest({
    url: '/ext/wStockExt/pageForH5',
    method: 'post',
    data
  })
}
 
// 出入库单列表
export function getBoundList(data: any): Promise<any> {
  return httpRequest({
    url: '/ext/wOutboundExt/listPage',
    method: 'post',
    data
  })
}
 
// 提交转库单出入库
export function inOutSubmit(params: any): Promise<any> {
  return httpRequest({
    url: 'ext/wTransferExt/wTransferForInOutUpload',
    method: 'get',
    params
  })
}
 
// 出入库列表统计 - H5
export function pageCount(data: any): Promise<any> {
  return httpRequest({
    url: 'ext/wOutboundExt/pageCount',
    method: 'post',
    data
  })
}
 
// 转库列表统计 - H5
export function ZKPageCount(data: any): Promise<any> {
  return httpRequest({
    url: 'ext/wTransferExt/pageCount',
    method: 'post',
    data
  })
}
 
/**
 *
 * @param params id 出入库id
 * @returns
 */
export function getBoundDetail(params: any): Promise<any> {
  return httpRequest({
    url: '/ext/wOutboundExt/findById',
    method: 'get',
    params
  })
}
/**
 * 取消出入库单据
 * @param params id 出入库id
 * @returns
 */
export function cancelBound(params: any): Promise<any> {
  return httpRequest({
    url: '/ext/wOutboundExt/cancel',
    method: 'get',
    params
  })
}