diff --git a/src/views/purchase/purchasingrequisition/add.vue b/src/views/purchase/purchasingrequisition/add.vue index e05121c..a894266 100644 --- a/src/views/purchase/purchasingrequisition/add.vue +++ b/src/views/purchase/purchasingrequisition/add.vue @@ -205,7 +205,7 @@ { 'purchaseRequirementTemplate', 'serviceInviteSelect', 'servicePublicSelectAuto', + 'deptSelfMeetingMinutes', // 部门自行采购会议纪要 'purchaseRequirement', 'meetingMinutes', 'feasibilityReport', @@ -2464,6 +2465,7 @@ const handleTempStore = async () => { 'purchaseRequirementTemplate', 'serviceInviteSelect', 'servicePublicSelectAuto', + 'deptSelfMeetingMinutes', // 部门自行采购会议纪要 'purchaseRequirement', 'meetingMinutes', 'feasibilityReport', diff --git a/src/views/purchase/purchasingrequisition/index.vue b/src/views/purchase/purchasingrequisition/index.vue index a69e7be..91bb32d 100644 --- a/src/views/purchase/purchasingrequisition/index.vue +++ b/src/views/purchase/purchasingrequisition/index.vue @@ -185,19 +185,24 @@ - - + + + + + @@ -613,6 +618,7 @@ const handleSubmit = async (row: any) => { /** 操作栏「更多」菜单项配置 */ const getActionMenuItems = (row: any) => { const isTemp = row?.status === '-1'; + const isRunning = row?.status === '0'; const isCompleted = row?.status === '1'; const items = [ { @@ -661,13 +667,13 @@ const getActionMenuItems = (row: any) => { command: 'representor', label: '采购代表', icon: User, - visible: () => isDeptAuditRole.value, + visible: () => isCompleted && isDeptAuditRole.value, }, { command: 'updateFiles', label: '更新材料', icon: RefreshRight, - visible: () => isCompleted && hasAuth('purchase_purchasingapply_edit'), + visible: () => (isCompleted || isRunning) && hasAuth('purchase_purchasingapply_edit'), }, // { // command: 'downloadFileApply', @@ -933,5 +939,39 @@ onMounted(() => { .status-tag-clickable { cursor: pointer; } + +:deep(.el-tag) { + border-radius: 4px; +} + +:deep(.el-tag--success) { + --el-tag-bg-color: #e8f5e9; + --el-tag-border-color: #c8e6c9; + --el-tag-text-color: #2e7d32; +} + +:deep(.el-tag--warning) { + --el-tag-bg-color: #fff8e1; + --el-tag-border-color: #ffecb3; + --el-tag-text-color: #f57c00; +} + +:deep(.el-tag--danger) { + --el-tag-bg-color: #ffebee; + --el-tag-border-color: #ffcdd2; + --el-tag-text-color: #c62828; +} + +:deep(.el-tag--primary) { + --el-tag-bg-color: #e3f2fd; + --el-tag-border-color: #bbdefb; + --el-tag-text-color: #1565c0; +} + +:deep(.el-tag--info) { + --el-tag-bg-color: #f5f5f5; + --el-tag-border-color: #e0e0e0; + --el-tag-text-color: #616161; +}