<template>
  <div class="eibs-tab">
                             <!-- S0000076 : 头寸调拨业务参考号 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fttpcm.S0000103')" prop="ftdgrp.rec.ownref">
            <c-input  v-model="model.ftdgrp.rec.ownref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('fttpcm.S0000103')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onFttpButgetref">
             {{$t('fttp.CG000087')}}
        </c-button>
       </c-col>
                 <!-- S0000077 : 名称 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fttp.S0000077')" prop="ftdgrp.rec.nam">
            <c-input  v-model="model.ftdgrp.rec.nam" maxlength="40"  :placeholder="$t('other.please_enter')+$t('fttp.S0000077')"></c-input>
        </c-form-item>
       </c-col>
                 <!-- S0000078 : 头寸调出行 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fttp.S0000078')" prop="ftdgrp.tro.pts.ref">
            <c-input  v-model="model.ftdgrp.tro.pts.ref" maxlength="20"  :placeholder="$t('other.please_enter')+$t('fttp.S0000078')"></c-input>
        </c-form-item>
       </c-col>
                 <!-- S0000080 : 资金部负责人 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fttp.S0000080')" prop="ftdgrp.rec.ownusr">
            <c-input  v-model="model.ftdgrp.rec.ownusr" maxlength="8"  :placeholder="$t('other.please_enter')+$t('fttp.S0000080')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="User ID" prop="fttp.usr.extkey">
            <c-input  v-model="model.fttp.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="fttp.usrget.sdamod.seainf">
            <c-input  v-model="model.fttp.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="fttp.trop.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.fttp.trop.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="ftdgrp.tro.pts.extkey">
            <c-input  v-model="model.ftdgrp.tro.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="fttp.trop.ptsget.sdamod.seainf">
            <c-input  v-model="model.fttp.trop.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="onTropDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>
                 <!-- S0000088 : 清算中心负责人 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fttp.S0000088')" prop="ftdgrp.rec.usr">
            <c-input  v-model="model.ftdgrp.rec.usr" maxlength="8"  :placeholder="$t('other.please_enter')+$t('fttp.S0000088')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Address Block" prop="ftdgrp.tro.pts.adrblk">
            <c-input type="textarea" v-model="model.ftdgrp.tro.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="ftdgrp.tro.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ftdgrp.tro.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
        </c-form-item>
        </c-col>
                 <!-- S0000083 : 头寸调拨金额 -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fttp.S0000083')" prop="ftdgrp.cbs.max.cur">
            <c-select v-model="model.ftdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttp.S0000083')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('fttp.S0000083')" prop="ftdgrp.cbs.max.amt">
            <c-input  v-model="model.ftdgrp.cbs.max.amt"  :placeholder="$t('other.please_enter')+$t('fttp.S0000083')"></c-input>
        </c-form-item>
       </c-col>
                 <!-- S0000084 : 调拨日期 -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fttp.S0000084')" prop="ftdgrp.rec.opndat">
            <c-date-picker type="date"  v-model="model.ftdgrp.rec.opndat" style="width:100%"  :placeholder="$t('other.please_enter')+$t('fttp.S0000084')"></c-date-picker>
        </el-form-item>
       </c-col>
                 <!-- S0000085 : 起息日 -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fttp.S0000085')" prop="ftdgrp.rec.valdat">
            <c-date-picker type="date"  v-model="model.ftdgrp.rec.valdat" style="width:100%"  :placeholder="$t('other.please_enter')+$t('fttp.S0000085')"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Trade-out Account" prop="fttp.troact">
            <c-select v-model="model.fttp.troact" style="width:100%" :placeholder="$t('other.please_enter')+'Trade-out Account'">
              </c-select>
        </el-form-item>
       </c-col>
                 <!-- S0000025 : 备注 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fttp.S0000025')" prop="ftdgrp.blk.remark">
            <c-input type="textarea" v-model="model.ftdgrp.blk.remark" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fttp.S0000025')" ></c-input>
        </c-form-item>
        </c-col>
                 <!-- S0000079 : 头寸调入行 -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fttp.S0000079')" prop="ftdgrp.tri.pts.ref">
            <c-input  v-model="model.ftdgrp.tri.pts.ref" maxlength="20"  :placeholder="$t('other.please_enter')+$t('fttp.S0000079')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="fttp.trip.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.fttp.trip.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="ftdgrp.tri.pts.extkey">
            <c-input  v-model="model.ftdgrp.tri.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="fttp.trip.ptsget.sdamod.seainf">
            <c-input  v-model="model.fttp.trip.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="onTripDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>
                 <!-- S0000102 : 头寸调拨受益人 -->
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="fttp.benp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.fttp.benp.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="Address Block" prop="ftdgrp.tri.pts.adrblk">
            <c-input type="textarea" v-model="model.ftdgrp.tri.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="ftdgrp.tri.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ftdgrp.tri.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="External Key of Address" prop="ftdgrp.ben.pts.extkey">
            <c-input  v-model="model.ftdgrp.ben.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="fttp.benp.ptsget.sdamod.seainf">
            <c-input  v-model="model.fttp.benp.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="onBenpDet">
             {{$t('ptsp.CF000082')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Name of Party" prop="ftdgrp.ben.pts.nam">
            <c-input  v-model="model.ftdgrp.ben.pts.nam" maxlength="40"  :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('fttp.S0000113')" prop="fttp.benact">
            <c-input  v-model="model.fttp.benact" maxlength="34"  :placeholder="$t('other.please_enter')+$t('fttp.S0000113')"></c-input>
        </c-form-item>
       </c-col>
                 <!-- S0000113 : Ben Trade-in Account -->
                  
       <c-col :span="12">
        <el-form-item label="Trade-in Account" prop="fttp.triact">
            <c-select v-model="model.fttp.triact" style="width:100%" :placeholder="$t('other.please_enter')+'Trade-in Account'">
              </c-select>
        </el-form-item>
       </c-col>
                 <!-- S0000104 : 报文类型 -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fttp.S0000104')" prop="fttp.msgtyp">
            <c-select v-model="model.fttp.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttp.S0000104')">
              </c-select>
        </el-form-item>
       </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>