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