bonus-material-app/src/services/back.js

39 lines
744 B
JavaScript
Raw Normal View History

2024-11-19 15:06:06 +08:00
import { http } from '@/utils/http'
// 退料任务列表接口
export const getBackList = (data) => {
return http({
method: 'GET',
url: '/material/back_apply_info/list',
data:data,
})
}
2024-11-20 14:24:17 +08:00
// 退料任务详情接口
export const getBackInfo = (id) => {
return http({
method: 'GET',
url: '/material/back_apply_info/'+id
})
}
2024-11-19 15:06:06 +08:00
2024-11-20 14:24:17 +08:00
// 单位下拉选
export const getUnitList = (data) => {
return http({
method: 'POST',
url: '/material/select/getUnitList',
data:data,
})
}
// 工程下拉选
export const getProjectList = (data) => {
return http({
method: 'POST',
url: '/material/select/getProjectList',
data:data,
})
}
2024-11-19 15:06:06 +08:00