222
schangxiang@126.com
2024-12-13 a5e54d60dbc5c695b8cadc21fcb44eb5c851f09c
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
import {request} from '../../utils/request.js'
import qs from 'qs'
//获取当前容器下的组盘详情
export function getContainerRecord(containerCode){ //牧野物料查询
    let data = {
        containerCode:containerCode
    }
    return request({
        // url: `/WarehousOrder/getMaterialList?ContainerCode=${containerCode}`,
        url: `/WarehousOrder/getMaterialList?${qs.stringify(containerCode)}`,
        method: 'get'
     })
}
 
export function getMaterialList(data){ //物料查询 带库存
    return request({
        // url: `/WareMaterial/page?Code=${materialCode}&PageNo=1&PageSize=10`,
        url: `/WarehousOrder/getInventoryQuantity?${qs.stringify(data)}`,
        method: 'get',
     })
}
 
//获取容器信息
export function getContainDetail(code) {
     let data = {
        Code:code,
        PageNo:1,
        PageSize:10
    }
    return request({
        // url: `/WareContainer/page?Code=${code}&PageNo=1&PageSize: 10`,
        url: `/WareContainer/page?${qs.stringify(data)}`,
        method: 'get'
     })
 
}
 
export function getOrderNo(data){ //自动生成单号
    return request({
        url: `/CriterionEnterWare/getOrderNo`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
export function getContainerDetails(data){ //空托查询
    return request({
        url: `/CriterionEnterWare/getContainerDetails`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
export function getMaterialDetails(data){ //物料查询
    return request({
        url: `/CriterionEnterWare/getMaterialDetails?materialCode=${data.materialCode}`,
        method: 'post'
     })
}
export function WarematerialCode(data){ //牧野物料查询
    return request({
        url: `/CollectDelivery/page?WarematerialCode=${data.WarematerialCode}`,
        method: 'get',
        contentType:'application/json',
        data: data
     })
}
export function addGroupDisk(data){ //组盘
    return request({
        url: `/api/wmsGroupDisk/PdaBindUpdate`,
        method: 'post',
        data
     })
}
export function onlyUpdateDutyCycle(data){ //仅更新空间占比数据 【Editby shaocx,2023-05-23】
    return request({
        url: `/WarehousOrder/onlyUpdateDutyCycle`,
        method: 'post',
        data
     })
}
export function add(data){ //牧野人工组盘
    return request({
        url: `/OrderReceipt/add`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
export function PdaBindListForSNCode(data){ //物料查询
    return request({
        url: `/api/WmsGroupDisk/PdaBindListForSNCode?${qs.stringify(data)}`,
        method: 'get',
     })
}
 
// 调整库龄
export function addAdjustAge(data){ 
    return request({
        url: `/WareAge/addAdjustAge`,
        method: 'post',
        data
     })
}
// 调整库龄
export function getMaterialListForAdjustAge(data){ //物料查询
    return request({
        url: `/WareAge/GetMaterialListForAdjustAge?${qs.stringify(data)}`,
        method: 'get',
     })
}
 
 
export function getareaTypesList(data){ //载具类型
    var data1 = {
        isVirtually:false
    }
    return request({
        url: `/api/wmsArea/page`,
        method: 'post',
        data:data1
     })
}
 
// 推荐库位
export function getRecommendList(data) {
    return request({
        // url: `/WareMaterial/getlocation?${qs.stringify(data)}`,
        //url: `/api/wmsPlace/page?${qs.stringify(data)}`,
        url: `/api/WmsPlace/RecommendPlaceList?${qs.stringify(data)}`,
        method: 'post'
    })
}
 
 
//容器上架 - 查询物料
export function getWmsContainer(data){ 
    return request({
        url: `/api/wmsPutaway/getContainerInfoQuan`,
        method: 'post',
        data
     })
}
 
//组空盘
export function addGroupContainer(data){ 
    return request({
        url: `/api/wmsPutaway/putawayConfirm`,
        method: 'post',
        data
     })
}
 
//容器上架确认
export function putContainerConfirm(data){ 
    return request({
        url: `/api/WmsPutaway/PutawayConfirmxxxxxx`,
        method: 'post',
        data
     })
}
 
//容器类型
export function getContainerTypeList(data){ 
    return request({
        url: `/api/wmsContainerType/page`,
        method: 'post',
        data,
     })
}
 
 
//库位信息
export function getwmsPlace(data){ 
    return request({
        url: `/api/wmsPlace/page`,
        method: 'post',
        data
     })
}
 
//库位信息-容器下架
export function getwmsPlaceForContainerOff(data){ 
    return request({
        url: `/api/wmsUnshelve/getPlaceInfo`,
        method: 'post',
        data
     })
}
 
//查物料和库存 
export function getwmsContainerType(data){ 
    return request({
        // url: `/api/WmsContainer/ContainerTypeForPda?${qs.stringify(data)}`,
        url: `/api/wmsUnshelve/getMaterialCodeByInfo?${qs.stringify(data)}`,
        method: 'get'
     })
}
 
//容器下架
export function addGroupContainerXiajia(data){ 
    return request({
        url: `/api/wmsUnshelve/containerUnshelveExecute`,
        method: 'post',
        data
     })
}
 
 
 
//======================
export function getBhbMaterialList(data){ 
    return request({
        url: `/api/WmsCommonnQuery/QueryUpiListByUpi`,
        method: 'post',
        data: data
     })
}
export function querySingleUpiByUpi(data){ 
    return request({
        url: `/api/WmsCommonnQuery/QuerySingleUpiByUpi`,
        method: 'post',
        data: data
     })
}
 
export function getenumDataList(data){ 
    return request({
        url: `/api/sysEnum/enumDataList?${qs.stringify(data)}`,
        method: 'get',
        data: data
     })
}
 
export function WmsOperationTaskSetNG(data){ 
    return request({
        url: `/api/WmsOperationTask/SetNG`,
        method: 'post',
        data: data
     })
}
export function WmsOperationTaskCancelNG(data){ 
    return request({
        url: `/api/WmsOperationTask/CancelNG`,
        method: 'post',
        data: data
     })
}