Ovwp.vue 25.2 KB
Newer Older
1
<template>
liushikai committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
  <c-row>
    <!-- =================顶部====================== -->
    <c-col :span="24">
      <c-col :span="11">
        <c-col :span="20">
          <el-form-item
            label="信用证号码"
            prop="didgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.didgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Reference"
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
潘际乾 committed
20
        </c-col>
liushikai committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
        <!-- <c-col :span="1" style="text-align: right"> -->
          <c-col :span="1">
            <!-- <el-form-item label="" label-width="5px"> -->
              <c-button
               style="margin:0 10px 0 0;padding: 0 10px;"
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onSeainf"
              ></c-button>
            <!-- </el-form-item> -->
          </c-col>
          <c-col :span="3" style="text-align: right">
            <!-- <el-form-item label="" label-width="5px"> -->
              <c-button
              style="margin:0 0"
                size="small"
                type="primary"
39
                disabled
liushikai committed
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
                @click="onDitpButgetref"
              >
                获取
              </c-button>
            <!-- </el-form-item> -->
          </c-col>
        <!-- </c-col> -->
      </c-col>
      <c-col :span="11" :offset="1">
        <el-form-item label="摘要" prop="didgrp.rec.nam">
          <c-input
            align="middle"
            v-model="model.didgrp.rec.nam"
            maxlength="40"
            disabled
            placeholder="请输入Externally Displayed Name to Identify the Contract"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- ====================左边======================= -->
    <c-col :span="11">
      <c-col :span="20">
        <el-form-item
          label="所属客户经理"
          prop="ditp.usr.extkey"
          style="width: 100%"
        >
          <c-input
            style="width: 95%"
            v-model="model.ditp.usr.extkey"
            maxlength="8"
            placeholder="请输入User ID"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
SunJie committed
77

liushikai committed
78 79 80 81 82 83 84 85 86 87 88
      <c-col :span="4">
        <!-- <el-form-item label="" label-width="17px"> -->
          <c-button
            style="margin:0 10px 0 0;padding: 0 10px;"
            size="small"
            icon="el-icon-search"
            type="primary"
            @click="onExtkey"
          ></c-button>
        <!-- </el-form-item> -->
      </c-col>
SunJie committed
89

liushikai committed
90
      <!-- <c-col>
SunJie committed
91
                &nbsp;
liushikai committed
92
            </c-col> -->
SunJie committed
93

liushikai committed
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
      <c-col :span="13">
        <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
          <c-select
            disabled
            v-model="model.didgrp.cbs.nom1.cur"
            style="width: 95%"
            placeholder="请选择Currency"
            @keyup.enter.native="nom1CurEvent"
          >
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="11">
        <el-form-item
          style="text-align: left"
          label-width="0"
          prop="didgrp.cbs.nom1.amt"
        >
          <c-input-currency
            v-model="model.didgrp.cbs.nom1.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入信用证金额"
123
            disabled
liushikai committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
            @keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)"
          ></c-input-currency>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="大写金额" prop="ditp.amt">
          <c-input
            v-model="model.ditp.amt"
            maxlength="76"
            placeholder="请输入大写金额"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
139
      <c-col :span="24">
liushikai committed
140 141 142 143
        <el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
          <c-input
            v-model="model.didgrp.rec.nomtop"
            maxlength="9"
144
            style="width: 48%"
145
            disabled
liushikai committed
146 147
            placeholder="请输入Amount Tolerance - Positive"
          ></c-input>
148
          <label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
liushikai committed
149 150 151
          <c-input
            v-model="model.didgrp.rec.nomton"
            maxlength="9"
152
            style="width: 48%"
153
            disabled
liushikai committed
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
            placeholder="请输入Amount Tolerance - Negative"
          ></c-input>
        </el-form-item>
      </c-col>
      </c-col>
      <!-- <c-col :span="12" style="text-align: left">
        <el-form-item
          label=""
          style="text-align: left; margin-left: 12px"
          label-width="150px"
          prop="didgrp.rec.nomton"
        >
          <c-input
            v-model="model.didgrp.rec.nomton"
            maxlength="9"
            placeholder="请输入Amount Tolerance - Negative"
          ></c-input>
        </el-form-item>
      </c-col> -->
SunJie committed
173

liushikai committed
174
      <!-- <c-col> &nbsp; </c-col> -->
SunJie committed
175

liushikai committed
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
      <c-col :span="13">
        <el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur">
          <c-select
            v-model="model.didgrp.cbs.max.cur"
            style="width: 95%"
            placeholder="请选择Currency"
            disabled
          >
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
192
        </el-form-item>
liushikai committed
193
      </c-col>
SunJie committed
194

liushikai committed
195 196 197 198 199 200 201
      <c-col :span="11">
        <el-form-item label="" label-width="0" prop="didgrp.cbs.max.amt">
          <c-input
            v-model="model.didgrp.cbs.max.amt"
            placeholder="请输入信用证最大金额"
            disabled
          ></c-input>
202
        </el-form-item>
liushikai committed
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
      </c-col>
      <c-col :span="24">
        <el-form-item label="贸易类型" prop="didgrp.rec.mytype">
          <c-select
            v-if="model.didgrp.rec.elcflg == 'N'"
            v-model="model.didgrp.rec.mytype"
            style="width: 100%"
            placeholder="请选择贸易类型"
            @change="mytypeChange"
          >
            <el-option
              v-for="item in codes.mylx"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
          <c-select
            v-else
            v-model="model.didgrp.rec.mytype"
            style="width: 100%"
            placeholder="请选择贸易类型"
            @change="mytypeChange"
          >
            <el-option
              v-for="item in codes.mytype"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
SunJie committed
238

liushikai committed
239
      <c-col :span="24">
240
      <c-col :span="24">
liushikai committed
241 242 243 244 245
        <el-form-item label="开证日期" prop="didgrp.rec.opndat">
          <c-date-picker
            type="date"
            v-model="model.didgrp.rec.opndat"
            value-format="yyyy-MM-dd"
246
            style="width: 100%"
liushikai committed
247
            placeholder="请选择Date"
248
            disabled
liushikai committed
249 250 251 252 253
          ></c-date-picker>
        </el-form-item>
      </c-col>
      </c-col>
       <c-col :span="24">
254
      <c-col :span="24">
liushikai committed
255 256 257 258 259 260 261 262 263
        <el-form-item
          v-if="model.didgrp.rec.mytype == 'H'"
          label="最迟货物装运日"
          prop="didgrp.rec.shpdat"
        >
          <c-date-picker
            type="date"
            v-model="model.didgrp.rec.shpdat"
            value-format="yyyy-MM-dd"
264
            style="width: 100%"
liushikai committed
265
            placeholder="请选择Date"
266
            disabled
liushikai committed
267 268 269 270 271 272 273 274 275 276 277
          ></c-date-picker>
        </el-form-item>
        <el-form-item
          v-if="model.didgrp.rec.mytype == 'F'"
          label="最迟服务提供日"
          prop="didgrp.rec.shpdat"
        >
          <c-date-picker
            type="date"
            v-model="model.didgrp.rec.shpdat"
            value-format="yyyy-MM-dd"
278
            style="width: 100%"
liushikai committed
279
            placeholder="请选择Date"
280
            disabled
liushikai committed
281 282 283 284 285 286 287 288 289 290 291
          ></c-date-picker>
        </el-form-item>
        <el-form-item
          label="最迟货物装运日/服务提供日"
          v-if="model.didgrp.rec.mytype == '3'"
          prop="didgrp.rec.shpdat"
        >
          <c-date-picker
            type="date"
            v-model="model.didgrp.rec.shpdat"
            value-format="yyyy-MM-dd"
292
            style="width: 100%"
liushikai committed
293
            placeholder="请选择"
294
            disabled
liushikai committed
295 296 297 298 299
          ></c-date-picker>
        </el-form-item>
      </c-col>
      </c-col>
      <c-col :span="24">
300
      <c-col :span="24">
liushikai committed
301 302 303 304 305
        <el-form-item label="有效日期" prop="didgrp.rec.expdat">
          <c-date-picker
            type="date"
            v-model="model.didgrp.rec.expdat"
            value-format="yyyy-MM-dd"
306
            style="width: 100%"
liushikai committed
307
            placeholder="请选择Date"
308
            disabled
liushikai committed
309 310 311 312 313 314 315 316 317 318 319 320 321 322
          ></c-date-picker>
        </el-form-item>
      </c-col>
      </c-col>
      <c-col :span="24">
        <el-form-item label="有效地点" prop="didgrp.rec.expplc">
          <c-input
            v-model="model.didgrp.rec.expplc"
            maxlength="35"
            placeholder="请输入Place of Expiry"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
323
      <c-col :span="13">
liushikai committed
324 325 326
        <el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
          <c-select
            v-model="model.didgrp.rec.elcflg"
327
            style="width: 95%"
liushikai committed
328
            placeholder="请选择是否通过电证系统"
329
            disabled
liushikai committed
330 331 332 333 334 335 336 337 338 339 340
          >
            <el-option
              v-for="item in codes.elcflg"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
341 342
      <c-col :span="11">
        <el-form-item label="报文类型" label-width="80px">
343 344
          <c-select 
          v-if="model.didgrp.rec.elcflg == 'N'"
345
          style="width: 100%"
346 347 348 349 350 351 352 353 354 355 356
          v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
            <el-option
              v-for="item in codes.msgtyp"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
          <c-select 
          v-else
357
          v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
358 359 360 361 362 363 364 365 366 367 368
            <el-option
              v-for="item in codes.msgtyp"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      </c-col>
liushikai committed
369 370 371 372 373 374 375 376 377 378 379 380 381
      <c-col :span="24">
        <el-form-item label="开证类型" prop="didgrp.rec.dkflg">
          <c-select
            v-model="model.didgrp.rec.dkflg"
            style="width: 100%"
            disabled
            placeholder="请选择开证类型"
          >
            <el-option
              v-for="item in codes.dkflg"
              :key="item.value"
              :label="item.label"
              :value="item.value"
382
              disabled
liushikai committed
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
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="申请人统一社会信用代码" prop="didgrp.rec.idcode">
          <c-input
            v-model="model.didgrp.rec.idcode"
            maxlength="18"
            placeholder="请输入申请人统一社会信用代码"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="货押标识" prop="didgrp.rec.guaflg">
          <c-select
            v-model="model.didgrp.rec.guaflg"
            style="width: 100%"
            placeholder="请选择货押标识"
          >
            <el-option
              v-for="item in codes.guaflg"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="假远期信用证" prop="didgrp.rec.jyqflg">
          <c-select
            v-model="model.didgrp.rec.jyqflg"
            style="width: 100%"
            placeholder="请选择假远期信用证"
          >
            <el-option
              v-for="item in codes.jyqflg"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- ========================右边======================= -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
435
        <c-ptap1
liushikai committed
436 437 438 439 440 441 442 443 444 445 446
          :model="model"
          :argadr="{
            title: '申请人',
            grp: 'didgrp',
            rol: 'apl',
          }"
          :disabled="true"
          :isAdrblk="false"
          @onSeainf="onSeainf"
          @onAplpDet="onBenpDet"
        >
447
        </c-ptap1>
liushikai committed
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
      </c-col>
      <!-- <c-col :span="24">
        <el-form-item
          label="申请人           参考号"
          prop="didgrp.apl.pts.ref"
          style="width: 100%"
        >
          <c-input
            v-model="model.didgrp.apl.pts.ref"
            maxlength="16"
            placeholder="请输入申请人           参考号"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="18">
          <el-form-item
            label="Extkey"
            prop="didgrp.apl.pts.extkey"
            style="width: 100%"
          >
            <c-input
              id="extkey"
              v-model="model.didgrp.apl.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
              @keyup.enter.native="
                showGridPromptDialog('didgrp.apl.pts.extkey')
              "
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="6" style="text-align: right">
          <c-col :span="12">
            <el-form-item label="" label-width="5px">
              <c-button
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onSeainf('didgrp.apl.pts.extkey')"
              ></c-button>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item label="" label-width="5px">
              <c-button size="small" type="primary" @click="onAplpDet">
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>
      </c-col> -->
SunJie committed
500

liushikai committed
501
      <!--
潘际乾 committed
502
       <c-col :span="10">
503 504 505
        <el-form-item label="">
            <c-input  v-model="model.ditp.aplp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
潘际乾 committed
506
       </c-col>          -->
SunJie committed
507

liushikai committed
508 509 510 511 512 513 514 515 516 517 518 519
      <!-- <c-col :span="24">
        <el-form-item label="名称" prop="didgrp.apl.namelc">
          <c-input
            type="textarea"
            v-model="model.didgrp.apl.namelc"
            maxlength="35"
            show-word-limit
            placeholder="请输入名称"
          ></c-input>
        </el-form-item>
      </c-col> -->
      <!--
潘际乾 committed
520
       <c-col :span="12">
521 522 523
        <el-form-item label="Address Block">
            <c-input type="textarea" v-model="model.didgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
潘际乾 committed
524
        </c-col>
SunJie committed
525

潘际乾 committed
526
       <c-col :span="12">
SunJie committed
527
        <el-form-item label="Chinese address">Extkey</el-form-item>>
528 529
            <c-input type="textarea" v-model="model.didgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
潘际乾 committed
530
        </c-col>
SunJie committed
531 532
        -->

liushikai committed
533 534 535 536 537 538 539 540 541 542 543
      <!-- <c-col :span="24">
        <el-form-item label="地址" prop="didgrp.apl.adrelc">
          <c-input
            type="textarea"
            v-model="model.didgrp.apl.adrelc"
            maxlength="35"
            show-word-limit
            placeholder="请输入地址"
          ></c-input>
        </el-form-item>
      </c-col> -->
SunJie committed
544

liushikai committed
545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567
      <c-col :span="14">
        <c-form-item label="邮编" prop="didgrp.apl.pts.youzbm">
          <c-input
            v-model="model.didgrp.apl.pts.youzbm"
            maxlength="6"
            placeholder="请输入邮编"
          ></c-input>
        </c-form-item>
      </c-col>
      <c-col :span="10">
        <c-form-item
          label="电话"
          label-width="40px"
          style="margin-left: 12px"
          prop="didgrp.apl.pts.dihdig"
        >
          <c-input
            v-model="model.didgrp.apl.pts.dihdig"
            maxlength="16"
            placeholder="请输入电话"
          ></c-input>
        </c-form-item>
      </c-col>
SunJie committed
568

liushikai committed
569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591
      <c-col :span="24">
        <el-form-item label="申请人账号" prop="didgrp.apl.pts.extact">
          <c-select
            v-model="model.didgrp.apl.pts.extact"
            style="width: 100%"
            placeholder="请选择External Account"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item
          label="申请人开户行    联行行号"
          prop="didgrp.apb.pts.bankno"
        >
          <c-input
            v-model="model.didgrp.apb.pts.bankno"
            maxlength="20"
            placeholder="请输入Number of bank"
            @keyup.enter.native="showGridPromptDialog('didgrp.apb.pts.bankno')"
          ></c-input>
        </el-form-item>
      </c-col>
SunJie committed
592

liushikai committed
593 594 595 596 597 598 599 600 601 602 603
      <c-col :span="24">
        <el-form-item label="联行名称 " prop="didgrp.apb.pts.jigomc">
          <c-input
            type="textarea"
            v-model="model.didgrp.apb.pts.jigomc"
            maxlength="35"
            show-word-limit
            placeholder="请输入联行名称  电证用"
          ></c-input>
        </el-form-item>
      </c-col>
SunJie committed
604

liushikai committed
605 606 607 608 609 610 611 612 613
      <!-- <c-col :span="24">
        <el-form-item label="受益人           参考号" prop="didgrp.ben.pts.ref">
          <c-input
            v-model="model.didgrp.ben.pts.ref"
            maxlength="16"
            placeholder="请输入受益人           参考号"
          ></c-input>
        </el-form-item>
      </c-col> -->
SunJie committed
614

liushikai committed
615
      <!--
潘际乾 committed
616
	<c-col :span="6">
617
	    <span  v-text="model.ditp.zchday"   data-path=".ditp.zchday" > </span>
潘际乾 committed
618
	</c-col> -->
SunJie committed
619

liushikai committed
620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '受益人',
            grp: 'didgrp',
            rol: 'ben',
          }"
          :disabled="true"
          :isAdrblk="false"
          @onSeainf="onSeainf"
          @onAplpDet="onBenpDet"
        >
        </c-ptap>
      </c-col>

      <!-- <c-col :span="18">
        <el-form-item
          label="Extkey"
          prop="didgrp.ben.pts.extkey"
          style="width: 100%"
        >
          <c-input
            v-model="model.didgrp.ben.pts.extkey"
            maxlength="16"
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('didgrp.ben.pts.extkey')"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="6" style="text-align: right">
          <c-button
            class="icon-search"
            size="small"
            type="primary"
            icon="el-icon-search"
            @click="onSeaParty('didgrp.ben.pts.extkey')"
          ></c-button>
          <c-button class="detailsButton" size="small" type="primary" @click="onBenpDet">
            详情
          </c-button>
      </c-col>  -->
SunJie committed
662

liushikai committed
663
      <!--
潘际乾 committed
664
       <c-col :span="12">
665 666 667
        <el-form-item label="Drag  Drop Sender">
            <c-input  v-model="model.ditp.benp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
潘际乾 committed
668
       </c-col>   -->
SunJie committed
669

liushikai committed
670
      <!--
潘际乾 committed
671
       <c-col :span="10">
672
        <el-form-item label="">
SunJie committed
673
            <c-input  v-model="model.ditp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
674
        </el-form-item>
潘际乾 committed
675
       </c-col>
SunJie committed
676

潘际乾 committed
677
       <c-col :span="2">
678
        <c-button size="small" type="primary"  @click="onBenpDet">
SunJie committed
679
            Detials
680
        </c-button>
潘际乾 committed
681
       </c-col> -->
liushikai committed
682 683 684 685 686 687 688 689 690 691 692
      <!-- <c-col :span="24">
        <el-form-item label="名称" prop="didgrp.ben.namelc">
          <c-input
            type="textarea"
            v-model="model.didgrp.ben.namelc"
            maxlength="35"
            show-word-limit
            placeholder="请输入名称"
          ></c-input>
        </el-form-item>
      </c-col> -->
SunJie committed
693

liushikai committed
694
      <!-- <c-col :span="24">
SunJie committed
695 696 697 698 699 700 701 702 703
                <el-form-item label="有效地点" prop="didgrp.rec.expplc">
                    <c-input
                        type="textarea"
                        v-model="model.didgrp.rec.expplc"
                        maxlength="35"
                        show-word-limit
                        placeholder="请输入Place of Expiry"
                    ></c-input>
                </el-form-item>
潘际乾 committed
704
            </c-col> -->
SunJie committed
705

liushikai committed
706
      <!--
潘际乾 committed
707
       <c-col :span="12">
708 709 710
        <el-form-item label="Address Block">
            <c-input type="textarea" v-model="model.didgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
潘际乾 committed
711
        </c-col>
SunJie committed
712

潘际乾 committed
713
       <c-col :span="12">
714 715 716
        <el-form-item label="Chinese address">
            <c-input type="textarea" v-model="model.didgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
潘际乾 committed
717
        </c-col> -->
SunJie committed
718

liushikai committed
719 720 721 722 723 724 725 726 727 728 729
      <!-- <c-col :span="24">
        <el-form-item label="地址" prop="didgrp.ben.adrelc">
          <c-input
            type="textarea"
            v-model="model.didgrp.ben.adrelc"
            maxlength="35"
            show-word-limit
            placeholder="请输入地址"
          ></c-input>
        </el-form-item>
      </c-col> -->
SunJie committed
730

liushikai committed
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753
      <c-col :span="14">
        <el-form-item label="邮编" prop="didgrp.ben.pts.youzbm">
          <c-input
            v-model="model.didgrp.ben.pts.youzbm"
            maxlength="6"
            placeholder="请输入邮编  电证用"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="10">
        <el-form-item
          label="电话"
          label-width="40px"
          style="margin-left: 12px"
          prop="didgrp.ben.pts.dihdig"
        >
          <c-input
            v-model="model.didgrp.ben.pts.dihdig"
            maxlength="16"
            placeholder="请输入电话"
          ></c-input>
        </el-form-item>
      </c-col>
SunJie committed
754

liushikai committed
755
      <c-col :span="24">
hulei committed
756
        <el-form-item label="受益人账号" prop="didgrp.ben.pts.extact">
liushikai committed
757 758 759
          <c-input
            v-model="model.didgrp.ben.pts.extact"
            maxlength="34"
hulei committed
760
            placeholder="请输入受益人账号"
liushikai committed
761 762 763
          ></c-input>
        </el-form-item>
      </c-col>
SunJie committed
764

liushikai committed
765 766 767 768 769 770 771 772 773 774 775 776 777
      <c-col :span="24">
        <el-form-item
          label="受益人开户行   联行行号"
          prop="didgrp.beb.pts.bankno"
        >
          <c-input
            v-model="model.didgrp.beb.pts.bankno"
            maxlength="20"
            placeholder="请输入Number of bank"
            @keyup.enter.native="showGridPromptDialog('didgrp.beb.pts.bankno')"
          ></c-input>
        </el-form-item>
      </c-col>
SunJie committed
778

liushikai committed
779 780 781 782 783 784 785 786 787 788 789 790 791 792
      <c-col :span="24">
        <el-form-item label="联行名称 " prop="didgrp.beb.pts.jigomc">
          <c-input
            type="textarea"
            v-model="model.didgrp.beb.pts.jigomc"
            maxlength="35"
            show-word-limit
            placeholder="请输入联行名称  电证用"
            :disabled="this.jigomcFlag"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
  </c-row>
793 794
</template>
<script>
SunJie committed
795
import Api from "~/service/Api";
wangren committed
796
import commonProcess from "~/mixin/commonProcess";
SunJie committed
797 798
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
liushikai committed
799
import Ptap from "~/views/Public/Ptap";
800
import Ptap1 from "./Ptap";
801 802

export default {
803 804 805
  components: { "c-ptap": Ptap ,
                "c-ptap1": Ptap1,
              },
liushikai committed
806 807
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
808
  mixins: [commonProcess],
liushikai committed
809 810
  data() {
    return {
811
      jigomcFlag: true,
liushikai committed
812 813 814 815 816 817 818 819 820 821 822 823 824 825
      trade: "",
    };
  },
  methods: {
    ...Event,
    mytypeChange() {
      if (this.model.didgrp.rec.mytype == "F") {
        this.model.didgrp.rec.tratyp = "";
        this.model.didgrp.rec.sdsrfs = "";
        this.model.didgrp.rec.shptrs = "";
        this.model.didgrp.rec.shpfro = "";
        this.model.didgrp.rec.shpto = "";
        this.model.didgrp.rec.shppro = "";
      }
SunJie committed
826
    },
liushikai committed
827 828
    nom1CurEvent() {
      this.executeDefault("didgrp.cbs.nom1.cur").then((res) => {
吴佳 committed
829
        if ((res.respCode == SUCCESS)) {
liushikai committed
830
          Utils.copyValueFromVO(this.model, res.data);
831
        }
liushikai committed
832
      });
833
    },
liushikai committed
834 835 836 837 838 839 840
  },
  created: function () {
    console.log(this.root);
  },
  computed: {
    flag() {
      return this.model.didgrp.apl.pts.extkey == "";
SunJie committed
841
    },
liushikai committed
842 843 844 845
  },
  watch: {
    declareParams() {},
  },
SunJie committed
846
};
847
</script>