采购文件编制审核
This commit is contained in:
@@ -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'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user