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
806 B
43 lines
806 B
2 months ago
|
import request from '@/utils/request';
|
||
|
|
||
|
// 查询盘点单列表
|
||
|
export function listCheckList(query) {
|
||
|
return request({
|
||
|
url: '/material/checkList/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询盘点单详细
|
||
|
export function getCheckList(id) {
|
||
|
return request({
|
||
|
url: '/material/checkList/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
//暂存或结束盘点
|
||
|
export function addOrUpdateCheck(data) {
|
||
|
return request({
|
||
|
url: '/material/checkList/addOrUpdate',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询盘点记录列表
|
||
|
export function listCheckDetails(query) {
|
||
|
return request({
|
||
|
url: '/material/checkDetails/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询盘点记录详细
|
||
|
export function getCheckDetails(id) {
|
||
|
return request({
|
||
|
url: '/material/checkDetails/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|