You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
708 B
32 lines
708 B
9 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 备件领用列表
|
||
|
export function sparePartsApplicationPage(params) {
|
||
|
return request({
|
||
|
url: '/eam/item-apply-main/getAppPage',
|
||
|
'method': 'GET',
|
||
|
params
|
||
|
})
|
||
|
}
|
||
|
// 领用备件
|
||
|
export function sparePartsApplicationCreate(data) {
|
||
|
return request({
|
||
|
url: '/eam/item-apply-main/create',
|
||
|
'method': 'POST',
|
||
|
data
|
||
|
})
|
||
|
}
|
||
|
// 撤回领用备件
|
||
|
export function sparePartsApplicationCancle(id) {
|
||
|
return request({
|
||
|
url: '/eam/item-apply-main/backout?id=' + id,
|
||
|
'method': 'GET',
|
||
|
})
|
||
|
}
|
||
|
// 领用备件详情
|
||
|
export function sparePartsApplicationDetail(number) {
|
||
|
return request({
|
||
|
url: '/eam/item-apply-main/appGetByNumber?number=' + number,
|
||
|
'method': 'GET',
|
||
|
})
|
||
|
}
|