From e932bd8963f4bbdaaaca79fc5a1079f5f6df76c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E7=BA=A2=E5=85=B5?= <374362909@qq.com> Date: Wed, 25 Feb 2026 13:34:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=90=86=E6=9C=BA=E6=9E=84=E6=B1=87?= =?UTF-8?q?=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/finance/purchaseagent.ts | 16 +++ src/views/finance/purchaseagent/index.vue | 152 +++++++++++++++++++++- 2 files changed, 165 insertions(+), 3 deletions(-) diff --git a/src/api/finance/purchaseagent.ts b/src/api/finance/purchaseagent.ts index 6f4ec98..cbfdd50 100644 --- a/src/api/finance/purchaseagent.ts +++ b/src/api/finance/purchaseagent.ts @@ -76,3 +76,19 @@ export function delObj(id: string | number) { }); } +/** + * 代理汇总(按条件统计各代理的项目数、预算金额、合同金额) + */ +export function getAgentSummary(params?: { + deptCode?: string + planStartDate?: string + planEndDate?: string + hasAcceptEvaluation?: string +}) { + return request({ + url: '/purchase/purchasingagent/summary', + method: 'get', + params + }); +} + diff --git a/src/views/finance/purchaseagent/index.vue b/src/views/finance/purchaseagent/index.vue index ae923a2..a78f6a7 100644 --- a/src/views/finance/purchaseagent/index.vue +++ b/src/views/finance/purchaseagent/index.vue @@ -39,8 +39,8 @@ icon="Files" link type="primary" - - > + @click="openSummaryDialog" + > 代理汇总 + + + + + + + + + + + + + + + + + + + + + + + 查询 + 清空 + + + + + + + + + + + + + +