fix: 修复采购申请列表更新材料功能无响应的问题

- 添加缺失的 handleUpdateFiles 函数,调用 UpdateFilesDialog 弹窗
This commit is contained in:
吴红兵
2026-03-04 12:56:14 +08:00
parent b5f856ecaf
commit 46f10491ef

View File

@@ -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;