jwyu 5 tháng trước cách đây
mục cha
commit
bd23a99c91

+ 12 - 1
src/views/datasheet_manage/balanceSheetEdit.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="balance-sheet-detail-wrap">
+    <noDataAuth class="no-auth-box" v-if="!excelInfo.HaveOperaAuth&&isView" :text="$t('MsgPrompt.no_sheet_auth')"/>
     <div class="wrap-top">
       <ul class="form-ul">
         <li>
@@ -126,7 +127,7 @@
             class="editsty"
             @click="itemHandle(excelInfo, 'download')"
             style="margin-right: 10px"
-            v-if="isSheetBtnShow('download')"
+            v-if="isSheetBtnShow('download')&&excelInfo.HaveOperaAuth"
             >{{ $t("ETable.Btn.download_btn") }}</span
           >
           <span
@@ -599,6 +600,16 @@ export default {
 .balance-sheet-detail-wrap {
   min-width: 1070px;
   min-height: calc(100vh - 120px);
+  position: relative;
+  .no-auth-box{
+    position: absolute;
+    z-index: 99;
+    left: 0;
+    right: 0;
+    bottom: 0;
+    top: 0;
+    background-color: #F2F6FA;
+  }
   .wrap-top {
     display: flex;
     justify-content: space-between;

+ 1 - 1
src/views/datasheet_manage/components/BalanceSheetList.vue

@@ -51,7 +51,7 @@
             class="editsty"
             @click="itemHandle(row, 'download')"
             style="margin-right: 10px"
-            v-if="$parent.isSheetBtnShow('download')"
+            v-if="$parent.isSheetBtnShow('download')&&row.HaveOperaAuth"
             >{{ $t("ETable.Btn.download_btn") }}</span
           >
           <span