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.
43 lines
769 B
43 lines
769 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 addWz(data) {
|
||
|
return request({
|
||
|
url: '/material/inList/addOrUpdate',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
// 查询入库明单列表
|
||
|
export function listInList(query) {
|
||
|
return request({
|
||
|
url: '/material/inList/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
// 查询入库单详细
|
||
|
export function getInList(id) {
|
||
|
return request({
|
||
|
url: '/material/inList/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|