修改实施采购
This commit is contained in:
@@ -155,7 +155,11 @@
|
||||
<template #default="scope">
|
||||
<div class="project-name-cell">
|
||||
<!-- 特殊情况标记 -->
|
||||
<el-tooltip v-if="scope.row.isSpecial && String(scope.row.isSpecial) !== '0'" :content="getSpecialTooltip(scope.row.isSpecial)" placement="top">
|
||||
<el-tooltip
|
||||
v-if="scope.row.isSpecial && String(scope.row.isSpecial) !== '0'"
|
||||
:content="getSpecialTooltip(scope.row.isSpecial)"
|
||||
placement="top"
|
||||
>
|
||||
<span :class="['special-badge', `special-${scope.row.isSpecial}`]">{{ getSpecialBadgeText(scope.row.isSpecial) }}</span>
|
||||
</el-tooltip>
|
||||
<!-- 集采标记 -->
|
||||
@@ -214,7 +218,7 @@
|
||||
{{ scope.row.budget ? Number(scope.row.budget).toLocaleString() : '-' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
<el-table-column prop="purchaseMode" label="采购形式" width="160" align="center">
|
||||
<template #header>
|
||||
<el-icon>
|
||||
@@ -1009,7 +1013,9 @@ const getActionMenuItems = (row: any) => {
|
||||
command: 'implement',
|
||||
label: '实施采购',
|
||||
icon: Upload,
|
||||
visible: () => isCompleted && hasAuth('purchase_implement'),
|
||||
// 学校统一采购 或 部门自行采购+委托采购中心采购 时显示
|
||||
visible: () =>
|
||||
isCompleted && hasAuth('purchase_implement') && (row.purchaseMode === '2' || (row.purchaseMode === '1' && row.purchaseChannel === '2')),
|
||||
},
|
||||
{
|
||||
command: 'archive',
|
||||
|
||||
Reference in New Issue
Block a user