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.
49 lines
934 B
49 lines
934 B
2 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询部门下拉树结构
|
||
|
export function deptTreeSelect() {
|
||
|
return request({
|
||
|
url: '/system/user/deptTree',
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询物资库目录列表
|
||
|
export function listWarehouse(query) {
|
||
|
return request({
|
||
|
url: '/material/warehouse/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
// 查询调拨明细列表
|
||
|
export function listMoveDetail(query) {
|
||
|
return request({
|
||
|
url: '/material/moveDetail/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
|
||
|
// 查询调拨明细详细
|
||
|
export function getMoveDetail(id) {
|
||
|
return request({
|
||
|
url: '/material/moveDetail/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
export function addOrUpdateMoveList(data) {
|
||
|
return request({
|
||
|
url: '/material/moveList/addOrUpdate',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
export function listMoveDetailByHouseId(query) {
|
||
|
return request({
|
||
|
url: '/material/moveDetail/listByHouseId',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|