feat: 借库审批支持手动完结——已通过(status=1)单可强制完结,库管/主管/超管可见
This commit is contained in:
@ -174,6 +174,14 @@ export function approveBorrowRequest(id: number, data: { action: 'approve' | 're
|
||||
})
|
||||
}
|
||||
|
||||
// 手动完结已通过的借库审批单(status 1 → 3)
|
||||
export function closeBorrowRequest(id: number) {
|
||||
return request({
|
||||
url: `/v1/transactions/borrow/request/${id}/close`,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 借库选单专用库存列表(独立权限 op_borrow_apply)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user