电子请购单优化 库存明细页面
This commit is contained in:
@@ -35,6 +35,30 @@ export function updatePurchaseRequisition(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 提交审批
|
||||
export function submitApproval(reqId) {
|
||||
return request({
|
||||
url: '/erp/purchaseRequisition/' + reqId + '/submit',
|
||||
method: 'put'
|
||||
})
|
||||
}
|
||||
|
||||
// 审批通过
|
||||
export function approvePurchase(reqId) {
|
||||
return request({
|
||||
url: '/erp/purchaseRequisition/' + reqId + '/approve',
|
||||
method: 'put'
|
||||
})
|
||||
}
|
||||
|
||||
// 驳回
|
||||
export function rejectPurchase(reqId) {
|
||||
return request({
|
||||
url: '/erp/purchaseRequisition/' + reqId + '/reject',
|
||||
method: 'put'
|
||||
})
|
||||
}
|
||||
|
||||
// 删除请购单
|
||||
export function delPurchaseRequisition(reqIds) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user