材料站接口变更
This commit is contained in:
parent
3166efeb66
commit
62ad1fa629
|
|
@ -58,7 +58,7 @@ export const getBmTeamList = (data) => {
|
||||||
export const getPickingOutboundListAPI = (data) => {
|
export const getPickingOutboundListAPI = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/material/lease_apply_info/list',
|
url: '/material/material_lease_apply_info/list',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -67,7 +67,7 @@ export const getPickingOutboundListAPI = (data) => {
|
||||||
export const deleteLeaseApplyApi = (id) => {
|
export const deleteLeaseApplyApi = (id) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'delete',
|
method: 'delete',
|
||||||
url: `/material/lease_apply_info/${id}`,
|
url: `/material/material_lease_apply_info/${id}`,
|
||||||
data: id,
|
data: id,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -94,7 +94,7 @@ export const getTypeTreeList = (data) => {
|
||||||
export const addLeaseTask = (data) => {
|
export const addLeaseTask = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/material/lease_apply_info',
|
url: '/material/material_lease_apply_info',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -102,7 +102,7 @@ export const addLeaseTask = (data) => {
|
||||||
export const editLeaseTask = (data) => {
|
export const editLeaseTask = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'put',
|
method: 'put',
|
||||||
url: '/material/lease_apply_info',
|
url: '/material/material_lease_apply_info',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -110,7 +110,7 @@ export const editLeaseTask = (data) => {
|
||||||
export const detailsLeaseTask = (data) => {
|
export const detailsLeaseTask = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: `/material/lease_apply_info/${data}`,
|
url: `/material/material_lease_apply_info/${data}`,
|
||||||
// data:data,
|
// data:data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -118,7 +118,7 @@ export const detailsLeaseTask = (data) => {
|
||||||
export const detailsBackTask = (data) => {
|
export const detailsBackTask = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: `/material/back_apply_info/${data}`,
|
url: `/material/material_back_apply_info/${data}`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -135,7 +135,7 @@ export const getAgreementInfoByIdApi = (data) => {
|
||||||
export const getOutNum = (data) => {
|
export const getOutNum = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/material/lease_apply_info/getOutNum',
|
url: '/material/material_lease_apply_info/getOutNum',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -144,7 +144,7 @@ export const getOutNum = (data) => {
|
||||||
export const getCodeScanAPI = (data) => {
|
export const getCodeScanAPI = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/material/lease_apply_info/getInfoByQrcode',
|
url: '/material/material_lease_apply_info/getInfoByQrcode',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -153,7 +153,7 @@ export const getCodeScanAPI = (data) => {
|
||||||
export const getMachineByIdApi = (data) => {
|
export const getMachineByIdApi = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/material/back_apply_info/getMachineById',
|
url: '/material/material_back_apply_info/getMachineById',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -171,7 +171,7 @@ export const getCodeDeviceListAPI = (data) => {
|
||||||
export const getBackListAPI = (data) => {
|
export const getBackListAPI = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/material/back_apply_info/list',
|
url: '/material/material_back_apply_info/list',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -180,7 +180,7 @@ export const getBackListAPI = (data) => {
|
||||||
export const deleteBackApi = (data) => {
|
export const deleteBackApi = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: `/material/back_apply_info/deleteById`,
|
url: `/material/material_back_apply_info/deleteById`,
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -189,7 +189,7 @@ export const deleteBackApi = (data) => {
|
||||||
export const backTask = (data) => {
|
export const backTask = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/material/back_apply_info',
|
url: '/material/material_back_apply_info',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -198,7 +198,7 @@ export const backTask = (data) => {
|
||||||
export const editBackTask = (data) => {
|
export const editBackTask = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/material/back_apply_info/edit',
|
url: '/material/material_back_apply_info/edit',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -216,7 +216,7 @@ export const getUseTypeTree = (data) => {
|
||||||
export const editBack = (data) => {
|
export const editBack = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/material/back_apply_info//edit',
|
url: '/material/material_back_apply_info//edit',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -225,7 +225,7 @@ export const editBack = (data) => {
|
||||||
export const getMachine = (data) => {
|
export const getMachine = (data) => {
|
||||||
return http({
|
return http({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/material/back_apply_info/getMachine',
|
url: '/material/material_back_apply_info/getMachine',
|
||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue