<!--
  @description: 打包信息
  @Modifier: haofengxian
  @routerPath:
  @date: 2021-3-4-11:48
-->
<template>
  <el-dialog
    :close-on-click-modal="true"
    :visible.sync="dialogVisible"
    append-to-body
    title="打包信息"
    width="1200px"
    custom-class="el-dialog__body-p8 el-dialog_table"
  >
    <purPlanBaleFlowDetail v-if="tenderId" :key="tenderId" :tender-id="tenderId" :line-item-list="lineItemList" />
    <!--    <flowAuditList class="p0-16" :biz-id="tenderId" flow-type="00" />-->
  </el-dialog>
</template>

<script>
import purPlanBaleFlowDetail from '@views/procurement/procurementPlan/purPlanBale/purPlanBaleWork/purPlanBaleFlow-detail.vue'
import flowAuditList from '@views/work/process/flowAudit-list'

export default {
  name: 'PurPlanBaleDetailDialog',
  components: {
    purPlanBaleFlowDetail,
    flowAuditList
  },
  props: {
    lineItemList: {
      type: Array,
      default: () => []
    }
  },
  data() {
    return {
      dialogVisible: false, // 弹框是否打开
      tenderId: ''
    }
  },
  methods: {
    // 打开弹框
    openDialogPurPlanBaleDetail(tenderId) {
      this.tenderId = tenderId
      this.dialogVisible = true
    }
  }
}
</script>

<style scoped>

</style>
