From 46f10491ef166701d7c9a3f3d51e9a9eef026356 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, 4 Mar 2026 12:56:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=88=97=E8=A1=A8=E6=9B=B4=E6=96=B0=E6=9D=90?= =?UTF-8?q?=E6=96=99=E5=8A=9F=E8=83=BD=E6=97=A0=E5=93=8D=E5=BA=94=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加缺失的 handleUpdateFiles 函数,调用 UpdateFilesDialog 弹窗 --- src/views/purchase/purchasingrequisition/index.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/purchase/purchasingrequisition/index.vue b/src/views/purchase/purchasingrequisition/index.vue index 607bf27..38c2c56 100644 --- a/src/views/purchase/purchasingrequisition/index.vue +++ b/src/views/purchase/purchasingrequisition/index.vue @@ -708,6 +708,16 @@ const handleMoreCommand = (command: string, row: any) => { } }; +/** 更新材料 */ +const handleUpdateFiles = (row: any) => { + const id = row?.id ?? row?.purchaseId; + if (!id) { + useMessage().warning('无法获取采购申请ID'); + return; + } + updateFilesDialogRef.value?.open(id, row.purchaseNo); +}; + /** 下载审批表 */ const handleDownloadApply = (row: any) => { const id = row?.id ?? row?.purchaseId;