采购联系单

This commit is contained in:
Teo
2025-08-14 16:40:32 +08:00
parent 062fa5b080
commit 459396080b
9 changed files with 260 additions and 125 deletions

View File

@ -42,6 +42,15 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-button
link
type="primary"
v-if="scope.row.status !== 'draft'"
icon="Edit"
@click="handleView(scope.row)"
v-hasPermi="['design:PrelimScheme:edit']"
>查看流程</el-button
>
<el-button
link
type="primary"
@ -198,14 +207,12 @@ const handleDelete = async (row?: PrelimSchemeVO) => {
};
/** 导出按钮操作 */
const handleExport = () => {
proxy?.download(
'design/scheme/export',
{
...queryParams.value
},
`scheme_${new Date().getTime()}.xlsx`
);
const handleView = (row?: PrelimSchemeVO) => {
proxy.$tab.closePage(route);
proxy.$tab.openPage(`/design-management/prelimScheme/indexEdit`, '', {
id: row.id,
type: 'view'
});
};
onMounted(() => {