73 lines
1.7 KiB
JavaScript
73 lines
1.7 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 二级库出库接口
|
|
export function addTeamsApi(data) {
|
|
return request({
|
|
url: '/material/secondaryWarehouse/addTeamGroup',
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
// 获取编码设备接口
|
|
export function getMaStatusByMaIdApi(data) {
|
|
return request({
|
|
url: '/material/secondaryWarehouse/getMaStatusByMaId',
|
|
method: 'get',
|
|
params: data,
|
|
})
|
|
}
|
|
// 二级库出库接口
|
|
export function outboundApi(data) {
|
|
return request({
|
|
url: '/material/secondaryWarehouse/operate',
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 出库记录 退库记录
|
|
*/
|
|
|
|
// 出库记录
|
|
export function getRecordsApi(data) {
|
|
return request({
|
|
url: '/material/secondaryWarehouse/getRecords',
|
|
method: 'get',
|
|
params: data,
|
|
})
|
|
}
|
|
|
|
// 二级库 报废管理列表接口
|
|
export function getScrapListApi(data) {
|
|
return request({
|
|
url: '/material/secondaryWarehouse/getSecondScrapList',
|
|
method: 'get',
|
|
params: data,
|
|
})
|
|
}
|
|
// 二级库 报废申请
|
|
export function scrapAuditingApi(data) {
|
|
return request({
|
|
url: '/material/secondaryWarehouse/seconfScrap',
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
// 二级库 报废申请 详情
|
|
export function getSecondScrapListDetailsApi(data) {
|
|
return request({
|
|
url: '/material/secondaryWarehouse/getSecondScrapListDetails',
|
|
method: 'get',
|
|
params: data,
|
|
})
|
|
}
|
|
// 二级库 报废申请 审核
|
|
export function auditSeconfScrapApi(data) {
|
|
return request({
|
|
url: '/material/secondaryWarehouse/auditSeconfScrap',
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|