<!--
  @description:驱动-变更采购方式查看
  @Modifier: 肖文龙
  @routerPath:/bidding/projectDrive/changePurchase/changePurchase-detail
  @date: 2020-12-24
-->
<template>
  <div class="main">
    <!-- 变更采购方式查看 -->
    <changePurchaseComp :exception-id="exceptionId" />
    <!--保存按钮-->
    <div class="but_footer">
      <div class="but_footer-h" />
      <div class="but_footer-but">
        <el-button @click="back">
          返 回
        </el-button>
      </div>
    </div>
  </div>
</template>

<script>
/* 组件*/
import changePurchaseComp from './changePurchaseComp-detail'// 变更采购方式查看
export default {
  name: 'ChangePurchaseDetail',
  components: {
    changePurchaseComp// 变更采购方式查看
  },
  data() {
    return {
      exceptionId: this.$route.query.exceptionId// 变更采购id
    }
  },
  methods: {
    // 返回
    back() {
      this.$router.push({
        path: '/bidding/projectDrive/changePurchase/changePurchase-list',
        query: {
          ...this.$route.query
        }
      })
    }
  }
}
</script>

<style scoped lang="less">
</style>
