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

54 lines
1.1 KiB
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-21 09:22:25 +08:00
// 获取协议id
export const getAgreementInfoById = (data) => {
return http({
method: 'POST',
url: '/material/select/getAgreementInfoById',
data:data,
})
}
2024-11-19 15:06:06 +08:00
2024-11-21 09:22:25 +08:00
// 新增退料单
export const insertApp = (data) => {
return http({
method: 'POST',
url: '/material/back_apply_info/insertApp',
data:data,
})
}
2024-11-19 15:06:06 +08:00