Canp.vue 10.6 KB
Newer Older
杜大兵 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
<template>
    <c-content class="eibs-tab" :height="200">
        <c-row class="infrow" style="margin-top:50px;">
            <c-col :span="10" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Parent Reference" prop="bpdgrp.rec.pntref">
                            <c-input  
                                v-model="model.bpdgrp.rec.pntref" 
                                maxlength="16"  
                                placeholder="Parent Reference"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="3" :offset="1">
                        <c-button
                            style="margin:0 10px 0 0;padding: 0 12px;"
                            size="small"
                            type="primary"
                            @click="onSeainf"
                        >
                            <span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
                        </c-button>
                    </c-col>
                </c-row>
            
                <c-row>
                    <!-- 融资参考号 -->
                    <c-col :span="20">
                        <el-form-item label="Reference" prop="bpdgrp.rec.ownref">
                            <c-input  
                            v-model="model.bpdgrp.rec.ownref" 
                            maxlength="16"  
                            placeholder="请输入Reference"></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="3" :offset="1">
                        <c-button
                            style="margin:0 10px 0 0;padding: 0 12px;"
                            size="small"
                            type="primary"
                            @click="onSeainf"
                        >
                            <span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
                        </c-button>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <!-- 摘要 -->
                    <c-col :span="24">
                        <el-form-item label="Name" prop="bpdgrp.rec.pntnam">
                            <c-input  
                                v-model="model.bpdgrp.rec.pntnam" 
                                maxlength="40"  
                                style="width:90%"
                                placeholder="请输入摘要"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
                
                <c-row>
                    <c-col :span="24">
                        <el-form-item label="摘要"  prop="bpdgrp.rec.nam">
                            <c-input  
                                v-model="model.bpdgrp.rec.nam" 
                                style="width:90%"
                                maxlength="40"  
                                placeholder="请输入摘要"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>
        <c-row class="infrow">
            <c-col :span="10" :offset="1">
                <c-row>    
                    <!-- 融资类型-->
                    <c-col :span="18">
                        <el-form-item label="Type of Advance" prop="bpdgrp.rec.fintyp">
                            <c-select 
                                v-model="model.bpdgrp.rec.fintyp" 
                                style="width:100%" 
                                placeholder="请选择融资类型"
                            >
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
                <c-row>
                    <!-- 基准利率 -->
                    <c-col :span="18">
                        <el-form-item label="Margin(Spread)" prop="bpdgrp.rec.intrat">
                            <c-input  
                                v-model="model.bpdgrp.rec.intrat"  
                                placeholder="请输入基准利率"
                            ></c-input>
                        </el-form-item>
                    </c-col>  
                    <c-col :span="4" style="margin-left: 20px">
                        <span>%</span>
                    </c-col>
                </c-row>
                <c-row>
                    <!-- Advance Amount -->
                    <c-col :span="16">
                        <el-form-item label="融资金额" prop="bpdgrp.cbs.max.cur">
                            <c-select 
                                v-model="model.bpdgrp.cbs.max.cur" 
                                style="width:100%" 
                                placeholder="请选择融资币种">
                            </c-select>
                        </el-form-item>
                    </c-col>
                                
                    <c-col :span="8">
                        <el-form-item label="" label-width="20px" prop="bpdgrp.cbs.max.amt">
                            <c-input  
                                v-model="model.bpdgrp.cbs.max.amt"  
                                placeholder="请输入融资金额"
                            ></c-input>
                        </el-form-item>
                    </c-col>

                    <!-- Open Amount -->
                    <c-col :span="16">
                        <el-form-item label="押汇余额" prop="bpdgrp.cbs.opn1.cur">
                            <c-select 
                            v-model="model.bpdgrp.cbs.opn1.cur" 
                            style="width:100%" 
                            placeholder="请选择押汇币种">
                            </c-select>
                        </el-form-item>
                    </c-col>
                            
                    <c-col :span="8">
                        <el-form-item label="" label-width="20px" prop="bpdgrp.cbs.opn1.amt">
                            <c-input  
                                v-model="model.bpdgrp.cbs.opn1.amt"  
                                placeholder="请输入押汇余额"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <!-- <c-col :span="12">
                    <el-form-item label="融资客户" prop="bpdgrp.fia.pts.ref">
                        <c-input  v-model="model.bpdgrp.fia.pts.ref" maxlength="16"  placeholder="请输入融资客户"></c-input>
                    </el-form-item>
                </c-col> -->
                <c-ptap
                    :model="model"
                    :argadr="{
                    title: '融资客户',
                    grp: 'bpdgrp',
                    rol: 'fia',
                    }"
                    :disabled="true"
                    @onSeainf="onSeainf"
                    @onAplpDet="onBenpDet"
                >
                </c-ptap>
            </c-col>
        </c-row>
        <c-row class="bptrow">
            <!-- Narrative -->
            <c-col :span="18" :offset="1">
                <el-form-item label="描述" prop="strinf">
                    <c-input 
                        type="textarea" 
                        :rows="10"
                        v-model="model.strinf" 
                        maxlength="50" 
                        show-word-limit 
                        placeholder="请输入描述" 
                    ></c-input>
                </el-form-item>
            </c-col>
                  
            <c-col :span="2" :offset="1">
                <c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
            </c-col>
        </c-row>                     
       <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="bptp0.brdget.sdamod.dadsnd">
            <c-input  v-model="model.bptp0.brdget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                
       <c-col :span="12">
        <el-form-item label="" prop="bptp0.btdget.sdamod.seainf">
            <c-input  v-model="model.bptp0.btdget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col> 
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="bpdgrp.fia.pts.extkey">
            <c-input  v-model="model.bpdgrp.fia.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onFiapDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="bpdgrp.fia.namelc">
            <c-input type="textarea" v-model="model.bpdgrp.fia.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                   
       <c-col :span="12">
        <el-form-item label="Address Block" prop="bpdgrp.fia.pts.adrblk">
            <c-input type="textarea" v-model="model.bpdgrp.fia.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="bpdgrp.fia.dbfadrblkcn">
            <c-input type="textarea" v-model="model.bpdgrp.fia.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>

       <c-col :span="12">
        <el-form-item label="地址" prop="bpdgrp.fia.adrelc">
            <c-input type="textarea" v-model="model.bpdgrp.fia.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
         -->                          
  </c-content>
</template>
<script>
import Api from "~/service/Api"
wangren committed
239
import commonProcess from "~/mixin/commonProcess";
杜大兵 committed
240 241 242 243 244 245 246 247
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bptcan/Event"
import Ptap from "~/views/Public/Ptap";

export default {
    components: { "c-ptap": Ptap },
    inject: ['root'],
    props:["model","codes"],
wangren committed
248
    mixins: [commonProcess],
杜大兵 committed
249 250 251 252 253 254 255 256 257 258 259 260 261 262
    data(){
        return {

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

    }
}
</script>
<style>

</style>