Mr.Shi
2023-08-21 3d1a4b4bf3d37e29a3d3345e00f9f84c0d7959a6
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
import httpRequest from '@/utils/request'
 
// 出入库详情
export function getList(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/findById',
        method: 'get',
        params
    })
}
 
// 出库/入库扫描篮筐码 - H5
export function outScanAppliances(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/outScanAppliances',
        method: 'get',
        params
    })
}
 
// 根据转库单获取出库信息 - H5
export function getOutByWTransferId(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/getOutByWTransferId',
        method: 'get',
        params
    })
}
 
// 出库单保存
export function saveOut(data: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/saveOut',
        method: 'post',
        data
    })
}
 
// 入库单保存
export function saveIn(data: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/saveIn',
        method: 'post',
        data
    })
}
 
// 根据转库单获取入库信息
export function getInByWTransferId(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/getInByWTransferId',
        method: 'get',
        params
    })
}
 
// 根据ID查询货位信息
export function getLocationInfo(id: string | number): Promise<any> {
    return httpRequest({
        url: `ext/warehouseLocationExt/${id}`,
        method: 'get'
    })
}
 
// 根据ID查询货位信息
export function finishedInBill(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/finishedInBill',
        method: 'get',
        params
    })
}
 
// 获取转库单信息
export function wTransferForInOut(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/wTransferExt/wTransferForInOut',
        method: 'get',
        params
    })
}
 
// 获取出入库单信息
export function wOutBoundForInOut(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/wOutBoundForInOut',
        method: 'get',
        params
    })
}
 
// 获取转库单信息
export function saveOutCK(data: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/saveOut',
        method: 'post',
        data
    })
}
 
// 提交转库单出入库
export function wTransferForInOutUpload(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/wTransferExt/wTransferForInOutUpload',
        method: 'get',
        params
    })
}
 
// 调整入库
// export function wOutBoundForStockUp(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wOutboundExt/wOutBoundForStockUp',
//         method: 'post',
//         data
//     })
// }
 
// 调整入库
export function wOutBoundForStockUp(data: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/createForStandard',
        method: 'post',
        data
    })
}
 
// 出入库业务处理提交
export function wOutBoundForUpload(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/wOutboundExt/wOutBoundForUpload',
        method: 'get',
        params
    })
}
 
// 物料分配信息分页查询
export function materialDistributeExt(data: any): Promise<any> {
    return httpRequest({
        url: 'ext/materialDistributeExt/page',
        method: 'post',
        data
    })
}
 
// 根据物料主键查询物料分配数据
export function getMaterialItem(params: any): Promise<any> {
    return httpRequest({
        url: `ext/materialDistributeExt/findByMaterialId`,
        method: 'get',
        params
    })
}
 
// 根据物料分配主键查询
export function getListByMaterialId(params: any): Promise<any> {
    return httpRequest({
        url: 'ext/proceduresExt/getListByMaterialId',
        method: 'get',
        params
    })
}
 
// 根据转库单查询库存
export function choiceStockPageByTransfer(data: any): Promise<any> {
    return httpRequest({
        url: 'ext/wStockExt/choiceStockPageByTransfer',
        method: 'post',
        data
    })
}
 
// 转库出库业务 - H5
export function transferToOutNew(data: any): Promise<any> {
    return httpRequest({
        url: 'ext/wTransferExt/transferToOutNew',
        method: 'post',
        data
    })
}
 
// 转库入库业务 - H5
export function transferToInNew(data: any): Promise<any> {
    return httpRequest({
        url:  '/ext/wTransferExt/transferToInNew',
        method: 'post',
        data
    })
}
 
// 根据供需计划查询可用库存
export function getStockByPlansForStandard(data: any): Promise<any> {
    return httpRequest({
        url:  '/ext/workorderRecordExt/getStockByPlansForStandard',
        method: 'post',
        data
    })
}