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.
55 lines
1.4 KiB
55 lines
1.4 KiB
10 months ago
|
import request from '@/config/axios'
|
||
|
|
||
|
// 创建领用出库记录子
|
||
|
export function createSparePartsOutLocationRecordDetail(data) {
|
||
|
return request({
|
||
|
url: '/eam/spare-parts-out-location-detail-record/create',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 更新领用出库记录子
|
||
|
export function updateSparePartsOutLocationRecordDetail(data) {
|
||
|
return request({
|
||
|
url: '/eam/spare-parts-out-location-detail-record/update',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除领用出库记录子
|
||
|
export function deleteSparePartsOutLocationRecordDetail(id) {
|
||
|
return request({
|
||
|
url: '/eam/spare-parts-out-location-detail-record/delete?id=' + id,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 获得领用出库记录子
|
||
|
export function getSparePartsOutLocationRecordDetail(id) {
|
||
|
return request({
|
||
|
url: '/eam/spare-parts-out-location-detail-record/get?id=' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 获得领用出库记录子分页
|
||
|
export function getSparePartsOutLocationRecordDetailPage(query) {
|
||
|
return request({
|
||
|
url: '/eam/spare-parts-out-location-detail-record/page',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 导出领用出库记录子 Excel
|
||
|
export function exportSparePartsOutLocationRecordDetailExcel(query) {
|
||
|
return request({
|
||
|
url: '/eam/spare-parts-out-location-detail-record/export-excel',
|
||
|
method: 'get',
|
||
|
params: query,
|
||
|
responseType: 'blob'
|
||
|
})
|
||
|
}
|