采购申请更新

This commit is contained in:
吴红兵
2026-02-27 16:47:07 +08:00
parent a3010e82f2
commit 5a52ccde82
5 changed files with 27 additions and 53 deletions

View File

@@ -235,52 +235,7 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="fileFlowStatus" label="文件审批状态" width="110" align="center">
<template #header>
<el-icon><DocumentChecked /></el-icon>
<span style="margin-left: 4px">文件审批状态</span>
</template>
<template #default="scope">
<template v-if="scope.row.fileFlowInstId">
<el-tooltip content="点击查看审批过程" placement="top">
<el-tag
v-if="scope.row.fileFlowStatus === '-2'"
type="info"
class="status-tag-clickable"
@click="handleShowFileFlowComment(scope.row)">撤回</el-tag>
<el-tag
v-else-if="scope.row.fileFlowStatus === '-1'"
type="warning"
class="status-tag-clickable"
@click="handleShowFileFlowComment(scope.row)">暂存</el-tag>
<el-tag
v-else-if="scope.row.fileFlowStatus === '0'"
type="primary"
class="status-tag-clickable"
@click="handleShowFileFlowComment(scope.row)">运行中</el-tag>
<el-tag
v-else-if="scope.row.fileFlowStatus === '1'"
type="success"
class="status-tag-clickable"
@click="handleShowFileFlowComment(scope.row)">完成</el-tag>
<el-tag
v-else-if="scope.row.fileFlowStatus === '2'"
type="danger"
class="status-tag-clickable"
@click="handleShowFileFlowComment(scope.row)">作废</el-tag>
<el-tag
v-else-if="scope.row.fileFlowStatus === '3'"
type="info"
class="status-tag-clickable"
@click="handleShowFileFlowComment(scope.row)">终止</el-tag>
<span v-else class="status-tag-clickable" @click="handleShowFileFlowComment(scope.row)">-</span>
</el-tooltip>
</template>
<template v-else>
<span style="color: #909399;"></span>
</template>
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="150"> <el-table-column label="操作" align="center" fixed="right" width="150">
<template #default="scope"> <template #default="scope">
<div class="op-cell"> <div class="op-cell">

View File

@@ -6,7 +6,11 @@
<div class="card-header"> <div class="card-header">
<div class="header-actions"> <div class="header-actions">
<el-button type="primary" icon="FolderAdd" @click="openUploadDialog()"> <el-button
type="primary"
icon="FolderAdd"
@click="openUploadDialog()"
v-auth="'purchase_template_add'">
新增模板 新增模板
</el-button> </el-button>
<el-alert type="info" :closable="false" class="mb3 mt-3" show-icon> <el-alert type="info" :closable="false" class="mb3 mt-3" show-icon>
@@ -29,13 +33,28 @@
<el-table-column prop="updateTime" label="更新时间" width="180" show-overflow-tooltip /> <el-table-column prop="updateTime" label="更新时间" width="180" show-overflow-tooltip />
<el-table-column label="操作" width="260" align="center" fixed="right"> <el-table-column label="操作" width="260" align="center" fixed="right">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="primary" link icon="Download" @click="handleDownload(row)"> <el-button
type="primary"
link
icon="Download"
@click="handleDownload(row)"
v-auth="'purchase_template_view'">
下载 下载
</el-button> </el-button>
<el-button type="primary" link icon="UploadFilled" @click="openUploadDialog(row)"> <el-button
type="primary"
link
icon="UploadFilled"
@click="openUploadDialog(row)"
v-auth="'purchase_template_add'">
重新上传 重新上传
</el-button> </el-button>
<el-button type="primary" link icon="Edit" @click="openEditDialog(row)"> <el-button
type="primary"
link
icon="Edit"
@click="openEditDialog(row)"
v-auth="'purchase_template_add'">
编辑 编辑
</el-button> </el-button>
</template> </template>

View File

@@ -46,7 +46,7 @@
<div class="card-header"> <div class="card-header">
<span class="card-title"> <span class="card-title">
<el-icon class="title-icon"><Document /></el-icon> <el-icon class="title-icon"><Document /></el-icon>
业务分管部门及人员 业务分管处室及人员
</span> </span>
<div class="header-actions"> <div class="header-actions">
<el-button <el-button

View File

@@ -46,7 +46,7 @@
<div class="card-header"> <div class="card-header">
<span class="card-title"> <span class="card-title">
<el-icon class="title-icon"><Document /></el-icon> <el-icon class="title-icon"><Document /></el-icon>
采购分管部门及人员 采购分管领导
</span> </span>
<div class="header-actions"> <div class="header-actions">
<el-button <el-button

View File

@@ -39,7 +39,7 @@
<div class="card-header"> <div class="card-header">
<span class="card-title"> <span class="card-title">
<el-icon class="title-icon"><User /></el-icon> <el-icon class="title-icon"><User /></el-icon>
领导党委管理 党委人员
</span> </span>
<div class="header-actions"> <div class="header-actions">
<el-button <el-button