Browse Source

接口地址

master
zhang_li 9 months ago
parent
commit
8cebc736e2
  1. 6
      api/outLocation.js
  2. 2
      api/sparePartsReturn.js

6
api/outLocation.js

@ -2,7 +2,7 @@ import request from '@/utils/request'
// 获取领用出库分页列表 // 获取领用出库分页列表
export function getOutLocationPage(params) { export function getOutLocationPage(params) {
return request({ return request({
url: '/eam/item-apply-main/getAppOutOperaPage', url: '/eam/item-apply-request-main/getAppOutOperaPage',
'method': 'GET', 'method': 'GET',
params params
}) })
@ -10,7 +10,7 @@ export function getOutLocationPage(params) {
// 获取领用出库详情 // 获取领用出库详情
export function getOutLocationDetail(params) { export function getOutLocationDetail(params) {
return request({ return request({
url: '/eam/item-apply-main/appGetByNumber', url: '/eam/item-apply-request-main/appGetByNumber',
'method': 'GET', 'method': 'GET',
params params
}) })
@ -18,7 +18,7 @@ export function getOutLocationDetail(params) {
// 出库新增 // 出库新增
export function outLocationCreat(data) { export function outLocationCreat(data) {
return request({ return request({
url: '/eam/item-apply-main/outOperation', url: '/eam/item-apply-request-main/outOperation',
'method': 'POST', 'method': 'POST',
data data
}) })

2
api/sparePartsReturn.js

@ -2,7 +2,7 @@ import request from '@/utils/request'
// 归还 // 归还
export function sparePartsReturn(data) { export function sparePartsReturn(data) {
return request({ return request({
url: '/eam/item-apply-main/inOperation', url: '/eam/item-apply-request-main/inOperation',
'method': 'POST', 'method': 'POST',
data data
}) })

Loading…
Cancel
Save