fix: 修复采购申请列表更新材料功能无响应的问题
- 添加缺失的 handleUpdateFiles 函数,调用 UpdateFilesDialog 弹窗
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user