<!--
  @description: 异议回复函不予受理
  @Modifier: haoFx
  @routerPath: /objection/objectionTabs/objectionNotAcceptanceAdd
  @date: 2020/3/3-16:10
-->
<template>
  <div class="p0-16">
    <div class="page-title">
      异议申请函
    </div>
    <!--异议申请函详情-->
    <objection-application-Letter-detail @objectionDetail="objectionDetail" />
    <div class="page-title">
      异议受理
    </div>
    <table class="tableData">
      <tr class="singleRow">
        <td><i class="red-star">*</i>不予受理的事实根据和法律依据</td>
        <td colspan="3">
          <el-input v-model="form.treatmentBasis" type="textarea" />
        </td>
      </tr>
      <tr>
        <td>审批单</td>
        <td colspan="3">
          <div class="clearfix">
            <el-button class="fl" @click="exportAuthorizationFile">
              下载审批单模板
            </el-button>
            <upload
              ref="upload"
              :data="acceptAuthorizationFileupLoadData"
              :auto-delete="true"
              :auto-upload="true"
              title=""
              file-ref="fileRef"
              class="fl"
            />
          </div>
        </td>
      </tr>
    </table>
    <!--发送异议回复函-->
    <div class="but_footer">
      <div class="but_footer-h" />
      <div class="but_footer-but">
        <el-button @click="saveObjection('00')">
          保存
        </el-button>
        <el-button type="primary" @click="saveObjection('01')">
          生成异议不予受理通知函
        </el-button>
      </div>
    </div>
  </div>
</template>

<script>
/* 组件*/
import objectionApplicationLetterDetail from './objectionApplicationLetter-detail'
import upload from '@comp/common/updownload/upload'
/* 混入公共方法*/
import { objectionAcceptanceMixin } from '../mixins/objectionAcceptanceMixin'
export default {
  name: 'ObjectionNotAcceptanceAdd',
  components: {
    upload, // 文件上传
    'objection-application-Letter-detail': objectionApplicationLetterDetail
  },
  mixins: [objectionAcceptanceMixin],
  data() {
    return {
      form: {
        receiptStatus: '02' //  接受状态 01:受理 02:不受理
      }
    }
  }
}
</script>
<style lang="less" scoped>
  /deep/.tableData{
    .file-list{
      .fileBtn{
        margin-bottom: 0;
      }
    }
  }
</style>
