<template>
  <div class="eibs-tab">

    <el-col :span="11">           
       <c-col :span="24">
        <c-form-item label="业务主键 " prop="cnybop.cnyinc.spk">
            <c-input disabled v-model="model.cnybop.cnyinc.spk" maxlength="20"  placeholder=""></c-input>
        </c-form-item>
       </c-col>

       <c-col :span="24">
        <c-form-item label="银行机构名称" prop="cnybop.sbankname">
            <c-input disabled v-model="model.cnybop.sbankname" maxlength="80"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
          
                  
       <c-col :span="24">
        <c-form-item label="银行机构代码" prop="cnybop.cnyinc.sbankorgcode">
            <c-input disabled v-model="model.cnybop.cnyinc.sbankorgcode" maxlength="12"  placeholder=""></c-input>
        </c-form-item>
       </c-col>

       <c-col :span="24">
        <c-form-item label="收款人账号" prop="cnybop.cnyinc.spayeeacct">
            <c-input  v-model="model.cnybop.cnyinc.spayeeacct" maxlength="32"  placeholder=""></c-input>
        </c-form-item>
       </c-col>

       <c-col :span="24">
        <c-form-item label="收款人名称" prop="cnybop.spayeename">
            <c-input  v-model="model.cnybop.spayeename" maxlength="80"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <el-form-item label="收款人属性" prop="cnybop.cnyinc.cpayeeattr">
            <c-select v-model="model.cnybop.cnyinc.cpayeeattr" style="width:100%" placeholder="">
            <el-option
              v-for="item in codes.cpayeeattr"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
            </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="付款人名称" prop="cnybop.spayername">
            <c-input  v-model="model.cnybop.spayername" maxlength="80"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <el-form-item label="结算方式" prop="cnybop.cnyinc.sbalancemode">
            <c-select v-model="model.cnybop.cnyinc.sbalancemode" style="width:100%" placeholder="">
            <el-option
              v-for="item in codes.sbalancemode"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>

              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="24">
        <el-form-item label=" 清算（结算）帐户类型" prop="cnybop.cnyinc.cpayeraccttyp">
            <c-select v-model="model.cnybop.cnyinc.cpayeraccttyp" style="width:100%" placeholder="">
            <el-option
              v-for="item in codes.cpayeraccttyp"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>

              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="清算（结算）账户账号" prop="cnybop.cnyinc.spayeracct">
            <c-input  v-model="model.cnybop.cnyinc.spayeracct" maxlength="32"  placeholder=""></c-input>
        </c-form-item>
       </c-col>

                  
       <c-col :span="24">
        <el-form-item label="收款日期" prop="cnybop.cnyinc.dpayeedate">
            <c-date-picker type="date"  v-model="model.cnybop.cnyinc.dpayeedate" style="width:100%"  placeholder=""></c-date-picker>
        </el-form-item>
       </c-col>

                  
       <c-col :span="24">
        <el-form-item label="收款币种" prop="cnybop.cnyinc.spayeecny">
            <c-select v-model="model.cnybop.cnyinc.spayeecny" style="width:100%" placeholder="">
            <el-option
              v-for="item in codes.curtxt1"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
            </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="原币金额" prop="cnybop.cnyinc.ftotalamt">
            <c-input  v-model="model.cnybop.cnyinc.ftotalamt"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="货物贸易收款金额" prop="cnybop.cnyinc.fpayeeamt">
            <c-input  v-model="model.cnybop.cnyinc.fpayeeamt"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="已报关收款金额" prop="cnybop.cnyinc.fcustomsamt">
            <c-input  v-model="model.cnybop.cnyinc.fcustomsamt"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="已备案收款金额" prop="cnybop.cnyinc.frecordamt">
            <c-input  v-model="model.cnybop.cnyinc.frecordamt"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="交易附言" prop="cnybop.saddword">
            <c-input  v-model="model.cnybop.saddword" maxlength="80"  placeholder=""></c-input>
        </c-form-item>
       </c-col>

       </el-col>


 <!--=====================right =============================  -->


        <el-col :span="11" :offset="1">
                  
       <c-col :span="24">
        <c-form-item label="银行业务编号" prop="cnybop.cnyinc.sbanktrano">
            <c-input disabled v-model="model.cnybop.cnyinc.sbanktrano" maxlength="22"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
     
                  
     <c-col :span="24">
        <c-form-item label="收款人机构代码或身份证件号码" prop="cnybop.cnyinc.spayeeorgcode">
            <c-input  v-model="model.cnybop.cnyinc.spayeeorgcode" maxlength="18"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="21">
        <c-form-item label="付款人常驻国家（地区）代码" prop="cnybop.cnyinc.spayercountrycode">
            <c-input  v-model="model.cnybop.cnyinc.spayercountrycode" maxlength="3"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="3">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onIncctySelbut1">
    
        </c-button>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="付款行SWIFT BIC" prop="cnybop.cnyinc.sswiftbic">
            <c-input  v-model="model.cnybop.cnyinc.sswiftbic" maxlength="11"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="中间转汇行" prop="cnybop.cnyinc.smidtransbank">
            <c-input  v-model="model.cnybop.cnyinc.smidtransbank" maxlength="11"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="预收款比例" prop="cnybop.incscale">
            <c-input  v-model="model.cnybop.incscale" maxlength="4"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="预收款金额" prop="cnybop.cnyinc.fprepayeeamt">
            <c-input  v-model="model.cnybop.cnyinc.fprepayeeamt"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="结帐期" prop="cnybop.cnyinc.iaccountperiod">
            <c-input  v-model="model.cnybop.cnyinc.iaccountperiod"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="原申报号码" prop="cnybop.cnyinc.sorilevyno">
            <c-input  v-model="model.cnybop.cnyinc.sorilevyno" maxlength="24"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="无货物报关进出境物流货物金额" prop="cnybop.cnyinc.fonshoreamt">
            <c-input  v-model="model.cnybop.cnyinc.fonshoreamt"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="无货物报关离岸转手买卖金额" prop="cnybop.cnyinc.foffshoreamt">
            <c-input  v-model="model.cnybop.cnyinc.foffshoreamt"  placeholder=""></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-form-item label="无货物报关其他金额" prop="cnybop.cnyinc.fnogoodsamt">
            <c-input  v-model="model.cnybop.cnyinc.fnogoodsamt"  placeholder=""></c-input>
        </c-form-item>
       </c-col>

       </el-col>
                 
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botset/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>
