<template>
  <el-tabs class="app-container" v-model="activeTab">
    <el-tab-pane label="待收卷" name="second">
      <BasePage :qrcode="qrcode" :querys="querys2" :labelType="labelType" :hideWarehouseQuery="hideWarehouseQuery"
        :hideType="hideType" />
    </el-tab-pane>
    <el-tab-pane label="已收卷" name="first">
      <BasePage :qrcode="qrcode" :querys="querys" :labelType="labelType" :hideWarehouseQuery="hideWarehouseQuery"
        :hideType="hideType" />
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import BasePage from './panels/base.vue';

export default {
  components: {
    BasePage
  },
  data() {
    return {
      qrcode: false,
      activeTab: 'second',
      querys: {
        dataType: 1,
        status: 0,
        warehouseIds: '2019583656787259393,2019583325311414274,2019583137616310273,2019583429955104769', // 技术部逻辑库
        // materialType: '废品'
      },
      querys2: {
        dataType: 1,
        status: 0,
        nextWarehouseIds: '2019583656787259393,2019583325311414274,2019583137616310273,2019583429955104769', // 技术部逻辑库
        // materialType: '废品'
      },
      hideWarehouseQuery: true,
      showAbnormal: true,
      labelType: '2',
      hideType: false,
    }
  }
}
</script>