Ovwp.vue 25.1 KB
Newer Older
1
<template>
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
   <c-content class="eibs-tab" :height="200">
        <div class="infTopBtn">
            <c-button size="small" type="primary">toSearch</c-button>
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left" disabled></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right" disabled></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary" disabled>Use</c-button>
            <c-button size="small" type="primary" disabled>Loginfo</c-button>
            <c-button size="small" type="primary">Exit</c-button>
        </div>

        <c-row class="infrow" style="margin-top:50px;">
            <c-col :span="8" :offset="1">
                <el-form-item label="业务编号" label-width="120px"  prop="ledgrp.rec.ownref">
18 19
                    <c-input  
                        v-model="model.ledgrp.rec.ownref" 
20
                        style="width:95%"
21 22 23 24 25 26
                        maxlength="16"  
                        placeholder="请输入Reference"
                    ></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="3">
27 28
                <c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>

29
                <c-button
30 31 32 33 34 35
                    size="small"
                    type="primary"
                    :disabled="
                        model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref ? false : true
                    "
                    @click="onLetpButgetref"
36 37 38 39
                >
                获取
                </c-button>
            </c-col>
40 41 42
            
            <c-col :span="10" :offset="1">
                <el-form-item label="概  要" prop="ledgrp.rec.nam">
43 44
                    <c-input  
                        v-model="model.ledgrp.rec.nam" 
45
                        style="width:100%" 
46 47 48 49 50
                        maxlength="40"  
                        placeholder="请输入概要"
                    ></c-input>
                </el-form-item>
            </c-col>
51
        </c-row>
52

53
        <c-row class="infrow"> 
54
            <c-col :span="11" :offset="1">
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
                <c-row>
                    <c-col :span="24">
                        <el-form-item label="转让标志"  label-width="120px" prop="ledgrp.rec.lcrtyp">
                            <c-select 
                                v-model="model.ledgrp.rec.lcrtyp" 
                                 style="width:95%" 
                                placeholder="请选择转让标志">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="20">
                        <el-form-item label="经办柜员"  label-width="120px" prop="recpan.usr.extkey">
                            <c-input  
                                v-model="model.recpan.usr.extkey" 
                                style="width:95%"
                                maxlength="8"  
                                placeholder="请输入经办柜员"
                                :disabled="true"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="4" class="centerLable">
                        <c-checkbox :disabled="true" v-model="model.ledgrp.rec.collflg">
                            抵押信用证
                        </c-checkbox>
                    </c-col>
                    <c-col :span="12">
                        <el-form-item label="信用证金额" label-width="120px" prop="ledgrp.cbs.nom1.cur">
                            <c-select 
                                v-model="model.ledgrp.cbs.nom1.cur" 
                                style="width:100%"
                                placeholder="请选择币种"
                            ></c-select>
                        </el-form-item>
                    </c-col> 
                    <c-col :span="8">
                        <el-form-item label="" label-width="10px" prop="ledgrp.cbs.nom1.amt">
                            <!-- <c-input   -->
                            <c-input-currency  
                                v-model="model.ledgrp.cbs.nom1.amt"  
                                style="text-align: left; width: 90%"
                                placeholder="请输入信用证金额"
                            ></c-input-currency>
                        </el-form-item>
                    </c-col>
                    <c-col :span="3" :offset="1" class="centerLable">
                        <c-checkbox v-model="model.recpan.aamp.aammod.addamtflg">
                            附加金额
                        </c-checkbox>
                    </c-col>
                    <c-col :span="12">
                        <el-form-item label="金额浮动  +/-" label-width="120px" prop="ledgrp.rec.nomtop">
                            <c-input  
                                v-model="model.ledgrp.rec.nomtop"
                                 
                                placeholder="请输入Amount Tolerance +/-"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="8">
                        <!-- label="Amount Tolerance - Negative" -->
                        <el-form-item label="" label-width="10px" prop="ledgrp.rec.nomton">
                            <c-input  
                                v-model="model.ledgrp.rec.nomton"  
                                style="width:90%"  
                                placeholder="请输入Amount Tolerance - Negative"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="4" class="centerLable">
                        <c-checkbox v-model="model.ledgrp.rec.inctrf">
                            <!-- Incoming Transfer -->
                            传入传输
                        </c-checkbox>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="10" :offset="1">
133 134 135 136 137 138 139 140 141 142 143 144 145
                <c-ptap
                    :model="model"
                    :argadr="{
                    title: '受益人',
                    grp: 'ledgrp',
                    rol: 'ben',
                    }"
                    :disabled="true"
                    @onSeainf="onSeainf"
                    @onAplpDet="onBenpDet"
                >
                </c-ptap>
            </c-col>
146
        </c-row>
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
        <c-row class="infrow">
            <c-col :span="11" :offset="1">
               <c-row>
                    <c-col :span="24">
                        <el-form-item label="适用金额规范" label-width="120px" prop="ledgrp.rec.nomspc">
                            <c-select 
                                v-model="model.ledgrp.rec.nomspc" 
                                style="width:95%" 
                                placeholder="请选择适用金额规范"
                            >
                            </c-select>
                        </el-form-item> 
                    </c-col>
                    <c-col :span="12">
                        <el-form-item label="最大金额" label-width="120px" prop="ledgrp.cbs.max.cur">
                            <c-select 
                                v-model="model.ledgrp.cbs.max.cur" 
                                 style="width:100%"
                                placeholder="请选择请选择币种">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="12">
                        <!-- label="Maximum Amount" -->
                        <el-form-item label="" label-width="10px" prop="ledgrp.cbs.max.amt">
                            <c-input  
                                v-model="model.ledgrp.cbs.max.amt"  
                                 style="width:93%"
                                placeholder="请输入最大金额"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="13">
                        <el-form-item label="开证日期" label-width="120px" prop="ledgrp.rec.opndat">
                            <c-date-picker 
                                type="date"  
                                v-model="model.ledgrp.rec.opndat" 
                                style="width:80%"  
                                placeholder="请选择开证日期"
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>                   
                    <c-col :span="10">
                        <el-form-item label="预通知日期"  label-width="80px" prop="ledgrp.rec.preadvdt">
                            <c-date-picker 
                                type="date"  
                                v-model="model.ledgrp.rec.preadvdt" 
                                style="width:100%"  
                                placeholder="请选择日期"
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="13">
                        <el-form-item label="装运日期" label-width="120px" prop="ledgrp.rec.shpdat">
                            <c-date-picker 
                                type="date"  
                                v-model="model.ledgrp.rec.shpdat" 
                                style="width:80%"  
                                placeholder="请选择装运日期"
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>               
                    <c-col :span="10">
                        <el-form-item label="通知日期" label-width="80px" prop="ledgrp.rec.advdat">
                            <c-date-picker 
                                type="date"  
                                v-model="model.ledgrp.rec.advdat" 
                                style="width:100%"  
                                placeholder="请选择通知日期"
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>
               </c-row>
221 222
            </c-col>

223
            <c-col :span="10" :offset="1">
224 225 226 227 228 229 230 231 232 233 234 235 236
                <c-ptap
                    :model="model"
                    :argadr="{
                    title: '开证行',
                    grp: 'ledgrp',
                    rol: 'iss',
                    }"
                    :disabled="true"
                    @onSeainf="onSeainf"
                    @onAplpDet="onIsspDet"
                >
                </c-ptap>
            </c-col>
237
        </c-row> 
238

239
        <c-row class="infrow">
240
            <c-col :span="11" :offset="1">
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283
                <c-row>
                    <c-col :span="14">
                        <el-form-item label="到期日" label-width="120px" prop="ledgrp.rec.expdat">
                            <c-date-picker 
                                type="date"  
                                v-model="model.ledgrp.rec.expdat" 
                                style="width:100%"  
                                placeholder="请选择到期日"
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="10"> </c-col>
                    <c-col :span="24">
                        <el-form-item label="有效地点" label-width="120px" prop="ledgrp.rec.expplc">
                            <c-input  
                                v-model="model.ledgrp.rec.expplc" 
                                style="width:95%"  
                                maxlength="29"  
                                placeholder="请输入有效地点"
                            ></c-input>
                        </el-form-item>
                    </c-col> 
                    <c-col :span="24">
                        <el-form-item label="确认接收指示" label-width="120px" prop="ledgrp.rec.cnfdet">
                            <c-select 
                                v-model="model.ledgrp.rec.cnfdet" 
                                style="width:95%"   
                                placeholder="请选择确认接收指示"
                            ></c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="适用规则" label-width="120px" prop="ledgrp.rec.apprul">
                            <c-select 
                                v-model="model.ledgrp.rec.apprul" 
                                style="width:95%"  
                                placeholder="请选择适用规则"
                            ></c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="10" :offset="1">
284 285 286 287 288 289 290 291 292 293 294 295 296
                <c-ptap
                    :model="model"
                    :argadr="{
                    title: '申请人',
                    grp: 'ledgrp',
                    rol: 'apl',
                    }"
                    :disabled="true"
                    @onSeainf="onSeainf"
                    @onAplpDet="onAplpDet"
                >
                </c-ptap>
            </c-col>
297
        </c-row>   
298

299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330
        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="24">
                        <el-form-item label="其他规则" label-width="120px" prop="ledgrp.rec.apprultxt">
                            <c-input  
                                v-model="model.ledgrp.rec.apprultxt"
                                style="width:95%"   
                                maxlength="35"  
                                placeholder="请输入其他规则"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="分批装运" label-width="120px" prop="ledgrp.rec.shppars18">
                            <c-select 
                                v-model="model.ledgrp.rec.shppars18" 
                                 style="width:95%"   
                                placeholder="请选择分批装运">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="转运" label-width="120px" prop="ledgrp.rec.shptrss18">
                            <c-select 
                                v-model="model.ledgrp.rec.shptrss18" 
                                style="width:95%"   
                                placeholder="请选择转运"
                            ></c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
331 332 333
            </c-col>
            <c-col :span="11" :offset="1">
                <c-col :span="24" class="centerLable marginLable">
334
	                <c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox>
335 336 337 338 339 340 341 342 343 344 345 346 347 348
                </c-col>
                <c-col :span="24" class="centerLable marginLable">
                    <!-- Authorization to Debit -->
                    <c-checkbox v-model="model.ledgrp.rec.dbtflg">借记授权书</c-checkbox>
                </c-col>
                <!-- Non-Bank Issuer -->
                <c-col :span="24" class="centerLable marginLable">
	                <c-checkbox v-model="model.ledgrp.rec.nonban"> 非银行发行人</c-checkbox>
                </c-col>
                <!-- Test Key Unconfirmity -->
                <c-col :span="24" class="centerLable marginLable">
	                <c-checkbox v-model="model.ledgrp.rec.teskeyunc">测试密钥</c-checkbox>
                </c-col>
            </c-col>
349 350 351 352
        </c-row>   
   </c-content>
</template>
        </
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539
       <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="recpan.recget.sdamod.dadsnd">
            <c-input  v-model="model.recpan.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                    
       <c-col :span="12">
        <el-form-item label="" prop="recpan.recget.sdamod.seainf">
            <c-input  v-model="model.recpan.recget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>   
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="recpan.benp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.recpan.benp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="recpan.usrget.sdamod.seainf">
            <c-input  v-model="model.recpan.usrget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="ledgrp.ben.pts.extkey">
            <c-input  v-model="model.ledgrp.ben.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="recpan.benp.ptsget.sdamod.seainf">
            <c-input  v-model="model.recpan.benp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onBenpDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="ledgrp.ben.namelc">
            <c-input type="textarea" v-model="model.ledgrp.ben.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="ledgrp.ben.pts.adrblk">
            <c-input type="textarea" v-model="model.ledgrp.ben.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="ledgrp.ben.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ledgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.ledgrp.preadvflg">PreAdvice or Notification</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="ledgrp.ben.adrelc">
            <c-input type="textarea" v-model="model.ledgrp.ben.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.ledgrp.rec.resflg">Reserved Contract</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="recpan.issp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.recpan.issp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                    
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="ledgrp.iss.pts.extkey">
            <c-input  v-model="model.ledgrp.iss.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="recpan.issp.ptsget.sdamod.seainf">
            <c-input  v-model="model.recpan.issp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onIsspDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="ledgrp.iss.namelc">
            <c-input type="textarea" v-model="model.ledgrp.iss.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="ledgrp.iss.pts.adrblk">
            <c-input type="textarea" v-model="model.ledgrp.iss.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="ledgrp.iss.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ledgrp.iss.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="ledgrp.iss.adrelc">
            <c-input type="textarea" v-model="model.ledgrp.iss.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="recpan.aplp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.recpan.aplp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="ledgrp.apl.pts.extkey">
            <c-input  v-model="model.ledgrp.apl.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="recpan.aplp.ptsget.sdamod.seainf">
            <c-input  v-model="model.recpan.aplp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAplpDet">
            Details
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="名称" prop="ledgrp.apl.namelc">
            <c-input type="textarea" v-model="model.ledgrp.apl.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.recpan.oppbnkl"   data-path=".recpan.oppbnkl" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="境内外对手行代码" prop="ledgrp.rec.oppbnk">
            <c-input  v-model="model.ledgrp.rec.oppbnk" maxlength="12"  placeholder="请输入境内外对手行代码"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="ledgrp.apl.pts.adrblk">
            <c-input type="textarea" v-model="model.ledgrp.apl.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="ledgrp.apl.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ledgrp.apl.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="ledgrp.apl.adrelc">
            <c-input type="textarea" v-model="model.ledgrp.apl.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                             
       <c-col :span="12">
        <el-form-item label="Transshipment" prop="ledgrp.rec.shptrs">
            <c-select v-model="model.ledgrp.rec.shptrs" style="width:100%" placeholder="请选择Transshipment">
              </c-select>
        </el-form-item>
       </c-col> -->
540

541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infled/Event"
import Ptap from "~/views/Public/Ptap";

export default {
    components: { "c-ptap": Ptap },
    inject: ['root'],
    props:["model","codes"],
    mixins: [CommonProcess],
    data(){
        return {

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

    }
};
</script>
<style>
    .centerLable {
        margin-left: -10px;
        height: 32px;
        line-height: 32px;
    }
    .marginLable {
        padding-left: 150px;
    }
</style>