<template>
  <div>

    <!-- <el-tabs type="border-card" style="margin: 15px">

      <el-tab-pane label="拆零库存">
        <fifoPanel
          style="margin: -15px"
          :panelType="1"
          :workPlaceCode="workPlaceCode"
        ></fifoPanel>
      </el-tab-pane>

      <el-tab-pane label="整取库存">
        <fifoPanel
          style="margin: -15px"
          :panelType="2"
          :workPlaceCode="workPlaceCode"
        ></fifoPanel>
      </el-tab-pane>

    </el-tabs>-->
    <fifoPanel
      :workPlaceCode="workPlaceCode"
    ></fifoPanel>


  </div>
</template>

<script>

import fifoPanel from "./IoSplitFifoCodePanel";

export default {
  name: "PrescribeTagCode",
  components: {
    fifoPanel
  },
  data() {
    return {
      isLinkDisabled: false,
      workPlaceCode: null,
      userInfo: {
        inv: this.$store.getters.locInvName,
        deptName: this.$store.getters.locDeptName,
        userName: this.$store.getters.name,
        companyName: this.$store.getters.companyName,
      },
    }
  },
  created() {
    if (this.$route.query.workplaceId != null) {
      this.isLinkDisabled = true
      this.workPlaceCode = Number(this.$route.query.workplaceId);
    }
  }
}
</script>

<style scoped>

</style>
