2
schangxiang@126.com
2024-12-11 7de64b71919b37221cfca5dd11fab5b40bfd449c
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
import qs from 'qs'
 
import {
    request
} from '../utils/request.js'
export function getOutWarehouseDetails(data) { //查询物料
    return request({
        url: `/CriterionSorting/getOutWarehouseDetails?WareContainerCode=${data.WareContainerCode}&OrderNo=${data.OrderNo}`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
export function getOutWarehouse(data) { //牧野查询物料
    return request({
        // url: `/Sorting/getOutWarehouse?WareContainerCode=${data.WareContainerCode}`,
        url: `/Sorting/getOutWarehouse`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
export function getOutKittingGroup(data) { //分拣列表
    return request({
        url: `/Sorting/getOutWarehouseForGroupBySort`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
export function getOutWarehouseGroup(data) { //牧野查询物料 --分组
    return request({
        // url: `/Sorting/getOutWarehouse?WareContainerCode=${data.WareContainerCode}`,
        url: `/Sorting/getOutWarehouseForGroup`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
export function addWarehouseDetails(data) { //牧野确认分拣
    return request({
        url: `/Sorting/addWarehouseDetails`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
export function addWarehouseDetailsGroup(data) { //牧野确认分拣 --分组
    return request({
        // url: `/Sorting/addWarehouseDetailsForKitting`,
        url: `/Sorting/ConfirmSort`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
//回库
export function containerReturn(data) {
    return request({
        url: `/Sorting/ContainerReturn`,
        method: 'post',
        data
    })
}
 
//回库物料详情
export function getContainerDetail(data) {
    return request({
        url: `/task/getMaterial`,
        method: 'post',
        data
    })
}
 
//获取当前区域需要分拣的容器列表
/**
 * @param {Object} type A3区域 1 A1,A2区域2
 */
export function getContainerQuery(type) {
    return request({
        url: `/Sorting/getContainerList?Type=${type}`,
        method: 'post'
    })
}
 
// 分拣记录
export function getPickPrintQuery(data) {
    return request({
        url: `/Sorting/print/detail/query`,
        method: 'post',
        data
    })
}
 
// 分拣记录 -斑马打印
export function getPickPrintQueryBanMa(data) {
    return request({
        url: `/Sorting/print/detail/queryForKitting`,
        method: 'post',
        data
    })
}
 
// 工序-一级
export function selectOneQuery(data) {
    return request({
        url: `/Sorting/getProcessList`,
        method: 'post',
        data
    })
}
// 机床号 -2级
export function selectTwoQuery(data) {
    return request({
        url: `/Sorting/getEquipmentList`,
        method: 'post',
        data
    })
}
//生产订单 - 发货页面  - 机床号 -2级 - 可发货的机床号列表
export function selectTwoQueryDelivery(data) {
    return request({
        url: `/delivery/orderno/queryForKitting`,
        method: 'get',
        data
    })
}
// 机床号下的编号  -3级
export function selectThereQuery(data) {
    return request({
        url: `/Sorting/getContainerList`,
        method: 'post',
        data
    })
}
//下架单明细
export function getwmsOrderMovementDetails(data) {
    return request({
        url: `/api/wmsOrderMovementDetails/page`,
        method: 'post',
        data
    })
}
export function getOutWarehousePO(data) { 
    return request({
        url: `/api/wmsSort/getSortList`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
 
export function addWarehouseDetailsPO(data) { 
    return request({
        url: `/api/WmsSort/SortConfirm`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
 
//异常汇报
export function addSortExceptionFlagConfirm(data) { 
    return request({
        url: `/api/WmsSort/SortExceptionFlagConfirm`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
 
 
export function addconfirmPick(data) { 
    return request({
        url: `/Sorting/confirmPick`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
// 取货-撤销
export function getOutResumeGroup(data) { 
    return request({
        url: `/WarePicking/page`,
        method: 'get',
        contentType: 'application/json',
        data: data
    })
}
// 取货-确认撤销
export function reSumeconfirmPick(data) { 
    return request({
        url: `/Sorting/cancelConfirmPick`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
 
// 分拣-撤销
export function getOutResumeSortGroup(data) { 
    return request({
        url: `/record/sorting/query`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
// 分拣-确认撤销
export function reSumeconfirmSort(data) { 
    return request({
        url: `/Sorting/cancelconfirmSort`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
 
// 越库-撤销
export function getOutYekuGroup(data) { 
    return request({
        url: `/ConfirmDeliveryAndDeliver/page`,
        method: 'get',
        contentType: 'application/json',
        data: data
    })
}
// 越库-确认撤销
export function reSumeconfirmYeku(data) { 
    return request({
        url: `/ReceivingProcess/cancelYuekuForSHQY`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}