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

      <c-col :span="11">
           <c-col :span="24">
        <el-form-item label="业务主键" prop="cnybop.cnyinc.spk">
            <c-input  v-model="model.cnybop.cnyinc.spk" maxlength="20"  placeholder="请输入业务主键" disabled></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="银行机构名称" prop="cnybop.sbankname">
            <c-input  v-model="model.cnybop.sbankname" maxlength="80"  placeholder="请输入银行机构名称" disabled></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="收款人账号" prop="cnybop.cnyinc.spayeeacct">
            <c-input  v-model="model.cnybop.cnyinc.spayeeacct" maxlength="32"  placeholder="请输入收款人账号"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="收款人名称" prop="cnybop.spayeename">
            <c-input  v-model="model.cnybop.spayeename" maxlength="80"  placeholder="请输入收款人名称"></c-input>
        </el-form-item>
       </c-col>
       <c-col :span="24">
        <el-form-item label="付款人常驻国家/地区代码" prop="cnybop.cnyinc.spayercountrycode">
          <c-fullbox>
            <c-input
              v-model="model.cnybop.cnyinc.spayercountrycode"
              maxlength="3"
              placeholder="请输入付款人常驻国家/地区代码"
              style="width:100%"
              @keyup.enter.native="showGridPromptDialog('cnybop.cnyinc.spayercountrycode')"
            ></c-input>
            <template slot="footer">
                <c-button 
                    size="small" 
                    type="primary" 
                    icon="el-icon-search"
                    style="margin-left:10px;padding: 0 10px;">
                </c-button>
            </template>
          </c-fullbox>
        </el-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">
        <el-form-item label="清算（结算）账户账号" prop="cnybop.cnyinc.spayeracct">
            <c-input  v-model="model.cnybop.cnyinc.spayeracct" maxlength="32"  placeholder="请输入清算（结算）账户账号"></c-input>
        </el-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.cur"
              :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.ftotalamt">
            <c-input  v-model="model.cnybop.cnyinc.ftotalamt"  placeholder="请输入原币金额"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="货物贸易收款金额" prop="cnybop.cnyinc.fpayeeamt">
            <c-input  v-model="model.cnybop.cnyinc.fpayeeamt"  placeholder="请输入货物贸易收款金额"></c-input>
        </el-form-item>
       </c-col>
         <c-col :span="24">
        <el-form-item label="已报关收款金额" prop="cnybop.cnyinc.fcustomsamt">
            <c-input  v-model="model.cnybop.cnyinc.fcustomsamt"  placeholder="请输入已报关收款金额"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="已备案收款金额" prop="cnybop.cnyinc.frecordamt">
            <c-input  v-model="model.cnybop.cnyinc.frecordamt"  placeholder="请输入已备案收款金额"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="交易附言" prop="cnybop.saddword">
            <c-input  v-model="model.cnybop.saddword" maxlength="80"  placeholder="请输入交易附言"></c-input>
        </el-form-item>
       </c-col>
      </c-col>



      <c-col :span="11" :offset="1">
          <c-col :span="24">
        <el-form-item label="银行业务编号" prop="cnybop.cnyinc.sbanktrano">
            <c-input  v-model="model.cnybop.cnyinc.sbanktrano" maxlength="22"  placeholder="请输入银行业务编号" disabled></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="银行机构代码" prop="cnybop.cnyinc.sbankorgcode">
            <c-input  v-model="model.cnybop.cnyinc.sbankorgcode" maxlength="12"  placeholder="请输入银行机构代码" disabled></c-input>
        </el-form-item>
       </c-col>
       <c-col :span="24">
        <el-form-item label="收款人机构代码" prop="cnybop.cnyinc.spayeeorgcode">
            <c-input  v-model="model.cnybop.cnyinc.spayeeorgcode" maxlength="18"  placeholder="请输入收款人机构代码"></c-input>
        </el-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">
        <el-form-item label="付款人名称" prop="cnybop.spayername">
            <c-input  v-model="model.cnybop.spayername" maxlength="80"  placeholder="请输入付款人名称"></c-input>
        </el-form-item>
       </c-col>
       <c-col :span="24">
        <el-form-item label="付款行SWIFT BIC" prop="cnybop.cnyinc.sswiftbic">
            <c-input  v-model="model.cnybop.cnyinc.sswiftbic" maxlength="11"  placeholder="请输入付款行SWIFT BIC"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="中间转汇行" prop="cnybop.cnyinc.smidtransbank">
            <c-input  v-model="model.cnybop.cnyinc.smidtransbank" maxlength="11"  placeholder="请输入中间转汇行"></c-input>
        </el-form-item>
       </c-col>
       <c-col :span="24">
        <el-form-item label="预收款比例" prop="cnybop.incscale">
            <c-input  v-model="model.cnybop.incscale" maxlength="4"  placeholder="请输入INCSCALE"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="预收款金额" prop="cnybop.cnyinc.fprepayeeamt">
            <c-input  v-model="model.cnybop.cnyinc.fprepayeeamt"  placeholder="请输入预收款金额"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="结账期" prop="cnybop.cnyinc.iaccountperiod">
            <c-input  v-model="model.cnybop.cnyinc.iaccountperiod"  placeholder="请输入结账期"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="原申报号码" prop="cnybop.cnyinc.sorilevyno">
            <c-input  v-model="model.cnybop.cnyinc.sorilevyno" maxlength="24"  placeholder="请输入原申报号码"></c-input>
        </el-form-item>
       </c-col>
       <c-col :span="24">
        <el-form-item label="无货物报关进出境物流货物金额" prop="cnybop.cnyinc.fonshoreamt">
            <c-input  v-model="model.cnybop.cnyinc.fonshoreamt"  placeholder="请输入无货物报关进出境物流货物金额"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="无货物报关离岸转手买卖金额" prop="cnybop.cnyinc.foffshoreamt">
            <c-input  v-model="model.cnybop.cnyinc.foffshoreamt"  placeholder="请输入无货物报关离岸转手买卖金额"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="无货物报关其他金额" prop="cnybop.cnyinc.fnogoodsamt">
            <c-input  v-model="model.cnybop.cnyinc.fnogoodsamt"  placeholder="请输入无货物报关其他金额"></c-input>
        </el-form-item>
       </c-col>
      </c-col>
                                                                      
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event"

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

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

    }
}
</script>
<style>

</style>
