Payp.vue 30.4 KB
Newer Older
lianyang committed
1 2 3
<template>
  <div class="eibs-tab">
    <c-row>
4
      <!-- ====================================左边 =================================-->
lianyang committed
5 6
      <c-col :span="12">
        <!-- 信用证编号 -->
7
        <c-col :span="24">
lianyang committed
8 9
          <c-form-item label="Import L/C Ref" prop="lidgrp.rec.ownref">
            <c-fullbox>
10 11
              <c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="" style="width: 100%" disabled>
              </c-input>
lianyang committed
12
              <template slot="footer">
13
                <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
lianyang committed
14 15
                  <span style="font-family: '宋体'; font-weight: bold">i</span>
                </c-button>
16 17
                <c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag"
                  @click="onDitpButgetref">
lianyang committed
18 19 20 21 22 23 24 25
                  获取
                </c-button>
              </template>
            </c-fullbox>
          </c-form-item>
        </c-col>

        <!-- 到期日 -->
26 27
        <c-col :span="24">
          <el-form-item label="Expiry" prop="lidgrp.rec.expdat">
28 29
            <c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width: 100%" placeholder="请输入Expiry"
              disabled></c-date-picker>
lianyang committed
30 31 32
          </el-form-item>
        </c-col>

33
        <!--  单据参考号 -->
lianyang committed
34 35 36
        <c-col :span="24">
          <c-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref">
            <c-fullbox>
37
              <c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="" disabled></c-input>
lianyang committed
38
              <template slot="footer">
39
                <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
lianyang committed
40 41
                  <span style="font-family: '宋体'; font-weight: bold">i</span>
                </c-button>
42 43
                <c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag"
                  @click="onDitpButgetref">
lianyang committed
44 45 46 47 48 49 50
                  获取
                </c-button>
              </template>
            </c-fullbox>
          </c-form-item>
        </c-col>

51
        <!--  单据金额 -->
lianyang committed
52 53 54
        <c-col :span="24">
          <c-col :span="13">
            <el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
55 56
              <c-select v-model="model.brdgrp.cbs.max.cur" style="width: 100%" placeholder="请输入Document Amount"
                :code="codes.curtxt1" disabled>
lianyang committed
57 58 59 60 61
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11">
            <c-form-item label="" label-width="5px" prop="brdgrp.cbs.max.amt">
62
              <c-input v-model="model.brdgrp.cbs.max.amt" placeholder="" disabled></c-input>
lianyang committed
63 64 65 66 67 68 69 70
            </c-form-item>
          </c-col>
        </c-col>

        <!--  单据余额 -->
        <c-col :span="24">
          <c-col :span="13">
            <c-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
71 72
              <c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount" disabled>
              </c-input>
lianyang committed
73 74 75 76
            </c-form-item>
          </c-col>
          <c-col :span="11">
            <c-form-item label="" label-width="5px" prop="brdgrp.cbs.opn1.amt">
77
              <c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="" disabled></c-input>
lianyang committed
78 79 80 81 82 83
            </c-form-item>
          </c-col>
        </c-col>
        <!--  到单日期 -->
        <c-col :span="12">
          <el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
84 85
            <c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width: 100%"
              placeholder="请选择Received on" disabled></c-date-picker>
lianyang committed
86 87 88 89 90
          </el-form-item>
        </c-col>
        <!--  通知到单日期 -->
        <c-col :span="12">
          <el-form-item label="Advised on" prop="brdgrp.rec.advdat">
91 92
            <c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width: 100%" placeholder="请输入Advised on"
              disabled></c-date-picker>
lianyang committed
93 94 95 96 97 98
          </el-form-item>
        </c-col>

        <!--  Maturity Date -->
        <c-col :span="12">
          <el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
99 100
            <c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width: 100%"
              placeholder="请输入Maturity Date" disabled></c-date-picker>
lianyang committed
101 102 103 104 105
          </el-form-item>
        </c-col>
        <!--  Start Date -->
        <c-col :span="12">
          <el-form-item label="Start Date" prop="brdgrp.rec.stadat">
106 107
            <c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width: 100%"
              placeholder="请输入 Start Date" disabled></c-date-picker>
lianyang committed
108 109 110 111 112
          </el-form-item>
        </c-col>
        <!--  单据类型 -->
        <c-col :span="16">
          <el-form-item label="Document Type" prop="brdgrp.rec.docflg">
113 114
            <c-select v-model="model.brdgrp.rec.docflg" style="width: 100%" placeholder="请输入Document Type"
              :code="codes.docflg" disabled>
lianyang committed
115 116 117 118 119
            </c-select>
          </el-form-item>
        </c-col>
        <!-- Tenor -->
        <c-col :span="8">
120 121
          <c-form-item label="Tenor" label-width="100px" prop="brdgrp.rec.tenmaxday">
            <c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入Tenor" disabled></c-input>
lianyang committed
122 123
          </c-form-item>
        </c-col>
124
        <!--  单据状态 -->
lianyang committed
125 126
        <c-col :span="24">
          <el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
127 128
            <c-select v-model="model.brdgrp.rec.docsta" style="width: 100%" placeholder="请选择单据状态" :code="codes.docsta"
              disabled>
lianyang committed
129 130 131 132 133 134
            </c-select>
          </el-form-item>
        </c-col>
        <!-- Document Condition -->
        <c-col :span="24">
          <el-form-item label="Document Condition" prop="brdgrp.rec.docflg">
135 136
            <c-select v-model="model.brdgrp.rec.docflg" style="width: 100%" placeholder="请选择Document Condition"
              :code="codes.brdtyp" disabled>
lianyang committed
137 138 139 140
            </c-select>
          </el-form-item>
        </c-col>

141
        <!--  Received on -->
lianyang committed
142 143
        <c-col :span="12">
          <el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
144 145
            <c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width: 100%"
              placeholder="请输入Received on"></c-date-picker>
lianyang committed
146 147
          </el-form-item>
        </c-col>
148
        <!--  Presentation Date -->
lianyang committed
149 150
        <c-col :span="12">
          <el-form-item label="Presentation Date" prop="brdgrp.rec.predat">
151 152
            <c-date-picker type="date" v-model="model.brdgrp.rec.predat" style="width: 100%"
              placeholder="请选择Presentation Date"></c-date-picker>
lianyang committed
153 154
          </el-form-item>
        </c-col>
155
        <!-- Accept Amount -->
lianyang committed
156 157
        <c-col :span="13">
          <el-form-item label="Accept Amount" prop="setmod.doccur">
158
            <c-input v-model="model.setmod.doccur" style="width: 100%" placeholder="请输入Accept Amount" disabled>
lianyang committed
159 160 161 162 163
            </c-input>
          </el-form-item>
        </c-col>
        <c-col :span="11">
          <el-form-item label="" label-width="5px" prop="setmod.docamt">
164
            <c-input v-model="model.setmod.docamt" placeholder=""></c-input>
lianyang committed
165 166 167 168 169 170
          </el-form-item>
        </c-col>

        <!-- Dco.Amount.Part 单据金额 -->
        <c-col :span="13">
          <el-form-item label="Doc.Amount.Part" prop="brdgrp.cbs.opn2.cur">
171 172
            <c-select v-model="model.brdgrp.cbs.opn2.cur" style="width: 100%" placeholder="请选择单据金额"
              :code="codes.curtxt1" disabled>
lianyang committed
173 174 175 176 177
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="11">
          <el-form-item label="" label-width="5px" prop="aamset.utlamt">
178
            <c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额"></c-input>
lianyang committed
179 180
          </el-form-item>
        </c-col>
181
        <!-- Add.Amount.Part 附加金额 -->
lianyang committed
182 183
        <c-col :span="13">
          <el-form-item label="Add.Amount.Part" prop="brdgrp.cbs.opn2.cur">
184 185
            <c-select v-model="model.brdgrp.cbs.opn2.cur" style="width: 100%" placeholder="请选择附加金额"
              :code="codes.curtxt1" disabled>
lianyang committed
186 187 188 189 190
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="11">
          <el-form-item label="" label-width="5px" prop="aamset.utlamt2">
191
            <c-input v-model="model.aamset.utlamt2" placeholder="请输入附加金额"></c-input>
lianyang committed
192 193 194 195 196
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Select MT" prop="sftmt">
197
            <c-select v-model="model.sftmt" style="width: 100%" placeholder="请选择" :code="codes.paysmt">
lianyang committed
198 199 200
            </c-select>
          </el-form-item>
        </c-col>
201
        <!-- TAG72 -->
lianyang committed
202
        <c-col :span="24">
203
          <el-form-item label="" prop="brdgrp.tag72add">
204 205 206 207 208 209 210 211 212 213
            <c-fullbox>
              <c-input type="textarea" v-model="model.brdgrp.tag72add" maxlength="50" show-word-limit
                placeholder="请输入TAG72" :disabled="model.sftmt==''? true : false"></c-input>
              <template slot="footer">
                <c-button size="small" type="primary" icon="el-icon-search" @click="onAcctagButtxmsel"
                :disabled="model.sftmt==''? true : false">
                  ...
                </c-button>
              </template>
            </c-fullbox>
lianyang committed
214 215 216 217 218
          </el-form-item>
        </c-col>

      </c-col>

219
      <!-- ====================================右边 ======================================-->
lianyang committed
220
      <c-col :span="11" :offset="1">
221
        <!--  信用证余额 -->
lianyang committed
222 223
        <c-col :span="12">
          <c-form-item label="Open Amt L/C" prop="lidgrp.cbs.opn1.cur">
224 225
            <c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3"
              :placeholder="$t('other.please_enter') + 'Currency'" disabled></c-input>
lianyang committed
226 227 228 229
          </c-form-item>
        </c-col>
        <c-col :span="12">
          <c-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
230
            <c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="" disabled></c-input>
lianyang committed
231 232 233 234 235 236
          </c-form-item>
        </c-col>

        <c-col :span="24">
          <!--label="Name of Bill Contract"  -->
          <el-form-item label="" prop="brdgrp.rec.nam">
237 238
            <c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract" disabled>
            </c-input>
lianyang committed
239 240 241 242
          </el-form-item>
        </c-col>

        <c-col :span="24">
243
          <c-ptsmsg :model="model" :argadr="{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }" disabled>
lianyang committed
244 245 246
          </c-ptsmsg>
        </c-col>

247
        <!-- Name of Party  prop="brdgrp.apl.pts.nam"-->
248
        <!-- <c-col :span="24">
lianyang committed
249 250 251 252 253
          <el-form-item label="" prop="brdgrp.apl.pts.nam">
            <c-input
              v-model="model.brdgrp.apl.pts.nam"
              maxlength="40"
              placeholder="请输入Name of Party"
254
              disabled
lianyang committed
255 256
            ></c-input>
          </el-form-item>
257
        </c-col> -->
lianyang committed
258

259
        <!-- eneficiary Ref -->
lianyang committed
260
        <c-col :span="24">
261
          <c-ptsmsg :model="model" :argadr="{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }" disabled>
lianyang committed
262 263
          </c-ptsmsg>
        </c-col>
264
        <!-- Name of Party   prop="brdgrp.ben.pts.nam-->
265
        <!-- <c-col :span="24">
lianyang committed
266 267 268 269 270
          <el-form-item label="" prop="brdgrp.ben.pts.nam">
            <c-input
              v-model="model.brdgrp.ben.pts.nam"
              maxlength="40"
              placeholder="请输入Name of Party"
271
              disabled
lianyang committed
272 273
            ></c-input>
          </el-form-item>
274
        </c-col> -->
lianyang committed
275

276
        <!-- Presenting Bank Ref 交单行编号-->
lianyang committed
277
        <c-col :span="24">
278 279 280 281 282
          <c-ptsmsg :model="model" :argadr="{
            title: 'Presenting Bank Ref',
            grp: 'brdgrp',
            rol: 'prb',
          }" disabled>
lianyang committed
283 284 285
          </c-ptsmsg>
        </c-col>

286
        <!--Name of Party     prop="brdgrp.prb.pts.nam" -->
287
        <!-- <c-col :span="24">
lianyang committed
288 289 290 291 292
          <el-form-item label="" prop="brdgrp.prb.pts.nam">
            <c-input
              v-model="model.brdgrp.prb.pts.nam"
              maxlength="40"
              placeholder="请输入Name of Party"
293
              disabled
lianyang committed
294 295
            ></c-input>
          </el-form-item>
296
        </c-col> -->
lianyang committed
297

298
        <!-- Presented by -->
lianyang committed
299 300
        <c-col :span="24">
          <el-form-item label="Presented by" prop="brdgrp.rec.docprbrol">
301 302
            <c-select v-model="model.brdgrp.rec.docprbrol" style="width: 100%" placeholder="请输入Presented by"
              :code="codes.docprbrol" disabled>
lianyang committed
303 304 305 306
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
307 308
          <c-ptap1 :model="model" :argadr="{
            title: '',
309 310 311
            grp: 'brdgrp',
            rol: 'prb',
          }" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onPrbpDet">
lianyang committed
312 313 314 315 316 317
          </c-ptap1>
        </c-col>

        <!--  Payer -->
        <c-col :span="24">
          <el-form-item label="Payer" prop="brdgrp.rec.payrol">
318 319
            <c-select v-model="model.brdgrp.rec.payrol" style="width: 100%" placeholder="请输入Payer" :code="codes.payrol"
              disabled>
lianyang committed
320 321 322
            </c-select>
          </el-form-item>
        </c-col>
323
        <c-col :span="24">
324 325 326 327
          <c-ptap1 :model="model" :argadr="{
            title: '',
            grp: 'brtp',
            rol: 'oth',
328
          }" :disabled="true" :isAdrblk="false" disabled1 @onSeainf="onSeainf" @onAplpDet="onOthpDet">
329 330
          </c-ptap1>
        </c-col>
lianyang committed
331 332 333 334 335 336


      </c-col>
    </c-row>


337
    <!-- <el-form-item label="Drag  Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
lianyang committed
338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 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
        <c-input
          v-model="model.brtp.lidget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
     -->

    <!-- <c-col :span="12">
      <el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
        <c-input
          v-model="model.lidgrp.rec.ownref"
          maxlength="16"
          placeholder="请输入信用证编号"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="" prop="brtp.lidget.sdamod.seainf">
        <c-input
          v-model="model.brtp.lidget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Date of Expiry" prop="lidgrp.rec.expdat">
        <c-date-picker
          type="date"
          v-model="model.lidgrp.rec.expdat"
          style="width: 100%"
          placeholder="请选择Date of Expiry"
        ></c-date-picker>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur">
        <c-input
          v-model="model.lidgrp.cbs.opn1.cur"
          maxlength="3"
          placeholder="请输入Currency"
        ></c-input>
      </el-form-item>
    </c-col> -->
384
    <!-- 
lianyang committed
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
    <c-col :span="12">
      <el-form-item label="Balance" prop="lidgrp.cbs.opn1.amt">
        <c-input
          v-model="model.lidgrp.cbs.opn1.amt"
          placeholder="请输入Balance"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Drag  Drop Sender" prop="brtp.recget.sdamod.dadsnd">
        <c-input
          v-model="model.brtp.recget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="单据参考号" prop="brdgrp.rec.ownref">
        <c-input
          v-model="model.brdgrp.rec.ownref"
          maxlength="16"
          placeholder="请输入单据参考号"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="" prop="brtp.recget.sdamod.seainf">
        <c-input
          v-model="model.brtp.recget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam">
        <c-input
          v-model="model.brdgrp.rec.nam"
          maxlength="40"
          placeholder="请输入Name of Bill Contract"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
        <c-select
          v-model="model.brdgrp.cbs.max.cur"
          style="width: 100%"
          placeholder="请选择单据金额"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="单据金额" prop="brdgrp.cbs.max.amt">
        <c-input
          v-model="model.brdgrp.cbs.max.amt"
          placeholder="请输入单据金额"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="申请人" prop="brdgrp.apl.pts.ref">
        <c-input
          v-model="model.brdgrp.apl.pts.ref"
          maxlength="16"
          placeholder="请输入申请人"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
        <c-input
          v-model="model.brdgrp.cbs.opn1.cur"
          maxlength="3"
          placeholder="请输入单据余额"
        ></c-input>
      </el-form-item>
    </c-col> -->
471
    <!-- 
lianyang committed
472 473 474 475 476 477 478 479
    <c-col :span="12">
      <el-form-item label="Balance" prop="brdgrp.cbs.opn1.amt">
        <c-input
          v-model="model.brdgrp.cbs.opn1.amt"
          placeholder="请输入Balance"
        ></c-input>
      </el-form-item>
    </c-col> -->
480
    <!-- 
lianyang committed
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 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 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 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 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826
    <c-col :span="12">
      <el-form-item label="Name of Party" prop="brdgrp.apl.pts.nam">
        <c-input
          v-model="model.brdgrp.apl.pts.nam"
          maxlength="40"
          placeholder="请输入Name of Party"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
        <c-date-picker
          type="date"
          v-model="model.brdgrp.rec.rcvdat"
          style="width: 100%"
          placeholder="请选择Received on"
        ></c-date-picker>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="到单日期" prop="brdgrp.rec.advdat">
        <c-date-picker
          type="date"
          v-model="model.brdgrp.rec.advdat"
          style="width: 100%"
          placeholder="请选择到单日期"
        ></c-date-picker>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="受益人" prop="brdgrp.ben.pts.ref">
        <c-input
          v-model="model.brdgrp.ben.pts.ref"
          maxlength="16"
          placeholder="请输入受益人"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <span v-text="model.brtp.matp.mattxtlab" data-path=".brtp.matp.mattxtlab">
      </span>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
        <c-date-picker
          type="date"
          v-model="model.brdgrp.rec.matdat"
          style="width: 100%"
          placeholder="请选择Maturity Date"
        ></c-date-picker>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="远期单据到期日" prop="brdgrp.rec.stadat">
        <c-date-picker
          type="date"
          v-model="model.brdgrp.rec.stadat"
          style="width: 100%"
          placeholder="请选择远期单据到期日"
        ></c-date-picker>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Name of Party" prop="brdgrp.ben.pts.nam">
        <c-input
          v-model="model.brdgrp.ben.pts.nam"
          maxlength="40"
          placeholder="请输入Name of Party"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Document Condition" prop="brdgrp.rec.docflg">
        <c-select
          v-model="model.brdgrp.rec.docflg"
          style="width: 100%"
          placeholder="请选择Document Condition"
        >
        </c-select>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="单据类型" prop="brdgrp.rec.tenmaxday">
        <c-input
          v-model="model.brdgrp.rec.tenmaxday"
          placeholder="请输入单据类型"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="交单行" prop="brdgrp.prb.pts.ref">
        <c-input
          v-model="model.brdgrp.prb.pts.ref"
          maxlength="16"
          placeholder="请输入交单行"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
        <c-input
          v-model="model.brdgrp.prb.pts.nam"
          maxlength="40"
          placeholder="请输入Name of Party"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="单据状态" prop="brdgrp.rec.docsta">
        <c-select
          v-model="model.brdgrp.rec.docsta"
          style="width: 100%"
          placeholder="请选择单据状态"
        >
        </c-select>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Document Condition" prop="brdgrp.rec.docflg">
        <c-select
          v-model="model.brdgrp.rec.docflg"
          style="width: 100%"
          placeholder="请选择Document Condition"
        >
        </c-select>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Presented by" prop="brdgrp.rec.docprbrol">
        <c-select
          v-model="model.brdgrp.rec.docprbrol"
          style="width: 100%"
          placeholder="请选择Presented by"
        >
        </c-select>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item
        label="Drag  Drop Sender"
        prop="brtp.prbp.ptsget.sdamod.dadsnd"
      >
        <c-input
          v-model="model.brtp.prbp.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
        <c-date-picker
          type="date"
          v-model="model.brdgrp.rec.rcvdat"
          style="width: 100%"
          placeholder="请选择Received on"
        ></c-date-picker>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Presentation Date" prop="brdgrp.rec.predat">
        <c-date-picker
          type="date"
          v-model="model.brdgrp.rec.predat"
          style="width: 100%"
          placeholder="请选择Presentation Date"
        ></c-date-picker>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item
        label="External Key of Address"
        prop="brdgrp.prb.pts.extkey"
      >
        <c-input
          v-model="model.brdgrp.prb.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="brtp.prbp.ptsget.sdamod.seainf">
        <c-input
          v-model="model.brtp.prbp.ptsget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <c-button size="small" type="primary" @click="onPrbpDet">
        Details
      </c-button>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="名称" prop="brdgrp.prb.namelc">
        <c-input
          type="textarea"
          v-model="model.brdgrp.prb.namelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入名称"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="document currency" prop="setmod.doccur">
        <c-select
          v-model="model.setmod.doccur"
          style="width: 100%"
          placeholder="请选择document currency"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="document amount" prop="setmod.docamt">
        <c-input
          v-model="model.setmod.docamt"
          placeholder="请输入document amount"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.brdgrp.prb.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="brdgrp.prb.dbfadrblkcn">
        <c-input
          type="textarea"
          v-model="model.brdgrp.prb.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="brdgrp.cbs.opn2.cur">
        <c-select
          v-model="model.brdgrp.cbs.opn2.cur"
          style="width: 100%"
          placeholder="请选择附加金额"
        >
        </c-select>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="单据金额" prop="aamset.utlamt">
        <c-input
          v-model="model.aamset.utlamt"
          placeholder="请输入单据金额"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="地址" prop="brdgrp.prb.adrelc">
        <c-input
          type="textarea"
          v-model="model.brdgrp.prb.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="附加金额" prop="aamset.utlamt2">
        <c-input
          v-model="model.aamset.utlamt2"
          placeholder="请输入附加金额"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item
        label="Select MT to be sent to presenting bank"
        prop="brdgrp.rec.payrol"
      >
        <c-select
          v-model="model.brdgrp.rec.payrol"
          style="width: 100%"
          placeholder="请选择Select MT to be sent to presenting bank"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Which MT" prop="sftmt">
        <c-select
          v-model="model.sftmt"
          style="width: 100%"
          placeholder="请选择Which MT"
        >
        </c-select>
      </el-form-item>
    </c-col> -->
    <!-- <c-col :span="12">
      <el-form-item
        label="Drag  Drop Sender"
        prop="brtp.othp.ptsget.sdamod.dadsnd"
      >
        <c-input
          v-model="model.brtp.othp.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col> -->
827
    <!-- 
lianyang committed
828 829 830 831 832 833 834 835 836
    <c-col :span="12">
      <el-form-item label="External Key of Address" prop="brtp.oth.pts.extkey">
        <c-input
          v-model="model.brtp.oth.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col> -->
837
    <!-- =====================感叹号============== -->
lianyang committed
838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898
    <!-- <c-col :span="12">
      <el-form-item label="" prop="brtp.othp.ptsget.sdamod.seainf">
        <c-input
          v-model="model.brtp.othp.ptsget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <c-button size="small" type="primary" @click="onOthpDet">
        Details
      </c-button>
    </c-col>

    <c-col :span="12">
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="onAcctagButtxmsel"
      >
        ...
      </c-button>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="TAG72" prop="brdgrp.tag72add">
        <c-input
          type="textarea"
          v-model="model.brdgrp.tag72add"
          maxlength="50"
          show-word-limit
          placeholder="请输入TAG72"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="12">
      <el-form-item label="名称" prop="brtp.oth.namelc">
        <c-input
          type="textarea"
          v-model="model.brtp.oth.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="brtp.oth.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.brtp.oth.pts.adrblk"
          maxlength="35"
          show-word-limit
          placeholder="请输入Address Block"
        ></c-input>
      </el-form-item>
    </c-col> -->
899
    <!-- 
lianyang committed
900 901 902 903 904 905 906 907 908 909 910
    <c-col :span="12">
      <el-form-item label="Chinese address" prop="brtp.oth.dbfadrblkcn">
        <c-input
          type="textarea"
          v-model="model.brtp.oth.dbfadrblkcn"
          maxlength="35"
          show-word-limit
          placeholder="请输入Chinese address"
        ></c-input>
      </el-form-item>
    </c-col> -->
911
    <!-- 
lianyang committed
912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931
    <c-col :span="12">
      <el-form-item label="地址" prop="brtp.oth.adrelc">
        <c-input
          type="textarea"
          v-model="model.brtp.oth.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </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/Brtudp/Event";
import Ptap1 from "~/views/Public/Ptap1";
import Ptsmsg from "~/views/Public/Ptsmsg";
932
import Fullbox from '../../../components/Fullbox.vue';
lianyang committed
933 934

export default {
935
  components: {
lianyang committed
936 937 938 939 940 941 942 943 944 945
    "c-ptap1": Ptap1,
    // "c-ptap": Ptap,
    "c-ptsmsg": Ptsmsg,
  },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
946
  methods: { ...Event },
947
  created: function () { },
lianyang committed
948 949 950 951 952 953 954 955 956
  computed: {
    flag() {
      return this.model.brdgrp.prb.pts.extkey == "";
    },
  },
};
</script>
<style>
</style>