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.

51 lines
994 B

2 months ago
import request from '@/utils/request'
// 获取物资目录(从其中选择要入库的物资)
export function listDictionary(query) {
return request({
url: '/material/dictionary/list',
method: 'get',
params: query
})
}
export function getCategory(id) {
return request({
url: '/material/category/' + id,
method: 'get'
})
}
// 提交出库
export function addOrUpdateOutList(data) {
return request({
url: '/material/outList/addOrUpdate',
method: 'post',
data: data
})
}
// 查询出入库明细列表
export function listInOutDetails(query) {
return request({
url: '/material/inOutDetails/list',
method: 'get',
params: query
})
}
// 查询出入库明细详细
export function getInOutDetails(id) {
return request({
url: '/material/inOutDetails/' + id,
method: 'get'
})
}
//接口/** 查询仓库物资列表 */
export function listStock(query) {
return request({
url: '/material/stock/list',
method: 'get',
params: query
})
}