snow 5 miesięcy temu
rodzic
commit
5cba044559

+ 1 - 0
src/views/purchaseNew/invoiceRelation/index.vue

@@ -245,6 +245,7 @@ function handleRefresh(row){
         <ElButton
           size="small"
           type="primary"
+          v-if="!isSuperUser && hasPermissionWithCode('064')"
           :icon="useRenderIcon('arrow-up-line')"
           @click="() => excelUploadRelationRef.onDisplay()"
           >批量导入票与订单关联数据

+ 1 - 20
src/views/supplyNew/invoiceRelation/index.vue

@@ -227,16 +227,6 @@ function handleRefresh(row){
       @content-select-change="(value) => selected = value"
     >
       <template #content_header>
-        <!-- <ElButton
-          size="small"
-          v-if="hasPermissionWithCode('019')"
-          :icon="useRenderIcon('arrow-down-line')"
-          @click="() => onDownloadTemplate()"
-        >
-            下载认证模板
-        </ElButton> -->
-
-        <!-- v-if="hasPermissionWithCode('033') && !isSuperUser" -->
         <ElButton
           size="small"
           :icon="useRenderIcon('arrow-down-line')"
@@ -244,23 +234,14 @@ function handleRefresh(row){
           >导出发票明细
         </ElButton>
 
-        <!-- v-if="!isSuperUser && hasPermissionWithCode('064')" -->
         <ElButton
           size="small"
           type="primary"
+          v-if="!isSuperUser && hasPermissionWithCode('064')"
           :icon="useRenderIcon('arrow-up-line')"
           @click="() => excelUploadRelationRef.onDisplay()"
           >批量导入票与订单关联数据
         </ElButton>
- 
-        <!-- <ElButton
-          size="small"
-          type="primary"
-          v-if="hasPermissionWithCode('018') && !isSuperUser"
-          :icon="useRenderIcon('arrow-up-line')"
-          @click="() => excelUploadRef.onDisplay()"
-          >批量导入认证结果
-        </ElButton> -->
       </template>