<style>
  .CapitalDetail .Ca_Span{
    display:block;
    padding-left: 10px;
    font-size:14px;
    margin-bottom:20px;
    color:#333333;
    border-left:3px solid #E95252;
  }
  .CapitalDetail .Ca_leftOrder{
    width:100%;
    height:auto;
    padding:15px 0;
    background-color: #fff;
  }
  .CapitalDetail .Ca_title{
    margin:auto;
    font-size:16px;
    margin-top:20px;
    color:#333333;
    text-align: center;
  }
  .CapitalDetail .Ca_t2{
    width:100%;
    font-size:14px;
    text-align: center;
    margin-bottom: -8px;
  }
  .CapitalDetail .Ca_line{
    width:110px;
    height:3px;
    margin:8px auto 10px;
    border-top:1px solid #777373;
    border-bottom:2px solid;
    /* border-bottom:1px solid #333333; */
  }
  .CapitalDetail .collection_Order{
    width:100%;
    height:36px;
    font-size:12px;
    line-height: 35px;
    padding:0 20px;
    border-bottom:1px dashed #BFBFBF;
  }
  .CapitalDetail .Ca_comColor{
    color:#BE525D;
  }
  .CapitalDetail .Ca_comSize{
    font-size: 14px;
  }
  .CapitalDetail .Co_oderRight{
    float:right;
  }
  .CapitalDetail .Ca_diaobo{
    width:100%;
    height:35px;
    font-size:12px;
    line-height: 35px;
    padding:0 20px;
  }
  .collection_Table,.pay_Table{
    width:96%;
    margin:auto;
    padding:0 20px;
    font-size:14px;
  }
  .collection_Table th{
    font-size:12px;
    color:#BE525D;
  }
  .collection_Table td,.collection_Table th{
    border: 1px solid #BE525D;
    text-align: center;
    height:44px;
    padding:0 5px;
  }
  .pay_Table th{
    font-size:12px;
    color:#1273BC;
  }
  .pay_Table td,.pay_Table th{
    border: 1px solid #1273BC;
    text-align: center;
    height:44px;
    padding:0 5px;
  }
  .CapitalDetail .Ca_comLinediv{
    width:96%;
    min-height:80px;
    margin:auto;
    font-size:12px;
    border-bottom: 1px dashed #BFBFBF;
  }
  .CapitalDetail .Ca_comBlueColor{
    color:#1273BC;
  }
  .CapitalDetail textarea{
    border:none;
    border-bottom:1px solid #666666;
  }
  .CapitalDetail .Ca_payBtn{
    color:#1273BC;
    border-color:#1273BC;
  }
  .CapitalDetail .Ca_cashier{
    width:25%;
    float:left;
  }
  .CapitalDetail .Ca_popDiv{
    width:100%;
    height:52px;
    line-height: 52px;
    padding:0 20px;
    font-size:12px;
    display: flex;
    justify-content: space-between;
  }
  .Ca_popDiv p{
    display: inline-block;
  }
  .Ca_popDiv p:last-child{
    float:right;
    margin-right:0;
  }
  .CapitalDetail .Cafujian{
    width:100%;
    min-height: 50px;
    margin-top:20px;
  }
  .Cafujian>div{
    float: left;
    width: 138px;
    height: 92px;
    border: 1px dashed rgba(210,210,210,1);
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 10px;
    padding: 5px;
    margin-right: 10px;
    position: relative;
  }
  .Cafujian>div .icon-guanbi1{
    display: inline-block;
    margin-left: 15px;
    color:#fff;
    position: absolute;
    right: -6px;
    top: -9px;
    background-color: #f56c6c;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    text-align: center;
    line-height: 20px;
  }
  .Cafujian>div .icon-guanbi1:hover{
    color:#c94052;
    font-size:12px;
  }
  .Cafujian>div img{
    width:100%;
    height:100%;
  }
  .CapitalDetail .Ca_rightFile{
    float:left;
    width:300px;
    /* height:500px; */
    border:1px solid red;
  }
  .CapitalDetail .Ca_description{
    width:600px;
    min-height: 30px;
    display: inline-block;
    margin-top:30px;
    font-size: 14px;
  }
  .CapitalDetail .Ca_remarkSpan{
    display: inline-block;
    height: 30px;
    vertical-align: top;
    margin-top: 30px;
  }
  .Cafujian .icon-excel{
    text-align: center;
    font-size: 38px;
    color: green;
    line-height: 75px;
  }
  .CapitalDetail .Ca_AccountInfo{
    width:100%;
    padding:0 20px;
    text-align:left;
  }
  .w830px{width: 830px;padding: 0;margin: 0;}
  ._tit2{
    border:none;
    background-color: white;
    border: 1px solid #DDDDDD;
  }
  ._tit._tit2>p{
    padding-left: 10px;
    font-size: 14px;
    color: #000;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
  }
  ._tit._tit2 ._rotate{
    transform:rotate(180deg);
  }
  ._tit._tit2 ._btn{
    font-size: 12px;
    color: #333333;
    cursor: pointer;
  }
  ._tit._tit2 ._btn:hover{
    color: #E95252;
  }
  ._tit._tit2 ._btn .iconfont{
    font-size: 12px;
    display: inline-block;
    margin-left: 10px;
  }
  ._tit._tit2 ._text{
    border-left: 3px solid #e95252;
    padding-left: 10px;
  }
  .w600px{
    width: 600px;
    padding: 15px;
    margin: 0 auto;
  }
  .CapitalDetail ._conten,.CapitalDetail ._process{margin-top: 20px;width: 830px;}
  ._process{background-color: white;padding: 20px 15px;position: relative;}
  ._process_box{border-top:  1px dashed #BFBFBF;padding-top: 30px;padding-bottom: 40px;}
  ._pb_son{position: relative;padding-left: 75px;min-height: 100px;padding-bottom: 30px}
  ._left_radius{width: 40px;height: 40px;border-radius: 50%;text-align: center;line-height: 40px;background-color: #2BBB7E;color: white;font-size: 12px;position: absolute;left: 15px;z-index: 2;}
  ._left_radius_err{background-color: #E95252 !important;}
  ._left_radius_sus{background-color: #1273BC !important;}
  ._pb_son::after{content: '';width: 4px;height: 100%;background-color: #2BBB7E;display: inline-block;position: absolute;clear: both;left: 33px;top: 0;z-index: 1}
  ._pb_son._none_after::after{content: '';display: none}
  ._pb_son._bohui_after::after{background-color: #E95252 !important;display: inline-block}
  ._status_color_f{background-color: #8B8B8B !important}
  ._right_content ._name ._n{font-size: 14px;color: #333333;font-weight: bold;}
  ._right_content ._name ._m{color: #FFFFFF;font-size: 12px;display: inline-block;padding: 2px 5px;background-color: #E95252;margin-left: 5px;border-radius: 4px;}
  ._right_content ._name ._sm{color: #FFFFFF;font-size: 12px;display: inline-block;padding: 2px 5px;background-color: #FF9600;margin-left: 5px;border-radius: 4px;font-weight: 100;}
  ._right_content ._name ._sn{color: #FFFFFF;font-size: 12px;display: inline-block;padding: 2px 5px;background-color: #2BBB7E;margin-left: 5px;border-radius: 4px;}
  ._right_content ._time,._time{font-size: 12px;color: #666666;padding-top: 5px;}
  ._right_content ._pp_info,._textarea{border-radius: 4px; border: 1px solid #E5E5E5;background:rgba(245,245,245,1);font-size: 12px;color: #333333;padding: 12px 14px;margin-top: 13px;position: relative;}
  ._right_content ._pp_info:before{display:block;content:'';border-width:8px 8px 8px 8px;border-style:solid;border-color: transparent transparent #dedede transparent;position:absolute;left:10px;top:-16px;}
  ._mgt_15{margin-top: 15px;}
  ._more ._right_content .iconfont{color: #AAAAAA}
  ._more ._right_content ._name ._n{font-size: 14px;color: #333333;font-weight: bold;padding-left: 3px;}
  ._info_img ul{padding: 10px 0}
  ._info_img ul li{float: left;position: relative;cursor: pointer}
  ._info_img ul li:hover ._see_img{opacity: 1;}
  ._info_img ul li img{width:88px;height:59px;}
  ._see_img{position: absolute;top: 0;width: 100%;height: 59px;padding-top: 16px;line-height: 34px;text-align: center;background-color: rgba(2, 2, 2, 0.3);display: inherit;opacity: 0;transition: all linear .5s}
  ._see_img i.iconfont{display: inline-block;width: 32px;height: 32px;border-radius: 50%;color: #FFFFFF !important;background-color: rgba(255, 255, 255, 0.5);}
  ._show_img_box{position: fixed; background: rgba(0,0,0,.6); left: 0; top:0;  width: 100%; height: 100%; z-index: 999; text-align: center;overflow: auto;}
  ._textarea{width: 690px;height: 50px;background-color: white}
  ._upload_box ul li{float: left;height:82px;width:143px;padding:20px 20px 20px 0;text-align: center;position: relative;cursor: pointer;margin-right: 10px;}
  ._upload_box ul li img{height:82px;width:143px;}
  ._upload_box ul li:hover ._delete_img{opacity: 1;}
  ._delete_img{position: absolute;top: 20px;height:82px;width:143px;line-height: 34px;text-align: center;background-color: rgba(2, 2, 2, 0.6);display: inherit;opacity: 0;transition: all linear .5s}
  ._delete_img i.iconfont{display: inline-block;width: 32px;height: 32px;border-radius: 50%;color: #E95252 !important;background-color:rgba(251, 251, 251, 0.9);   margin-top: 26px;}
  ._radio_lsit{padding-top: 15px}
  ._upload_tips{font-size: 12px;position: absolute;top: 66%;width: 100%;left: 0;text-align: center;color: #949494;}
  ._log_t{padding: 10px;}
  ._time_n{float: right;}
  .myCapital{
    border:1px solid #333;
  }

</style>
<template>
  <div class="CapitalDetail">
    <div class="11" v-show="disabled">
      <div v-for="(val,index) in loopNumN" :key="index" style="margin-bottom:20px">
        <div class="myCapital">
          <div>
            <div class="Ca_title">{{dataList.CompanyName}}</div>
            <div class="Ca_t2">{{dataList.FinanceName}}
              <span v-if="index===0">{{$t('fnc.yewulian')}}</span>
              <span v-if="index===1">{{$t('fnc.kuaijilian')}}</span>
            </div>
            <div class="clearfix collection_Order">
              <div>
                <span>{{$t('hotel.hotel_SerialNumber')}}：</span><span class="Ca_comSize">{{dataList.FrID}}</span>
                <div class="Co_oderRight">
                  <span>{{$t('fnc.zhibiao')}}：</span><span class="Ca_comSize">{{dataList.CreateDate}}</span>
                </div>
              </div>
            </div>
            <div v-for="item in dataList.SBankList">
              <div class="clearfix Ca_diaobo">
                <div class="Co_oderRight" style="margin:10px 0;">
                  <span class="Ca_comColor">{{$t('fnc.dbriqi')}}：</span><span class="Ca_comSize">{{item.AllotDate}}</span>
                </div>
              </div>
              <table class="collection_Table" style="border-collapse: collapse;">
                <tr>
                  <th width="100">{{$t('fnc.skfangshi')}}</th>
                  <th width="300">{{$t('fnc.acc')}}</th>
                  <th width="110">{{$t('fnc.jine')}}</th>
                  <th width="90">{{$t('hotel.hotel_Currency')}}</th>
                  <th width="85">{{$t('hotel.hotel_CurrentRate')}}</th>
                  <th>汇兑收益</th>
                  <th>{{$t('fnc.bwbjine')}}</th>


                </tr>
                <tr>
                  <td>{{item.TypeName}}</td>
                  <td>
                    <div class="Ca_AccountInfo">{{item.Alias}}-{{item.AccountType}}-{{item.BankNo}}</div>
                  </td>
                  <td>{{item.OriginalMoney}}</td>
                  <td>{{item.CurrencyName}}</td>
                  <td>{{item.Rate}}</td>
                  <td>
                    <span v-if="item.IsExChange==1">是</span>
                    <span v-if="item.IsExChange==0">否</span>
                  </td>
                  <td>{{item.Money}}</td>

                </tr>
              </table>
              <div class="clearfix Ca_comLinediv">
                <span class="Ca_remarkSpan">{{$t('hotel.hotel_remark')}}：</span>
                <div class="Ca_description">{{item.Description}}</div>
                <div class="Cafujian clearfix" v-if="item.isShow">
                  <template v-for="(file,fIndex) in item.vorcherInos">
                    <div v-if="file.Type==3">
                      <div style="width:100%;height:100%;overflow: hidden;">
                        <img :src="file.Content" @click="showImg(file.Content)">
                      </div>
                    </div>
                    <div v-if="file.Type==1">
                      <div class="iconfont " :class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"  @click="showUpLoadFile(file)">

                      </div>
                    </div>
                    <div v-if="file.Type==2">
                      <div class="iconfont icon-excel"  @click="showUpLoadFile(file)">

                      </div>
                    </div>
                  </template>
                </div>
              </div>
            </div>

            <div v-for="item in dataList.FBankList">
              <div class="clearfix Ca_diaobo">
                <div class="Co_oderRight" style="margin:10px 0;">
                  <span class="Ca_comBlueColor">{{$t('fnc.dbriqi')}}：</span><span class="Ca_comSize">{{item.AllotDate}}</span>
                </div>
              </div>
              <table class="pay_Table" style="border-collapse: collapse;">
                <tr>
                  <th width="100">{{$t('fnc.fkfangshi')}}</th>
                  <th width="300">{{$t('fnc.acc')}}</th>
                  <th width="110">{{$t('fnc.jine')}}</th>
                  <th width="90">{{$t('hotel.hotel_Currency')}}</th>
                  <th width="85">{{$t('hotel.hotel_CurrentRate')}}</th>
                  <th>汇兑损失</th>
                  <th>{{$t('fnc.bwbjine')}}</th>
                </tr>
                <tr>
                  <td>{{item.TypeName}}</td>
                  <td>
                    <div class="Ca_AccountInfo">{{item.Alias}}-{{item.AccountType}}-{{item.BankNo}}</div>
                  </td>
                  <td>{{item.OriginalMoney}}</td>
                  <td>{{item.CurrencyName}}</td>
                  <td>{{item.Rate}}</td>
                  <td>
                    <span v-if="item.IsExChange==1">是</span>
                    <span v-if="item.IsExChange==0">否</span>
                  </td>
                  <td>{{item.Money}}</td>
                </tr>
              </table>
              <div class="clearfix Ca_comLinediv" style="width:100%;padding:0 20px;">
                <span class="Ca_remarkSpan">{{$t('hotel.hotel_remark')}}：</span>
                <div class="Ca_description">{{item.Description}}</div>
                <div class="Cafujian clearfix" v-if="item.isShow">
                  <template v-for="(file,fIndex) in item.vorcherInos">
                    <div v-if="file.Type==3">
                      <div style="width:100%;height:100%;overflow: hidden;">
                        <img :src="file.Content" @click="showImg(file.Content)">
                      </div>
                    </div>
                    <div v-if="file.Type==1">
                      <div class="iconfont _wenjian_P" :class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'" @click="showUpLoadFileT(file)">

                      </div>
                    </div>
                    <div v-if="file.Type==2">
                      <div class="iconfont icon-excel"  @click="showUpLoadFile(file)">

                      </div>
                    </div>
                  </template>
                </div>
              </div>
            </div>
            <div class="Ca_popDiv" v-if="dataList.AuditSteps!=''">
              <template v-for="(item,index) in dataList.AuditSteps">
                <p>{{item.AuditDescription}}：
                  <template v-if="item.Status===2">
                    <span class="_r_name" v-if="s.AuditStatus==2" v-for="(s,si) in item.AuditRecordList">{{s.AuditName}} </span>
                  </template>
                </p>
              </template>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="22" v-show="!disabled">
      <div v-for="(val,index) in loopNumN" :key="index" style="margin-bottom:20px">
        <div class="myCapital">
          <div class="Ca_leftOrder">
            <div class="Ca_title">
              <el-input size="small" style="width:auto" v-model="dataList.CompanyName" placeholder="请输入"></el-input>
            </div>
            <div class="Ca_t2">
              <el-input size="small" style="width:auto" v-model="dataList.FinanceName" placeholder="请输入"></el-input>
              <span v-if="index===0">{{$t('fnc.yewulian')}}</span>
              <span v-if="index===1">{{$t('fnc.kuaijilian')}}</span>
            </div>
            <div class="clearfix collection_Order">
              <div>
                <span>{{$t('hotel.hotel_SerialNumber')}}：</span><span class="Ca_comSize">{{dataList.FrID}}</span>
                <div class="Co_oderRight">
                  <span>{{$t('fnc.zhibiao')}}：</span><span class="Ca_comSize">{{dataList.CreateDate}}</span>
                </div>
              </div>
            </div>
            <div v-for="item in dataList.SBankList">
              <div class="clearfix Ca_diaobo">
                <div class="Co_oderRight" style="margin:10px 0;">
                  <span class="Ca_comColor">{{$t('fnc.dbriqi')}}：</span><span class="Ca_comSize">
                                    <el-input size="small" style="width:auto" v-model="item.AllotDate" placeholder="请输入"></el-input>
                                   </span>
                </div>
              </div>
              <table class="collection_Table" style="border-collapse: collapse;">
                <tr>
                  <th width="100">{{$t('fnc.skfangshi')}}</th>
                  <th width="300">{{$t('fnc.acc')}}</th>
                  <th width="110">{{$t('fnc.jine')}}</th>
                  <th width="90">{{$t('hotel.hotel_Currency')}}</th>
                  <th width="85">{{$t('hotel.hotel_CurrentRate')}}</th>
                  <th>汇兑收益</th>
                  <th>{{$t('fnc.bwbjine')}}</th>


                </tr>
                <tr>
                  <td>
                    <el-input size="small" style="width:auto" v-model="item.TypeName" placeholder="请输入"></el-input>
                  </td>
                  <td>
                    <div class="Ca_AccountInfo">
                      <el-input size="small" style="width:auto" v-model="item.Alias" placeholder="请输入"></el-input>
                      -
                      <el-input size="small" style="width:auto" v-model="item.AccountType" placeholder="请输入"></el-input>
                      -
                      <el-input size="small" style="width:auto" v-model="item.BankNo" placeholder="请输入"></el-input>
                    </div>
                  </td>
                  <td>{{item.OriginalMoney}}</td>
                  <td>{{item.CurrencyName}}</td>
                  <td>{{item.Rate}}</td>
                  <td>
                    <span v-if="item.IsExChange==1">是</span>
                    <span v-if="item.IsExChange==0">否</span>
                  </td>
                  <td>{{item.Money}}</td>

                </tr>
              </table>
              <div class="clearfix Ca_comLinediv">
                <span class="Ca_remarkSpan">{{$t('hotel.hotel_remark')}}：</span>
                <div class="Ca_description">
                  <el-input size="small" style="width:auto" v-model="item.Description" placeholder="请输入"></el-input>
                </div>

              </div>
            </div>

            <div v-for="item in dataList.FBankList">
              <div class="clearfix Ca_diaobo">
                <div class="Co_oderRight" style="margin:10px 0;">
                  <span class="Ca_comBlueColor">{{$t('fnc.dbriqi')}}：</span><span class="Ca_comSize">{{item.AllotDate}}</span>
                </div>
              </div>
              <table class="pay_Table" style="border-collapse: collapse;">
                <tr>
                  <th width="100">{{$t('fnc.fkfangshi')}}</th>
                  <th width="300">{{$t('fnc.acc')}}</th>
                  <th width="110">{{$t('fnc.jine')}}</th>
                  <th width="90">{{$t('hotel.hotel_Currency')}}</th>
                  <th width="85">{{$t('hotel.hotel_CurrentRate')}}</th>
                  <th>汇兑损失</th>
                  <th>{{$t('fnc.bwbjine')}}</th>
                </tr>
                <tr>
                  <td>
                    <el-input size="small" style="width:auto" v-model="item.TypeName" placeholder="请输入"></el-input>
                  </td>
                  <td>
                    <div class="Ca_AccountInfo">
                      <el-input size="small" style="width:auto" v-model="item.Alias" placeholder="请输入"></el-input>
                      -
                      <el-input size="small" style="width:auto" v-model="item.AccountType" placeholder="请输入"></el-input>
                      -
                      <el-input size="small" style="width:auto" v-model="item.BankNo" placeholder="请输入"></el-input>
                    </div>
                  </td>
                  <td>{{item.OriginalMoney}}</td>
                  <td>{{item.CurrencyName}}</td>
                  <td>{{item.Rate}}</td>
                  <td>
                    <span v-if="item.IsExChange==1">是</span>
                    <span v-if="item.IsExChange==0">否</span>
                  </td>
                  <td>{{item.Money}}</td>
                </tr>
              </table>
              <div class="clearfix Ca_comLinediv" style="width:100%;padding:0 20px;">
                <span class="Ca_remarkSpan">{{$t('hotel.hotel_remark')}}：</span>
                <div class="Ca_description">
                  <el-input size="small" style="width:auto" v-model="item.Description" placeholder="请输入"></el-input>
                </div>

              </div>
            </div>
            <div class="Ca_popDiv" v-if="dataList.AuditSteps!=''">
              <template v-for="(item,index) in dataList.AuditSteps">
                <p>{{item.AuditDescription}}：
                  <template v-if="item.Status===2">
                    <span class="_r_name" v-if="s.AuditStatus==2" v-for="(s,si) in item.AuditRecordList">{{s.AuditName}} </span>
                  </template>
                </p>
              </template>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
  export default {
    props:["ID","width","color","isPrintPage","name","disabled","loopNumN","disabled","loopNumN"],  //接收参数 ID width color

    data(){

      return {
        msg:{
          ID:0
        },
        imageOptions:{
          navbar:false,
          title:false
        },
        dataList:[],
        images:[],
        tableShow:false,
        AuditListData:{
          AuditList:[]
        },
        bossID:null,
        GetDetail:{
          AuditSteps:[]
        },
        endDate: '',
      }
    },
    created(){
      let userinfo = this.getLocalStorage();
      this.bossID = userinfo.EmployeeId;

    },
    methods:{
      goPrintPageNew(type,id,Merge,OrderSource){
        if(type===1){
          let routeData = this.$router.resolve({
            name: 'PrintPageN',
            query: { type: type,id:id,isKehu:0,Merge:Merge,OrderSource:OrderSource?OrderSource:-1,Capital:1}
          });
          window.open(routeData.href, "_blank");
        }else{
          let routeData = this.$router.resolve({
            name: 'PrintPageN',
            query: { type: type,id:id,Merge:Merge,OrderSource:OrderSource?OrderSource:-1,Capital:1}
          });
          window.open(routeData.href, "_blank");
        }
      },
      inited (viewer){
        this.$viewer = viewer
      },
      getList(id){
        if(!id){
          return;
        }
        this.apipost('Financial_get_GetFundTransfer',{ID:id}, res => {
          if(res.data.resultCode == 1) {
            this.dataList = res.data.data;
            this.GetDetail = JSON.parse(JSON.stringify(this.dataList));
            this.GetDetail.AuditSteps = [];
            if(this.dataList.Status==2){
              let len = this.dataList.AuditSteps.length - 1;
              let sLen = this.dataList.AuditSteps[len].AuditRecordList[this.dataList.AuditSteps[len].AuditRecordList.length-1];
              let begTime = this.dataList.AuditSteps[0].AuditRecordList[0].AduitDate;
              let enTime = sLen && sLen.AduitDate ? sLen.AduitDate : begTime;
              let newTime = this.$commonUtils.formatMsgTime2(begTime,enTime);
              this.endDate = newTime.replace("前","");
            }
            this.dataList.AuditSteps.forEach(y=>{
              if(y.Sort>0){
                y.contentTips = y.AuditDescription+(y.AuditWay=='2'? this.$t('fnc.huiqian') : this.$t('fnc.huoqian'));
                this.AuditListData.AuditList.push(y);
              }
              this.GetDetail.AuditSteps.push(y);
            });
            let arr=[];
            let AuditSteps=[];
            AuditSteps = arr.concat(this.dataList.AuditSteps);
            AuditSteps.reverse();
            this.dataList.AuditSteps=AuditSteps;

            this.dataList.SBankList.forEach(x => {
              x.comText = this.$t('fnc.xsfujian');
              x.isShow = false;
            });
            this.dataList.FBankList.forEach(x => {
              x.comText = this.$t('fnc.xsfujian');
              x.isShow = false;
            });
          }else{
            this.Error(res.data.message);
          }
        }, err => {})
      },
      AuditOrRefund(){
        this.MsgBus.$emit('msg');
      },
      showFuFileList(item){
        if(item.comText==this.$t('fnc.ycfujian')){
          item.comText=this.$t('fnc.xsfujian');
        }else{
          item.comText=this.$t('fnc.ycfujian')
        }
        if(item.isShow){
          item.isShow=false;
        }else{
          item.isShow=true;
        }
        this.$forceUpdate();
      },
      //删除附件
      deleteUploadFile(){

      },
      //显示大图
      showImg(obj){
        let isExsit=false
        this.images.forEach(x=>{
          if(x==obj)
            isExsit=true
        })
        if(!isExsit) {
          this.images.push(obj)
        } else {
          this.$viewer.view(this.images.indexOf(obj))
        }
        this.$viewer.show()
      },
      //预览文件
      showUpLoadFileT(i){
        if(i.Content.substring(i.Content.lastIndexOf('.')+1,i.Content.length).toUpperCase()=='PDF'){
          this.previewPDF(i.Content)
        }else{
          window.open("https://view.officeapps.live.com/op/view.aspx?src="+i.Content)
        }
      },
    },
    mounted(){
      this.ID = this.$route.query.id;
      this.getList(this.ID);
    }
  }
</script>
