<template>
  <!-- 计量报表 》》 采购汇总报表 -->
  <div style="height: 100%">
    <iframe
      style="padding-bottom: 20px"
      frameborder="0"
      height="100%"
      width="100%;"
      src="/webroot/decision/view/report?viewlet=/lims/jl/purchaseDataGroupQuery.cpt"
    ></iframe>
  </div>
</template>

<script>
export default {
  mounted () {
    this.wrapHeight = window.innerHeight - 85 + 'px'
    console.log(this.wrapHeight)
    window.onresize = () => {
      this.wrapHeight = window.innerHeight - 85 + 'px'
    }
  },
  data () {
    return {
      wrapHeight: '500px'
    }
  }
}
</script>

<style>
</style>