|
@ -3,7 +3,7 @@ import request from '@/utils/request' |
|
|
// 备件领用列表
|
|
|
// 备件领用列表
|
|
|
export function sparePartsApplicationPage(params) { |
|
|
export function sparePartsApplicationPage(params) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/eam/item-apply-main/getAppPage', |
|
|
url: '/eam/item-apply-request-main/getAppPage', |
|
|
'method': 'GET', |
|
|
'method': 'GET', |
|
|
params |
|
|
params |
|
|
}) |
|
|
}) |
|
@ -11,7 +11,7 @@ export function sparePartsApplicationPage(params) { |
|
|
// 领用备件
|
|
|
// 领用备件
|
|
|
export function sparePartsApplicationCreate(data) { |
|
|
export function sparePartsApplicationCreate(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/eam/item-apply-main/create', |
|
|
url: '/eam/item-apply-request-main/create', |
|
|
'method': 'POST', |
|
|
'method': 'POST', |
|
|
data |
|
|
data |
|
|
}) |
|
|
}) |
|
@ -19,14 +19,14 @@ export function sparePartsApplicationCreate(data) { |
|
|
// 撤回领用备件
|
|
|
// 撤回领用备件
|
|
|
export function sparePartsApplicationCancle(id) { |
|
|
export function sparePartsApplicationCancle(id) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/eam/item-apply-main/backout?id=' + id, |
|
|
url: '/eam/item-apply-request-main/backout?id=' + id, |
|
|
'method': 'GET', |
|
|
'method': 'GET', |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
// 领用备件详情
|
|
|
// 领用备件详情
|
|
|
export function sparePartsApplicationDetail(number) { |
|
|
export function sparePartsApplicationDetail(number) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/eam/item-apply-main/appGetByNumber?number=' + number, |
|
|
url: '/eam/item-apply-request-main/appGetByNumber?number=' + number, |
|
|
'method': 'GET', |
|
|
'method': 'GET', |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |