schangxiang@126.com
2025-09-09 3d8966ba2c81e7e0365c8b123e861d18ee4f94f5
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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
import request from '../untils/request2024' 
import qs from 'qs'
export function getMaterial(data){ //查询PO单
    return request({
        url: `/PurchaseOrder/pageDetails`,
        method: 'get',
        data
     })
}
//根据采购单号和物料编码获取采购明细
export function getPurchaseOrderDetail(data){ //查询PO单
    return request({
        url: `/PurchaseOrder/QueryDetails`,
        method: 'get',
        data
     })
}
//根据采购单号和物料编码获取采购明细
export function getPurchaseOrderDetail2(data){ //查询PO单
    return request({
        url: `/api/inbound/inScan/getData`,
        method: 'post',
        data
     })
}
//根据采购单号和物料编码获取采购明细,已收货的专用
export function queryDetailsForHasSH(data){ //查询PO单
    return request({
        url: `/PurchaseOrder/QueryDetailsForHasSH`,
        method: 'get',
        data
     })
}
//根据托盘号获取所有物料 打印
export function queryDetailsForConter(data){ 
    return request({
        url: `/WarehousOrder/getMaterialList`,
        method: 'get',
        data
     })
}
//收货
export function getOutMaterial(data){ //查询PO单
    return request({
        url:`/delivery/detail/query?${qs.stringify(data)}`,
        method: 'get'
    })
}
 
export function addDelivery(data){ //确认收货
    return request({
        url: `/ReceivingProcess/addDelivery`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
export function addDeliveryNew(data){ //确认收货
    return request({
        url: `/api/task/receiptConvert`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
export function getCollect(data){ //本次收货
    return request({
        url: `/ReceivingProcess/getCollect`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
export function getShortageMaterial(data){ //缺料
    return request({
        url: `/ReceivingProcess/getShortageMaterial`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
 
export function createBatchNo(data){ //自动生成收货批次号 【Editby shaocx,2022-12-30】
    return request({
        url: `/PurchaseOrder/createBatchNo`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
 
export function query(data){ //单据状态统计
    return request({
        // url: `/check/order/status/query`, //  
        url: `/ReceivingProcess/AddPODeliveryForGoodsCheck`,
        method: 'post',
        contentType:'application/json',
        data
     })
}
 
//删除图片
export function deletePicture(data) {
    return request({
        url: `/delivery/record/deleteImages?${qs.stringify(data)}`,
        method: 'post'
    })
}
// 免费件 临时页面 确认收货
export function addDeliveryMfj(data){ 
    return request({
        url: `/ReceivingProcess/deliveryForTempFree`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
 
//SAP-下拉
export function getSapSelect(data) {
    return request({
        url: `/ReceivingProcess/getsaplocation`,
        method: 'get',
        data
    })
}
 
// 收货-撤销
export function getOutShouHouGroup(data) { 
    return request({
        url: `/ConfirmDeliveryAndDeliver/page`,
        method: 'get',
        contentType: 'application/json',
        data: data
    })
}
// 收货-确认撤销
export function reSumeconfirmShouHou(data) { 
    return request({
        url: `/ReceivingProcess/cancelAddDelivery`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
 
// 图片预览
export function getOutImgGroup(data) { 
    return request({
        url: `/CollectDelivery/previewImages`,
        method: 'get',
        contentType: 'application/json',
        data: data
    })
}
 
// 盘点计划
export function getOutPanDianGroup(data) { 
    return request({
        url: `/ConfirmDeliveryAndDeliver/page`,
        method: 'get',
        contentType: 'application/json',
        data: data
    })
}
 
// 计划完成
export function getPlanEnd(data) { 
    return request({
        url: `/check/order/querycontainer?${qs.stringify(data)}`,
        method: 'get',
    })
}
// 盘点计划
export function getOutCpGroup(data) { 
    return request({
        url: `/check/order/querycontainer?${qs.stringify(data)}`,
        method: 'get',
        contentType: 'application/json',
        data: data
    })
}
// 盘点计划 -确认
export function getPlanEndCfm(data) { 
    return request({
        url: `/check/order/updatecheck`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
// 盘点计划 -统计
export function getPlanTotal(data) { 
    return request({
        url: `/check/order/querycount?${qs.stringify(data)}`,
        method: 'get',
        contentType: 'application/json',
    })
}
// 收货校验
export function addShouhuoJiaoYan(data){ 
    return request({
        url: `/ReceivingProcess/ValidateBeforeAddPODeliveryForGoods`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
 
 
export function addDeliveryManageQ(data){ //签收
    return request({
        url: `/GoodsDelivery/updateOrderStattus`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
 
 
//根据采购单号和物料编码获取采购明细
export function getPurchaseOrderDetailShgl(data){ //查询PO单
    return request({
        url: `/GoodsDelivery/QueryDetailsShgl`,
        method: 'get',
        data
     })
}
 
 
export function getShList(data) {
    return request({
        url: `/GoodsDelivery/page`,
        method: 'get',
        data
    })
}
 
 
 
// 发货-撤销
export function getOutfaHouGroup(data) { 
    return request({
        url: `/WareBackoutOrderDetails/page`,
        method: 'get',
        contentType: 'application/json',
        data: data
    })
}
 
 
// 发货-确认撤销
export function reSumeconfirmfaHou(data) { 
    return request({
        // url: `/ReceivingProcess/cancelDeliveryRecordAdd`,
        url: `/delivery/record/cancelDeliveryRecordAdd`,
        method: 'post',
        contentType: 'application/json',
        data: data
    })
}
 
 
export function getPositions(data){ 
    return request({
        url: `/api/basicInfo/base/storage/getPositionList`,
        method: 'post',
        data
     })
}