履约验收

This commit is contained in:
吴红兵
2026-02-25 13:11:31 +08:00
parent 325ee491a9
commit 25e0772548
3 changed files with 164 additions and 1 deletions

View File

@@ -76,6 +76,20 @@ export function submitObj(obj: any) {
});
}
/**
* 分配招标代理(指定或随机),仅学校统一采购或部门自行采购且委托采购中心采购时可用
* @param applyId 采购申请ID
* @param mode random | designated
* @param agentId 指定模式时的代理ID
*/
export function assignAgent(applyId: number | string, mode: 'random' | 'designated', agentId?: string) {
return request({
url: '/purchase/purchasingapply/assign-agent',
method: 'post',
data: { id: Number(applyId), mode, agentId: agentId || undefined }
});
}
/**
* 修改采购申请
* @param obj 对象数据