Mr.Zhang
2023-09-01 a52f13d719ee9cd53f129f4c59dcad783977fce9
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
const http = uni.$u.http
 
// 出入库详情
export function getList(params) {
    return http.get('/ext/wOutboundExt/findById', { params })
}
// export function getList(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/findById',
//         method: 'get',
//         params
//     })
// }
 
// 出库/入库扫描篮筐码 - H5
export function outScanAppliances(params) {
    return http.get('/ext/wOutboundExt/outScanAppliances', { params })
}
// export function outScanAppliances(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/outScanAppliances',
//         method: 'get',
//         params
//     })
// }
 
// 根据转库单获取出库信息 - H5
export function getOutByWTransferId(params) {
    return http.get('/ext/wOutboundExt/getOutByWTransferId', { params })
}
// export function getOutByWTransferId(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/getOutByWTransferId',
//         method: 'get',
//         params
//     })
// }
 
// 出库单保存
export function saveOut(data) {
    return http.post('/ext/wOutboundExt/saveOut', data)
}
// export function saveOut(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/saveOut',
//         method: 'post',
//         data
//     })
// }
 
// 入库单保存
export function saveIn(data) {
    return http.post('/ext/wOutboundExt/saveIn', data)
}
// export function saveIn(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/saveIn',
//         method: 'post',
//         data
//     })
// }
 
// 根据转库单获取入库信息
export function getInByWTransferId(params) {
    return http.get('/ext/wOutboundExt/getInByWTransferId', { params })
}
// export function getInByWTransferId(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/getInByWTransferId',
//         method: 'get',
//         params
//     })
// }
 
// 根据ID查询货位信息
export function getLocationInfo(id) {
    return http.get(`/ext/warehouseLocationExt/${id}`)
}
// export function getLocationInfo(id: string | number): Promise<any> {
//     return httpRequest({
//         url: `ext/warehouseLocationExt/${id}`,
//         method: 'get'
//     })
// }
 
// 根据ID查询货位信息
export function finishedInBill(params) {
    return http.get('/ext/wOutboundExt/finishedInBill', { params })
// export function finishedInBill(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/finishedInBill',
//         method: 'get',
//         params
//     })
// }
 
// 获取转库单信息
export function wTransferForInOut(params) {
    return http.get('/ext/wOutboundExt/wTransferForInOut', { params })
// export function wTransferForInOut(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wTransferExt/wTransferForInOut',
//         method: 'get',
//         params
//     })
// }
 
// 获取出入库单信息
export function wOutBoundForInOut(params) {
    return http.get('/ext/wOutboundExt/wOutBoundForInOut', { params })
// export function wOutBoundForInOut(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/wOutBoundForInOut',
//         method: 'get',
//         params
//     })
// }
 
// 获取转库单信息
export function saveOutCK (data) {
  return request.post('/ext/wOutboundExt/saveOut', data)
}
// export function saveOutCK(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/saveOut',
//         method: 'post',
//         data
//     })
// }
 
// 提交转库单出入库
export function wTransferForInOutUpload(params) {
    return http.get('/ext/wTransferExt/wTransferForInOutUpload', { params })
// export function wTransferForInOutUpload(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wTransferExt/wTransferForInOutUpload',
//         method: 'get',
//         params
//     })
// }
 
// 调整入库
export function wOutBoundForStockUp (data) {
  return request.post('/ext/wOutboundExt/wOutBoundForStockUp', data)
}
// export function wOutBoundForStockUp(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/createForStandard',
//         method: 'post',
//         data
//     })
// }
 
// 出入库业务处理提交
export function wOutBoundForUpload(params) {
    return http.get('/ext/wOutboundExt/wOutBoundForUpload', { params })
}
// export function wOutBoundForUpload(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/wOutBoundForUpload',
//         method: 'get',
//         params
//     })
// }
 
// 物料分配信息分页查询
export function materialDistributeExt (data) {
  return request.post('/ext/materialDistributeExt/page', data)
}
// export function materialDistributeExt(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/materialDistributeExt/page',
//         method: 'post',
//         data
//     })
// }
 
// 根据物料主键查询物料分配数据
export function getMaterialItem(params) {
    return http.get('/ext/materialDistributeExt/findByMaterialId', { params })
// export function getMaterialItem(params: any): Promise<any> {
//     return httpRequest({
//         url: `ext/materialDistributeExt/findByMaterialId`,
//         method: 'get',
//         params
//     })
// }
 
// 根据物料分配主键查询
export function getListByMaterialId(params) {
    return http.get('/ext/proceduresExt/getListByMaterialId', { params })
// export function getListByMaterialId(params: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/proceduresExt/getListByMaterialId',
//         method: 'get',
//         params
//     })
// }
 
// 根据转库单查询库存
export function choiceStockPageByTransfer (data) {
  return request.post('/ext/wStockExt/choiceStockPageByTransfer', data)
}
// export function choiceStockPageByTransfer(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wStockExt/choiceStockPageByTransfer',
//         method: 'post',
//         data
//     })
// }
 
// 转库出库业务 - H5
export function transferToOutNew (data) {
  return request.post('/ext/wTransferExt/transferToOutNew', data)
}
// export function transferToOutNew(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wTransferExt/transferToOutNew',
//         method: 'post',
//         data
//     })
// }
 
// 转库入库业务 - H5
export function transferToInNew (data) {
  return request.post('/ext/wTransferExt/transferToInNew', data)
}
// export function transferToInNew(data: any): Promise<any> {
//     return httpRequest({
//         url:  '/ext/wTransferExt/transferToInNew',
//         method: 'post',
//         data
//     })
// }
 
// 根据供需计划查询可用库存
export function getStockByPlansForStandard (data) {
  return request.post('/ext/workorderRecordExt/getStockByPlansForStandard', data)
}
// export function getStockByPlansForStandard(data: any): Promise<any> {
//     return httpRequest({
//         url:  '/ext/workorderRecordExt/getStockByPlansForStandard',
//         method: 'post',
//         data
//     })
// }