From 533fd7c9528c5089df0f7495e20bb74e87be9125 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=90=B4=E7=BA=A2=E5=85=B5?= <374362909@qq.com>
Date: Thu, 12 Mar 2026 17:14:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD=E7=94=B3?=
=?UTF-8?q?=E8=AF=B7=E9=83=A8=E9=97=A8=E7=AD=9B=E9=80=89=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/purchase/purchasingrequisition.ts | 4 ++--
src/views/purchase/purchasingrequisition/index.vue | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
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) {