|
|
@ -74,20 +74,3 @@ export const exportSparePartsOutLocationMain = async (params) => { |
|
|
|
export const importTemplate = () => { |
|
|
|
return request.download({ url: '/eam/spare-parts-out-location-main/get-import-template' }) |
|
|
|
} |
|
|
|
|
|
|
|
// 撤回
|
|
|
|
export const cancelSparePartsOutLocation = async (id) => { |
|
|
|
return await request.get({ url: `/eam/spare-parts-out-location-main/cancel?id=` + id }) |
|
|
|
} |
|
|
|
// 审核
|
|
|
|
export const submitExamineSparePartsOutLocation = async (id) => { |
|
|
|
return await request.get({ url: `/eam/spare-parts-out-location-main/submitExamine?id=` + id }) |
|
|
|
} |
|
|
|
// 审核驳回
|
|
|
|
export const rejectSparePartsOutLocation = async (id) => { |
|
|
|
return await request.get({ url: `/eam/spare-parts-out-location-main/reject?id=` + id }) |
|
|
|
} |
|
|
|
// 审核通过
|
|
|
|
export const approveSparePartsOutLocation = async (data) => { |
|
|
|
return await request.post({ url: `/eam/spare-parts-out-location-main/approve`, data }) |
|
|
|
} |
|
|
|