采购更新

This commit is contained in:
吴红兵
2026-02-28 16:47:22 +08:00
parent eafa255359
commit f5df8200aa
7 changed files with 406 additions and 287 deletions

View File

@@ -188,6 +188,20 @@ export function getDeptMembers() {
});
}
/**
* 保存采购代表(指定单人或部门多人)
* @param id 采购申请ID
* @param representorTeacherNo 指定采购代表人单人用户ID或工号
* @param representors 部门多人由系统抽取多人用户ID或工号逗号分隔
*/
export function saveRepresentor(id: number, representorTeacherNo?: string, representors?: string) {
return request({
url: '/purchase/purchasingapply/saveRepresentor',
method: 'post',
data: { id, representorTeacherNo, representors }
});
}
/**
* 文件归档按文件类型打包下载该申请单下所有附件的下载地址GET 请求,浏览器直接下载 zip
* @param purchaseId 采购申请ID