出货检验单头

This commit is contained in:
JinLu.Yin
2022-08-31 23:06:06 +08:00
parent eeea812cfe
commit 5906392b2b
2 changed files with 665 additions and 0 deletions

44
src/api/mes/qc/oqc.js Normal file
View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询出货检验单列表
export function listOqc(query) {
return request({
url: '/mes/qc/oqc/list',
method: 'get',
params: query
})
}
// 查询出货检验单详细
export function getOqc(oqcId) {
return request({
url: '/mes/qc/oqc/' + oqcId,
method: 'get'
})
}
// 新增出货检验单
export function addOqc(data) {
return request({
url: '/mes/qc/oqc',
method: 'post',
data: data
})
}
// 修改出货检验单
export function updateOqc(data) {
return request({
url: '/mes/qc/oqc',
method: 'put',
data: data
})
}
// 删除出货检验单
export function delOqc(oqcId) {
return request({
url: '/mes/qc/oqc/' + oqcId,
method: 'delete'
})
}