schangxiang@126.com
2024-12-08 df485888ecb9f69c0051fc192b87aec700cc4f89
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
import {request} from '../../utils/request.js'
export function getMaterial(data){ //查询PO单
    return request({
        url: `/PurchaseOrder/pageDetails`,
        method: 'get',
        data
     })
}
//根据采购单号和物料编码获取采购明细
export function getPurchaseOrderDetail(data){ //查询PO单
    return request({
        url: `/api/wmsOrderPurchase/QueryDetailsPda`,
        method: 'get',
        data
     })
}
//取货单列表
export function getQhdOrderDetail(data){ //查询PO单
    return request({
        url: `/sorting/order/detail/list`,
        method: 'get',
        data
     })
}
export function addDelivery(data){ //确认收货
    return request({
        url: `/api/receivingProcess/add`,
        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
     })
}
 
// 2.29
//根据采购单号和物料编码获取采购明细
export function getPurchaseOrderDetail2(data){ //查询PO单
    return request({
        url: `/ReceivingProcess/QueryDetails`,
        method: 'get',
        data
     })
}
export function addDeliveryNew(data){ //确认收货
    return request({
        url: `/ReceivingProcess/AddPODeliveryForGoods`,
        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
     })
}
 
//SAP-下拉
export function getSapSelect(data) {
    return request({
        url: `/ReceivingProcess/getsaplocation`,
        method: 'get',
        data
    })
}
 
 
//越库 - 主页列表
export function getMoveWarehouseGroup(data) { 
    return request({
        url: `/PurchaseOrder/queryAllowYKDetails`,
        method: 'get',
        data
     })
}
//越库  - 确认
export function addconfirmMove(data) { 
    return request({
        url: `/ReceivingProcess/yuekuForSHQY`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
//越库 -子页列表
export function getMoveOrderDetail(data){ 
    return request({
        url: `/sorting/order/detail/list`,
        method: 'get',
        data
     })
}
 
// 收货校验
export function addShouhuoJiaoYan(data){ 
    return request({
        url: `/ReceivingProcess/ValidateBeforeAddPODeliveryForGoods`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}