licp
2024-10-23 a078c593d7f059fa2d1db2f73100d14e52592ff1
src/components/view/b1-expenses.vue
@@ -84,7 +84,7 @@
        </div>
        <div class="search_thing" style="padding-left: 70px;">总价:{{total}}</div>
        <div class="search_thing" style="padding-left: 70px;">
          <el-button size="small" type="primary" @click="handleDown" :loading="outLoading">导出</el-button>
          <el-button size="small" type="primary" @click="handleDown" :loading="outLoading" v-if="isExport">导出</el-button>
        </div>
      </div>
      <div class="table">
@@ -218,7 +218,8 @@
          current: -1,
          size: -1,
        },
        outLoading:false
        outLoading:false,
        isExport:false
      }
    },
    mounted() {
@@ -332,6 +333,10 @@
          if (power[i].menuMethod == 'addInsOrder') {
            add = true
          }
          //
          if (power[i].menuMethod == 'export') {
            this.isExport = true
          }
        }
        if (!up) {
          this.componentData.do.splice(4, 1)