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
838 B
JavaScript
45 lines
838 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询白坯原材料采购单列表
|
|
export function listBpprocure(query) {
|
|
return request({
|
|
url: '/wms/bpprocure/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询白坯原材料采购单详细
|
|
export function getBpprocure(ID) {
|
|
return request({
|
|
url: '/wms/bpprocure/' + ID,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增白坯原材料采购单
|
|
export function addBpprocure(data) {
|
|
return request({
|
|
url: '/wms/bpprocure',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改白坯原材料采购单
|
|
export function updateBpprocure(data) {
|
|
return request({
|
|
url: '/wms/bpprocure',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除白坯原材料采购单
|
|
export function delBpprocure(ID) {
|
|
return request({
|
|
url: '/wms/bpprocure/' + ID,
|
|
method: 'delete'
|
|
})
|
|
}
|