更新采购申请文件模版下载
This commit is contained in:
@@ -20,7 +20,9 @@
|
||||
<el-descriptions :column="1" border size="small">
|
||||
<el-descriptions-item label="采购编号">{{ applyData.purchaseNo || '-' }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目名称">{{ applyData.projectName || '-' }}</el-descriptions-item>
|
||||
<el-descriptions-item label="采购金额">{{ applyData.budget ? Number(applyData.budget).toLocaleString() + ' 元' : '-' }}</el-descriptions-item>
|
||||
<el-descriptions-item label="采购金额">{{
|
||||
applyData.budget ? Number(applyData.budget).toLocaleString() + ' 元' : '-'
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="招标代理">{{ applyData.agentName || '-' }}</el-descriptions-item>
|
||||
<el-descriptions-item label="审批状态">
|
||||
<el-tag v-if="applyData.fileFlowStatus === '0'" type="primary">运行中</el-tag>
|
||||
@@ -38,8 +40,8 @@
|
||||
<span class="card-title">招标文件</span>
|
||||
</div>
|
||||
</template>
|
||||
<el-table :data="docList" border stripe size="small" v-if="docList.length > 0" max-height="300">
|
||||
<!-- <el-table-column type="index" label="序号" width="50" />-->
|
||||
<el-table :data="docList" border stripe size="small" v-if="docList.length > 0" max-height="300">
|
||||
<!-- <el-table-column type="index" label="序号" width="50" />-->
|
||||
<el-table-column prop="version" label="版本" width="60" align="center">
|
||||
<template #default="scope">
|
||||
<el-tag v-if="scope.row.isCurrent === '1'" type="success" size="small">{{ scope.row.version || '-' }}</el-tag>
|
||||
@@ -151,7 +153,7 @@ const open = async (id: string, row?: any) => {
|
||||
const docsRes = await getDocList(applyData.value.id);
|
||||
const docs = docsRes?.data || [];
|
||||
if (Array.isArray(docs) && docs.length > 0) {
|
||||
docList.value = docs.map((d: any) => ({
|
||||
docList.value = docs.map((d: any) => ({
|
||||
id: d.id || d.fileId,
|
||||
fileName: d.fileName || d.fileTitle || '招标文件',
|
||||
fileUrl: d.fileUrl,
|
||||
@@ -265,4 +267,4 @@ defineExpose({
|
||||
:deep(.el-card__body) {
|
||||
padding: 12px 16px;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user