Mr.Shi
2023-09-01 1aa94fb921d57707aa83009a75708aed4beaee95
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
const request = uni.$u.http
 
// 转库单列表
export function getTransferList (data) {
  return request.post('/ext/wTransferExt/pageList', data)
}
// export function getTransferList(data: any): Promise<any> {
//   return httpRequest({
//     url: '/ext/wTransferExt/pageList',
//     method: 'post',
//     data
//   })
// }
 
// 转库单详情
export function wTransferExtDetail (id) {
  return request.get(`/ext/wTransferExt/${id}`)
}
// export function wTransferExtDetail(id: any): Promise<any> {
//     return httpRequest({
//         url:  `/ext/wTransferExt/${id}`,
//         method: 'get'
//     })
// }
 
// 分页查询库存
export function getwStockExtList (data) {
  return request.post('/ext/wStockExt/pageForH5', data)
}
// export function getwStockExtList(data: any): Promise<any> {
//   return httpRequest({
//     url: '/ext/wStockExt/pageForH5',
//     method: 'post',
//     data
//   })
// }
 
// 出入库单列表
export function getBoundList (data) {
  return request.post('/ext/wOutboundExt/listPage', data)
}
// export function getBoundList(data: any): Promise<any> {
//   return httpRequest({
//     url: '/ext/wOutboundExt/listPage',
//     method: 'post',
//     data
//   })
// }
 
// 提交转库单出入库
export function inOutSubmit(params) {
    return http.get('/ext/wTransferExt/wTransferForInOutUpload', { params })
}
// export function inOutSubmit(params: any): Promise<any> {
//   return httpRequest({
//     url: 'ext/wTransferExt/wTransferForInOutUpload',
//     method: 'get',
//     params
//   })
// }
 
// 出入库列表统计 - H5
export function pageCount (data) {
  return request.post('/ext/wOutboundExt/pageCount', data)
}
// export function pageCount(data: any): Promise<any> {
//   return httpRequest({
//     url: 'ext/wOutboundExt/pageCount',
//     method: 'post',
//     data
//   })
// }
 
// 转库列表统计 - H5
export function ZKPageCount (data) {
  return request.post('/ext/wTransferExt/pageCount', data)
}
// 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) {
    return http.get('/ext/wOutboundExt/findById', { params })
}
// 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) {
    return http.get('/ext/wOutboundExt/cancel', { params })
}
// export function cancelBound(params: any): Promise<any> {
//   return httpRequest({
//     url: '/ext/wOutboundExt/cancel',
//     method: 'get',
//     params
//   })
// }