This reverts commit 297eab0258943ce5220f2ec390a19c7a8d4e9a5e.
@@ -8,7 +8,7 @@ import { calculateShelfLifeType, getCommodityRuleType, getIReceivingTaskType, ge
*/
export function getIReceivingTask(data:getIReceivingTaskType) {
return request({
- url: '/api/device/check/receiving/getTask',
+ url: '/api/wms/receiving/getTask',
method: 'post',
data:JSON.stringify(data),
})
@@ -7,7 +7,8 @@
export interface getIReceivingTaskType {
taskNo: string;
- version:string
+ version:string;
+ warehouse: string;
}
/**
@@ -263,7 +263,7 @@ const setBarcode = (code, type) => {
formattedTime.value="00:00:00"
totalSeconds.value=0
- getIReceivingTask({ taskNo:code,version:'V6' }).then(res=>{
+ getIReceivingTask({ taskNo:code,version:'V6',warehouse }).then(res=>{
back.value = true
if(res.data.receivedQty==res.data.expectedQty && res.data.expectedQty>0 ){
if(type){