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
937 B
JavaScript

import request from '@/utils/request'
// 查询收料通知单列表
export function listPurchaseReceiveBill(query) {
return request({
url: '/mes/purchaseReceiveBill/list',
method: 'get',
params: query
})
}
// 查询收料通知单详细
export function getPurchaseReceiveBill(receiveBillId) {
return request({
url: '/mes/purchaseReceiveBill/' + receiveBillId,
method: 'get'
})
}
// 新增收料通知单
export function addPurchaseReceiveBill(data) {
return request({
url: '/mes/purchaseReceiveBill',
method: 'post',
data: data
})
}
// 修改收料通知单
export function updatePurchaseReceiveBill(data) {
return request({
url: '/mes/purchaseReceiveBill',
method: 'put',
data: data
})
}
// 删除收料通知单
export function delPurchaseReceiveBill(receiveBillId) {
return request({
url: '/mes/purchaseReceiveBill/' + receiveBillId,
method: 'delete'
})
}