55 lines
1.3 KiB
JavaScript
55 lines
1.3 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 创建出入库历史(有库位)详情
|
|
export function createWarehouseLocationHisDet(data) {
|
|
return request({
|
|
url: '/extend/warehouse-location-his-det/create',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 更新出入库历史(有库位)详情
|
|
export function updateWarehouseLocationHisDet(data) {
|
|
return request({
|
|
url: '/extend/warehouse-location-his-det/update',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除出入库历史(有库位)详情
|
|
export function deleteWarehouseLocationHisDet(id) {
|
|
return request({
|
|
url: '/extend/warehouse-location-his-det/delete?id=' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 获得出入库历史(有库位)详情
|
|
export function getWarehouseLocationHisDet(id) {
|
|
return request({
|
|
url: '/extend/warehouse-location-his-det/get?id=' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 获得出入库历史(有库位)详情分页
|
|
export function getWarehouseLocationHisDetPage(query) {
|
|
return request({
|
|
url: '/extend/warehouse-location-his-det/page',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 导出出入库历史(有库位)详情 Excel
|
|
export function exportWarehouseLocationHisDetExcel(query) {
|
|
return request({
|
|
url: '/extend/warehouse-location-his-det/export-excel',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|