采购文件编制审核

This commit is contained in:
吴红兵
2026-02-08 23:30:23 +08:00
parent 9397da2ba3
commit 48f07afc40
6 changed files with 555 additions and 7 deletions

View File

@@ -124,3 +124,53 @@ export function getContracts(params?: any) {
});
}
/**
* 实施采购:上传采购文件并关联到申请单(可同时保存采购代表人方式与人员)
* @param id 采购申请ID
* @param fileIds 已上传的采购文件ID列表fileType=130
* @param implementType 实施采购方式 1:自行组织采购 2:委托代理采购
* @param representorTeacherNo 需求部门初审-指定采购代表人(单人)
* @param representors 需求部门初审-部门多人逗号分隔
*/
export function implementApply(
id: number,
fileIds: string[],
implementType?: string,
representorTeacherNo?: string,
representors?: string
) {
return request({
url: '/purchase/purchasingapply/implement',
method: 'get',
params: { id, fileIds, implementType, representorTeacherNo, representors }
});
}
/**
* 发起采购文件审批流程(需已实施采购并上传采购文件)
* @param id 采购申请ID
* @param representorTeacherNo 需求部门初审-指定采购代表人单人用户ID或工号
* @param representors 需求部门初审-部门多人由系统抽取多人用户ID或工号逗号分隔
*/
export function startFileFlow(
id: number,
representorTeacherNo?: string,
representors?: string
) {
return request({
url: '/purchase/purchasingapply/startFileFlow',
method: 'post',
data: { id, representorTeacherNo, representors }
});
}
/**
* 获取部门下人员(用于选采购代表人)
*/
export function getDeptMembers() {
return request({
url: '/purchase/purchasingapply/getDeptMembers',
method: 'get'
});
}