Ovwp.vue 15.8 KB
Newer Older
fukai committed
1 2
<template>
  <div class="eibs-tab">
wangguangchao committed
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
    <c-col :span="24">
      <!-- ==================左边================ -->
        <c-col :span="12" style="padding-right: 20px">
          <c-col :span="24">
                <c-form-item label="外汇买卖业务参考号" prop="fxdgrp.rec.ownref">
                    <c-fullbox>
                        <c-input v-model="model.fxdgrp.rec.ownref" maxlength="16" placeholder="请输入外汇买卖业务参考号" disabled>
                        </c-input>
                        <template slot="footer">
                            <c-button style="margin: 0 0" size="small" type="primary" :disabled="model.fxdgrp.apl.pts.ptainr === ''"
                            @click="getOwnref">
                            获取
                            </c-button>
                        </template>
                        </c-fullbox>
                </c-form-item>
            </c-col>
            <c-col :span="24">
                <c-form-item label="业务负责人" prop="fxtp.usr.extkey">
                    <c-input v-model="model.fxtp.usr.extkey" placeholder="请输入业务负责人" />
                </c-form-item>
            </c-col>
            <c-col :span="24">
                <c-form-item label="外汇买卖类型" prop="fxdgrp.rec.fxtyp">
                    <c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" :placeholder="请输入外汇买卖类型" dbCode="">
                    </c-select>
                </c-form-item>
            </c-col>
            <c-col :span="24">
                <c-col :span="12">
                    <el-form-item label="平盘金额" prop="fxdgrp.cbs.max.cur">
                    <c-select-cur v-model="model.fxdgrp.cbs.max.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
                    </el-form-item>
                </c-col>
                <c-col :span="12">
                    <el-form-item label-width="5px" prop="fxdgrp.cbs.max.amt">
                    <c-input-currency
                        :currency="model.fxdgrp.cbs.max.cur"
                        v-model="model.fxdgrp.cbs.max.amt"></c-input-currency>
                    </el-form-item>
                </c-col>
            </c-col>
            <c-col :span="24">
                <c-col :span="12">
                    <el-form-item label="对应人民币金额" prop="fxdgrp.cbs.nom1.cur">
                    <c-select-cur v-model="model.fxdgrp.cbs.nom1.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
                    </el-form-item>
                </c-col>
                <c-col :span="12">
                    <el-form-item label-width="5px" prop="fxdgrp.cbs.nom1.amt">
                    <c-input-currency
                        disabled
                        :currency="model.fxdgrp.cbs.nom1.cur"
                        v-model="model.fxdgrp.cbs.nom1.amt"></c-input-currency>
                    </el-form-item>
                </c-col>
            </c-col>
            <c-col :span="24">
                <el-form-item label="登记日期" prop="fxdgrp.rec.opndat">
                    <c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%" placeholder="请输入登记日期">
                    </c-date-picker>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item label="买入外币账号" prop="fxdgrp.rec.dsp">
                  <c-col :span="12">
                    <c-select v-model="model.fxdgrp.rec.dsp" style="width:100%" :placeholder="请输入" dbCode="">
                    </c-select>
                  </c-col>
                  <c-col :span="12">
                    <c-select v-model="model.fxdgrp.rec.acc" style="width:100%" :placeholder="请输入买入外币账号" dbCode="">
                    </c-select>
                  </c-col>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <c-form-item label="备注" prop="fxdgrp.blk.remark">
                  <c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="140" :rows="4" style="width:100%" placeholder="请输入备注">
                  </c-input>
                </c-form-item>
            </c-col>
        </c-col>

        <!-- ==================右边================ -->
    <c-col :span="12" style="padding-right: 20px">
          <c-col :span="24">
                <c-form-item label="名称" prop="fxdgrp.rec.nam">
                    <c-input v-model="model.fxdgrp.rec.nam" placeholder="请输入名称"/>
                </c-form-item>
          </c-col>
          <c-col :span="24">
                    <el-card class="box-card">
                        <c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
                        :isShowCard="false" :argadr="{title: '外汇买卖申请人',grp: 'fxdgrp', rol: 'apl',}"
                        :label="{labelExtkey:'外汇买卖申请人',labelNam:'名称',labelAdrblk:'地址'}" ptytyp="C">
                        </c-ptap>
                    </el-card>
          </c-col>
          <c-col :span="24">
                    <el-form-item label="起息日" prop="fxdgrp.rec.valdat">
                        <c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%" placeholder="请输入起息日">
                        </c-date-picker>
                    </el-form-item>
                </c-col>
          <c-col :span="24">
                    <el-form-item label="卖出外币账号" prop="fxdgrp.rec.dsp2">
                      <c-col :span="12">
                        <c-select v-model="model.fxdgrp.rec.dsp2" style="width:100%" :placeholder="请输入" dbCode="">
                        </c-select>
                      </c-col>
                      <c-col :span="12">
                        <c-select v-model="model.fxdgrp.rec.acc2" style="width:100%" :placeholder="请输入卖出外币账号" dbCode="">
                        </c-select>
                      </c-col>
                    </el-form-item>
                </c-col>
        </c-col>
    </c-col>
    
fukai committed
122
                  
wangguangchao committed
123
       <!-- <c-col :span="12">
fukai committed
124 125 126 127 128 129 130 131 132 133
        <c-form-item :label="$t('fxteop.S0000002')" prop="fxdgrp.rec.ownref">
            <c-input  v-model="model.fxdgrp.rec.ownref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('fxteop.S0000002')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onFxtpButgetref">
             {{$t('fxteop.C0000015')}}
        </c-button>
       </c-col>
wangguangchao committed
134
              
fukai committed
135 136 137 138 139 140
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxteop.S0000003')" prop="fxdgrp.rec.nam">
            <c-input  v-model="model.fxdgrp.rec.nam" maxlength="40"  :placeholder="$t('other.please_enter')+$t('fxteop.S0000003')"></c-input>
        </c-form-item>
       </c-col>
wangguangchao committed
141
              
fukai committed
142 143 144 145 146 147
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxteop.S0000006')" prop="fxdgrp.apl.pts.ref">
            <c-input  v-model="model.fxdgrp.apl.pts.ref" maxlength="20"  :placeholder="$t('other.please_enter')+$t('fxteop.S0000006')"></c-input>
        </c-form-item>
       </c-col>
wangguangchao committed
148
               
fukai committed
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
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxteop.S0000004')" prop="fxtp.usr.extkey">
            <c-input  v-model="model.fxtp.usr.extkey" maxlength="8"  :placeholder="$t('other.please_enter')+$t('fxteop.S0000004')"></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>
wangguangchao committed
185
             
fukai committed
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 239 240 241 242 243 244 245 246 247 248 249 250
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxteop.S0000005')" prop="fxdgrp.rec.fxtyp">
            <c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxteop.S0000005')">
              </c-select>
        </el-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>
                  
<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">
	    <c-checkbox v-model="model.fxtp.calflg">{{$t('fxteop.C0000017')}}</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>
wangguangchao committed
251
               
fukai committed
252 253 254 255 256 257
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtp.S0000060')" prop="fxdgrp.rec.rat">
            <c-input  v-model="model.fxdgrp.rec.rat"  :placeholder="$t('other.please_enter')+$t('fxtp.S0000060')"></c-input>
        </c-form-item>
       </c-col>
wangguangchao committed
258
              
fukai committed
259 260 261 262 263 264
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtp.S0000062')" prop="fxdgrp.rec.quoref">
            <c-input  v-model="model.fxdgrp.rec.quoref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('fxtp.S0000062')"></c-input>
        </c-form-item>
       </c-col>
wangguangchao committed
265
                
fukai committed
266 267 268 269 270 271 272 273 274 275 276 277 278
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtp.S0000061')" prop="fxdgrp.rec.midrat">
            <c-input  v-model="model.fxdgrp.rec.midrat"  :placeholder="$t('other.please_enter')+$t('fxtp.S0000061')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="钞汇标志" prop="fxtp.cshflg">
            <c-select v-model="model.fxtp.cshflg" style="width:100%" :placeholder="$t('other.please_enter')+'钞汇标志'">
              </c-select>
        </el-form-item>
       </c-col>
wangguangchao committed
279
                
fukai committed
280 281 282 283 284 285
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxtp.S0000063')" prop="fxdgrp.rec.fudref">
            <c-input  v-model="model.fxdgrp.rec.fudref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('fxtp.S0000063')"></c-input>
        </c-form-item>
       </c-col>
wangguangchao committed
286
               
fukai committed
287 288 289 290 291 292
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxteop.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('fxteop.S0000007')"></c-date-picker>
        </el-form-item>
       </c-col>
wangguangchao committed
293
                 
fukai committed
294 295 296 297 298 299
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxteop.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('fxteop.S0000008')"></c-date-picker>
        </el-form-item>
       </c-col>
wangguangchao committed
300
               
fukai committed
301 302 303 304 305 306 307 308 309 310 311 312 313 314
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxteop.S0000013')" prop="fxdgrp.rec.dsp">
            <c-select v-model="model.fxdgrp.rec.dsp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxteop.S0000013')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxteop.S0000013')" prop="fxdgrp.rec.acc">
            <c-select v-model="model.fxdgrp.rec.acc" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxteop.S0000013')">
              </c-select>
        </el-form-item>
       </c-col>
wangguangchao committed
315
             
fukai committed
316 317 318 319 320 321 322 323 324 325 326 327 328 329
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxteop.S0000014')" prop="fxdgrp.rec.dsp2">
            <c-select v-model="model.fxdgrp.rec.dsp2" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxteop.S0000014')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxteop.S0000014')" prop="fxdgrp.rec.acc2">
            <c-select v-model="model.fxdgrp.rec.acc2" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxteop.S0000014')">
              </c-select>
        </el-form-item>
       </c-col>
wangguangchao committed
330
                
fukai committed
331 332 333 334 335
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxteop.S0000012')" 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('fxteop.S0000012')" ></c-input>
        </c-form-item>
wangguangchao committed
336
        </c-col> -->
fukai committed
337 338 339 340 341 342
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
wangguangchao committed
343 344
import event from "../event";

fukai committed
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363

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

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

    }
}
</script>
<style>

</style>