<template>
  <div class="eibs-tab">
                             <!-- S0000002 : 平盘业务参考号 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtfcm.S0000002')" prop="fxdgrp.rec.ownref">
            <c-input  v-model="model.fxdgrp.rec.ownref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000002')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onFxtpButgetref">
             {{$t('fxtfcm.C0000016')}}
        </c-button>
       </c-col>
                 <!-- S0000003 : 名称 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtfcm.S0000003')" prop="fxdgrp.rec.nam">
            <c-input  v-model="model.fxdgrp.rec.nam" maxlength="40"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000003')"></c-input>
        </c-form-item>
       </c-col>
                 <!-- S0000006 : 平盘对手 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtfcm.S0000006')" prop="fxdgrp.apl.pts.ref">
            <c-input  v-model="model.fxdgrp.apl.pts.ref" maxlength="20"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000006')"></c-input>
        </c-form-item>
       </c-col>
                 <!-- S0000004 : 资金部负责人 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtfcm.S0000004')" prop="fxdgrp.rec.ownusr">
            <c-input  v-model="model.fxdgrp.rec.ownusr" maxlength="8"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000004')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="User ID" prop="fxtp.usr.extkey">
            <c-input  v-model="model.fxtp.usr.extkey" maxlength="8"  :placeholder="$t('other.please_enter')+'User ID'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="" prop="fxtp.usrget.sdamod.seainf">
            <c-input  v-model="model.fxtp.usrget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="fxtp.aplp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.fxtp.aplp.ptsget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="External Key of Address" prop="fxdgrp.apl.pts.extkey">
            <c-input  v-model="model.fxdgrp.apl.pts.extkey" maxlength="16"  :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="" prop="fxtp.aplp.ptsget.sdamod.seainf">
            <c-input  v-model="model.fxtp.aplp.ptsget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAplpDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>
                 <!-- S0000021 : 清算中心负责人 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtfcm.S0000021')" prop="fxdgrp.rec.usr">
            <c-input  v-model="model.fxdgrp.rec.usr" maxlength="8"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000021')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Address Block" prop="fxdgrp.apl.pts.adrblk">
            <c-input type="textarea" v-model="model.fxdgrp.apl.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Chinese address" prop="fxdgrp.apl.dbfadrblkcn">
            <c-input type="textarea" v-model="model.fxdgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
        </c-form-item>
        </c-col>
                 <!-- S0000005 : 平盘类型 -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxtfcm.S0000005')" prop="fxdgrp.rec.fxtyp">
            <c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000005')">
              </c-select>
        </el-form-item>
       </c-col>
                  
<c-col :span="12">
    <span  v-text="model.fxtp.amtlab"   data-path=".fxtp.amtlab" > </span>
</c-col>
                  
       <c-col :span="12">
        <el-form-item label="Currency" prop="fxdgrp.cbs.max.cur">
            <c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+'Currency'">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Balance" prop="fxdgrp.cbs.max.amt">
            <c-input  v-model="model.fxdgrp.cbs.max.amt"  :placeholder="$t('other.please_enter')+'Balance'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.fxtp.frgchk">{{$t('fxtp.C0000100')}}</c-checkbox>
       </c-col>
                  
<c-col :span="12">
    <span  v-text="model.fxtp.cnylab"   data-path=".fxtp.cnylab" > </span>
</c-col>
                  
       <c-col :span="12">
        <el-form-item label="Currency" prop="fxdgrp.cbs.nom1.cur">
            <c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%" :placeholder="$t('other.please_enter')+'Currency'">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Balance" prop="fxdgrp.cbs.nom1.amt">
            <c-input  v-model="model.fxdgrp.cbs.nom1.amt"  :placeholder="$t('other.please_enter')+'Balance'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.fxtp.cnychk">{{$t('fxtp.C0000101')}}</c-checkbox>
       </c-col>
                 <!-- S0000017 : 平盘对手账户行 -->
                 <!-- S0000013 : 平盘牌价 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtfcm.S0000013')" prop="fxdgrp.rec.rat">
            <c-input  v-model="model.fxdgrp.rec.rat"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000013')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="aplaccp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.aplaccp.ptsget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="External Key of Address" prop="aplacc.pts.extkey">
            <c-input  v-model="model.aplacc.pts.extkey" maxlength="16"  :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="" prop="aplaccp.ptsget.sdamod.seainf">
            <c-input  v-model="model.aplaccp.ptsget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAplaccpDet">
             {{$t('ptsp.CF000082')}}
        </c-button>
       </c-col>
                 <!-- S0000014 : 中间价 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtfcm.S0000014')" prop="fxdgrp.rec.midrat">
            <c-input  v-model="model.fxdgrp.rec.midrat"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000014')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Name of Party" prop="aplacc.pts.nam">
            <c-input  v-model="model.aplacc.pts.nam" maxlength="40"  :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
        </c-form-item>
       </c-col>
                 <!-- S0000007 : 平盘日期 -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxtfcm.S0000007')" prop="fxdgrp.rec.opndat">
            <c-date-picker type="date"  v-model="model.fxdgrp.rec.opndat" style="width:100%"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000007')"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="APLACC's Account" prop="acc2">
            <c-select v-model="model.acc2" style="width:100%" :placeholder="$t('other.please_enter')+'APLACC\'s Account'">
              </c-select>
        </el-form-item>
       </c-col>
                 <!-- S0000008 : 起息日 -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxtfcm.S0000008')" prop="fxdgrp.rec.valdat">
            <c-date-picker type="date"  v-model="model.fxdgrp.rec.valdat" style="width:100%"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000008')"></c-date-picker>
        </el-form-item>
       </c-col>
                 <!-- S0000019 : 我行账户行 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtfcm.S0000019')" prop="fxdgrp.act.pts.ref">
            <c-input  v-model="model.fxdgrp.act.pts.ref" maxlength="20"  :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000019')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="fxtp.actp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.fxtp.actp.ptsget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="External Key of Address" prop="fxdgrp.act.pts.extkey">
            <c-input  v-model="model.fxdgrp.act.pts.extkey" maxlength="16"  :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="" prop="fxtp.actp.ptsget.sdamod.seainf">
            <c-input  v-model="model.fxtp.actp.ptsget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onActpDet">
             {{$t('ptsp.CF000082')}}
        </c-button>
       </c-col>
                 <!-- S0000009 : 备注 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtfcm.S0000009')" prop="fxdgrp.blk.remark">
            <c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000009')" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Name of Party" prop="fxdgrp.act.pts.nam">
            <c-input  v-model="model.fxdgrp.act.pts.nam" maxlength="40"  :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="OWNACC's Account" prop="acc1">
            <c-select v-model="model.acc1" style="width:100%" :placeholder="$t('other.please_enter')+'OWNACC\'s Account'">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.swtflg">{{$t('fxtfcm.C0000022')}}</c-checkbox>
       </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"

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

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

    }
}
</script>
<style>

</style>