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;