oil-station/fuintAdmin/src/api/convenienceStore/stockstatistic.js

31 lines
588 B
JavaScript
Raw Normal View History

2023-10-27 16:29:53 +08:00
import request from '@/utils/request'
2023-10-27 18:04:07 +08:00
// 查询库存统计列表
2023-10-27 16:29:53 +08:00
export function listStock(query) {
return request({
url: '/business/convenience/stockStatistic/list',
method: 'get',
params: query
})
}
2023-10-27 18:04:07 +08:00
// 查询库存统计详细
2023-10-27 16:29:53 +08:00
export function getStock(id) {
return request({
url: '/business/convenience/stockStatistic/' + id,
method: 'get'
})
}
2023-10-27 18:04:07 +08:00
// 导出库存统计信息
2023-10-30 18:01:53 +08:00
export function exportStocks(data) {
2023-10-27 18:04:07 +08:00
return request({
url: '/business/convenience/stockStatistic/export',
2023-10-28 13:33:42 +08:00
method: 'post',
2023-10-30 18:01:53 +08:00
responseType:'blob',
data: data
2023-10-27 18:04:07 +08:00
})
}