You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
842 B
JavaScript
45 lines
842 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询库存检验任务列表
|
|
export function listQcInventory(query) {
|
|
return request({
|
|
url: '/quality/qcInventory/list',
|
|
method: 'get',
|
|
params: query
|
|
});
|
|
}
|
|
|
|
// 查询库存检验任务详细
|
|
export function getQcInventory(recordId) {
|
|
return request({
|
|
url: '/quality/qcInventory/' + recordId,
|
|
method: 'get'
|
|
});
|
|
}
|
|
|
|
// 新增库存检验任务
|
|
export function addQcInventory(data) {
|
|
return request({
|
|
url: '/quality/qcInventory',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
}
|
|
|
|
// 修改库存检验任务
|
|
export function updateQcInventory(data) {
|
|
return request({
|
|
url: '/quality/qcInventory',
|
|
method: 'put',
|
|
data: data
|
|
});
|
|
}
|
|
|
|
// 删除库存检验任务
|
|
export function delQcInventory(recordId) {
|
|
return request({
|
|
url: '/quality/qcInventory/' + recordId,
|
|
method: 'delete'
|
|
});
|
|
}
|