Merge remote-tracking branch 'origin/0.8.X' into 0.8.X
This commit is contained in:
@@ -45,18 +45,20 @@ export function submitApproval(reqId, firstApproverId, firstApproverName) {
|
||||
}
|
||||
|
||||
// 审批通过
|
||||
export function approvePurchase(reqId) {
|
||||
export function approvePurchase(reqId, approvalOpinion) {
|
||||
return request({
|
||||
url: '/erp/purchaseRequisition/' + reqId + '/approve',
|
||||
method: 'put'
|
||||
method: 'put',
|
||||
params: { approvalOpinion }
|
||||
})
|
||||
}
|
||||
|
||||
// 驳回
|
||||
export function rejectPurchase(reqId) {
|
||||
export function rejectPurchase(reqId, approvalOpinion) {
|
||||
return request({
|
||||
url: '/erp/purchaseRequisition/' + reqId + '/reject',
|
||||
method: 'put'
|
||||
method: 'put',
|
||||
params: { approvalOpinion }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user