From efc5dda78ad0ca9983cc9f9409fe3a4273ae1843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E7=BA=A2=E5=85=B5?= <374362909@qq.com> Date: Sun, 1 Mar 2026 16:00:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=87=87=E8=B4=AD=E7=94=B3?= =?UTF-8?q?=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/finance/purchasingrequisition.ts | 25 ++ .../purchasingrequisition/implement.vue | 357 +++++++++++++++--- 2 files changed, 324 insertions(+), 58 deletions(-) diff --git a/src/api/finance/purchasingrequisition.ts b/src/api/finance/purchasingrequisition.ts index a9680f7..90c41a2 100644 --- a/src/api/finance/purchasingrequisition.ts +++ b/src/api/finance/purchasingrequisition.ts @@ -102,6 +102,31 @@ export function sendToAgent(applyId: number | string) { }); } +/** + * 撤回招标代理:撤回已发送的招标代理 + * @param applyId 采购申请ID + */ +export function revokeAgent(applyId: number | string) { + return request({ + url: '/purchase/purchasingapply/revokeAgent', + method: 'post', + data: { id: Number(applyId) } + }); +} + +/** + * 保存实施采购方式(分步骤实施采购-第一步) + * @param id 采购申请ID + * @param implementType 实施采购方式:1-自行组织采购,2-委托代理采购 + */ +export function saveImplementType(id: number | string, implementType: string) { + return request({ + url: '/purchase/purchasingapply/save-implement-type', + method: 'post', + data: { id: Number(id), implementType } + }); +} + /** * 修改采购申请 * @param obj 对象数据 diff --git a/src/views/finance/purchasingrequisition/implement.vue b/src/views/finance/purchasingrequisition/implement.vue index c798e2c..0c3df90 100644 --- a/src/views/finance/purchasingrequisition/implement.vue +++ b/src/views/finance/purchasingrequisition/implement.vue @@ -1,52 +1,92 @@ @@ -54,7 +94,7 @@