diff --git a/api/outLocation.js b/api/outLocation.js index d656dc9..444f542 100644 --- a/api/outLocation.js +++ b/api/outLocation.js @@ -2,7 +2,7 @@ import request from '@/utils/request' // 获取领用出库分页列表 export function getOutLocationPage(params) { return request({ - url: '/eam/item-apply-main/getAppOutOperaPage', + url: '/eam/item-apply-request-main/getAppOutOperaPage', 'method': 'GET', params }) @@ -10,7 +10,7 @@ export function getOutLocationPage(params) { // 获取领用出库详情 export function getOutLocationDetail(params) { return request({ - url: '/eam/item-apply-main/appGetByNumber', + url: '/eam/item-apply-request-main/appGetByNumber', 'method': 'GET', params }) @@ -18,7 +18,7 @@ export function getOutLocationDetail(params) { // 出库新增 export function outLocationCreat(data) { return request({ - url: '/eam/item-apply-main/outOperation', + url: '/eam/item-apply-request-main/outOperation', 'method': 'POST', data }) diff --git a/api/sparePartsReturn.js b/api/sparePartsReturn.js index 61f673a..176e7f9 100644 --- a/api/sparePartsReturn.js +++ b/api/sparePartsReturn.js @@ -2,7 +2,7 @@ import request from '@/utils/request' // 归还 export function sparePartsReturn(data) { return request({ - url: '/eam/item-apply-main/inOperation', + url: '/eam/item-apply-request-main/inOperation', 'method': 'POST', data })