diff --git a/src/api/purchase/purchasingrequisition.ts b/src/api/purchase/purchasingrequisition.ts index d2ebaf1..d35e74c 100644 --- a/src/api/purchase/purchasingrequisition.ts +++ b/src/api/purchase/purchasingrequisition.ts @@ -274,7 +274,7 @@ export function getArchiveDownloadUrl(purchaseId: string | number) { } /** - * 下载审批表:导出采购审批表 Word 文档(apply.docx 模板,仅占位符替换) + * 下载审批表:导出采购审批表 PDF 文档(apply.docx 模板) * @param id 采购申请ID */ export function getApplyTemplateDownloadUrl(id: string | number) { @@ -282,7 +282,7 @@ export function getApplyTemplateDownloadUrl(id: string | number) { } /** - * 下载文件审批表:导出招标文件审批表 Word 文档(fileapply.docx 模板) + * 下载文件审批表:导出招标文件审批表 PDF 文档(fileapply.docx 模板) * @param id 采购申请ID */ export function getFileApplyTemplateDownloadUrl(id: string | number) { diff --git a/src/views/purchase/purchasingrequisition/index.vue b/src/views/purchase/purchasingrequisition/index.vue index 497e932..1aa78b6 100644 --- a/src/views/purchase/purchasingrequisition/index.vue +++ b/src/views/purchase/purchasingrequisition/index.vue @@ -78,7 +78,7 @@ - + @@ -1352,8 +1352,8 @@ const loadSecondDeptList = async () => { const res = await getDeptListByLevelTwo(); if (res.data && Array.isArray(res.data)) { secondDeptList.value = res.data.map((item: any) => ({ - id: item.id || item.deptId, - name: item.name || item.deptName, + deptCode: item.deptCode, + deptName: item.deptName, })); } } catch (err) {