Browse Source

服务申请单/服务申请管理,附件删除功能权限调整

qymljy 8 months ago
parent
commit
21d28d5edd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/attachment_list/index.vue

+ 1 - 1
src/components/attachment_list/index.vue

@@ -64,7 +64,7 @@
             >{{$t(`编 辑`)}}</el-button>
             <el-popconfirm :title="$t(`确定删除当前附件吗`)+'?'" :confirm-button-text="$t('确定')" :cancel-button-text="$t('取消')" @confirm="deleteAttachment(scope.row)">
               <el-button
-                :disabled="onlyread || status === '已失败' || status === '已结案' || scope.row.usetype === 'undelete' || attachmentDisabled || disabled"
+                :disabled="onlyread || status === '已失败' || status === '已结案' || scope.row.usetype === 'undelete' || attachmentDisabled || disabled || ($route.path == '/serveBillDetail' && status != '新建') || ($route.path == '/serveBillMagDetail' && status != '新建')"
                 v-if="!onlyread && status !== '已失败' && status !== '已结案' && scope.row.usetype !== 'undelete' && !attachmentDisabled"
                 slot="reference"
                 size="small"