Payp.vue 20.8 KB
Newer Older
zhengxiaokui committed
1 2
<template>
  <div class="eibs-tab">
3 4 5
          <!-- ====================================第一行 =================================-->
      <c-col :span="24">
      <!-- S0000198 : 信用证参考号 -->
zhengxiaokui committed
6
      <c-col :span="12">
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
        <c-form-item label="信用证参考号" prop="didgrp.rec.ownref">
          <c-fullbox>
            <c-input
              v-model="model.didgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入信用证参考号"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button style="margin: 0 0 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
            </template>
          </c-fullbox>
        </c-form-item>
zhengxiaokui committed
22
      </c-col>
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
                      <!-- S0000192 : 信用证余额 -->
      <c-col :span="11" :offset="1">
        <c-col :span="12">
          <c-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
            <c-select
              v-model="model.didgrp.cbs.opn1.cur"
              maxlength="3"
              placeholder="请选择币种"
              :code="codes.curtxt"
              disabled
            ></c-select>
          </c-form-item>
        </c-col>
        <c-col :span="12">
          <c-form-item label="" label-width="5px" prop="didgrp.cbs.opn1.amt">
            <c-input
              v-model="model.didgrp.cbs.opn1.amt"
              placeholder=""
              class="m-input-currency"
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
zhengxiaokui committed
46
      </c-col>
47
    </c-col>
zhengxiaokui committed
48

49 50 51
          <!-- ====================================第二行 =================================-->
          <!-- S0000195 : 到期日 -->
    <c-col :span="24">
zhengxiaokui committed
52
      <c-col :span="12">
53 54 55 56 57 58
      <el-form-item label="到期日" prop="didgrp.rec.expdat">
        <c-date-picker
          type="date"
          value-format="yyyy-MM-dd"
          v-model="model.didgrp.rec.expdat"
          style="width: 100%"
wangna committed
59
          placeholder="请输入到期日"
60 61 62
          disabled
        ></c-date-picker>
      </el-form-item>
zhengxiaokui committed
63
      </c-col>
64
    </c-col>
zhengxiaokui committed
65

66 67 68
          <!-- ====================================第三行 =================================-->
        <!-- S0000196 : 单据参考号 -->
    <c-col :span="24">
zhengxiaokui committed
69
      <c-col :span="12">
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
        <c-form-item label="单据参考号" prop="bddgrp.rec.ownref">
          <c-fullbox>
            <c-input
              v-model="model.bddgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入单据参考号"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button style="margin: 0 0 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
            </template>
          </c-fullbox>
        </c-form-item>
zhengxiaokui committed
85
      </c-col>
86 87 88 89 90 91 92
      <c-col :span="11" :offset="1">
        <!-- SF000230 : 摘要 -->
        <c-col :span="24">
          <c-form-item label="摘要" prop="bddgrp.rec.nam">
            <c-input
              v-model="model.bddgrp.rec.nam"
              maxlength="40"
wangna committed
93
              placeholder="请输入摘要"
94 95 96 97
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
zhengxiaokui committed
98
      </c-col>
99
    </c-col>
zhengxiaokui committed
100

101 102 103 104 105 106 107 108
      <!-- 分割线 -->
    <c-col :span="24">
      <el-form-item style="margin-left: -150px">
        <el-divider />
      </el-form-item>
    </c-col>

      <!-- ====================================中部-左边 单据金额-单据余额 ======================================-->
zhengxiaokui committed
109
      <c-col :span="12">
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
        <c-col :span="24">
              <!-- S0000197 : 单据金额 -->
        <c-col :span="12">
          <el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
            <c-select
              v-model="model.bddgrp.cbs.max.cur"
              style="width: 100%"
              placeholder="请选择币种"
              :code="codes.curtxt"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
          <c-col :span="12">
            <c-form-item label="" label-width="5px" prop="bddgrp.cbs.max.amt">
              <c-input
                v-model="model.bddgrp.cbs.max.amt"
                placeholder="请输入单据金额"
                class="m-input-currency"
                disabled
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>

            <!-- S0000199 : 单据余额 -->
        <c-col :span="24">
          <c-col :span="12">
            <c-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
              <c-select
                v-model="model.bddgrp.cbs.opn1.cur"
                maxlength="3"
                placeholder="请选择币种"
                :code="codes.curtxt"
                disabled
              ></c-select>
            </c-form-item>
          </c-col>
          <c-col :span="12">
            <c-form-item label="" label-width="5px" prop="bddgrp.cbs.opn1.amt">
              <c-input
                v-model="model.bddgrp.cbs.opn1.amt"
                placeholder="请输入单据余额"
                class="m-input-currency"
                disabled
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
            <!-- S0000200 : 到单日期 -->
          <c-col :span="12">
            <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
zhengxiaokui committed
165 166
              <c-date-picker
                type="date"
167
                v-model="model.bddgrp.rec.rcvdat"
zhengxiaokui committed
168
                style="width: 100%"
169 170 171
                placeholder="到单日期"
                value-format="yyyy-MM-dd"
                disabled
zhengxiaokui committed
172 173 174
              ></c-date-picker>
            </el-form-item>
          </c-col>
175 176 177 178 179 180 181
          <!-- SG000234 : 远期起算日 -->
          <c-col :span="12">
            <el-form-item label="远期起算日" prop="bddgrp.rec.stadat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.stadat"
                style="width: 100%"
wangna committed
182
                placeholder="请选择远期起算日"
183 184 185 186 187 188
                value-format="yyyy-MM-dd"
                disabled
              ></c-date-picker>
            </el-form-item>
          </c-col>
        </c-col>
zhengxiaokui committed
189

190 191 192 193 194 195 196 197 198
        <c-col :span="24">
            <!-- S0000201 : 单据到期日 -->
          <!-- <c-col :span="12">
            <span v-text="model.bdtp.matp.mattxtlab" data-path=".bdtp.matp.mattxtlab">
            </span>
          </c-col> -->
          <!-- Maturity Date单据到期日 -->
          <c-col :span="12">
            <el-form-item label="单据到期日" prop="bddgrp.rec.matdat">
zhengxiaokui committed
199 200
              <c-date-picker
                type="date"
201
                v-model="model.bddgrp.rec.matdat"
zhengxiaokui committed
202
                style="width: 100%"
wangna committed
203
                placeholder="请选择单据到期日"
204 205
                value-format="yyyy-MM-dd"
                disabled
zhengxiaokui committed
206 207 208
              ></c-date-picker>
            </el-form-item>
          </c-col>
209 210 211 212 213
          <!-- SG000235 : 远期期限 -->
          <c-col :span="12">
            <c-form-item label="远期期限" prop="bddgrp.rec.tenmaxday">
              <c-input
                v-model.number="model.bddgrp.rec.tenmaxday"
wangna committed
214
                placeholder="请输入远期期限"
215 216 217 218 219
                disabled
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>
zhengxiaokui committed
220

221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
                <!-- S0000206 : 单据类型 -->
        <c-col :span="24">
          <el-form-item label="单据类型" prop="bddgrp.rec.docflg">
            <c-select
              v-model="model.bddgrp.rec.docflg"
              style="width: 100%"
              placeholder="请选择单据类型"
              :code="codes.brdtyp"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>

            <!-- S0000207 : 单据状态 -->
        <c-col :span="12">
          <el-form-item label="单据状态" prop="bddgrp.rec.docsta">
            <c-select
              v-model="model.bddgrp.rec.docsta"
              style="width: 100%"
              placeholder="请选择单据状态"
              :code="codes.docsta1"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
      
zhengxiaokui committed
249
      </c-col>
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
      
      <!-- ====================================中部-右边 申请人 ======================================-->
      <c-col :span="11" :offset="1">
        <!-- S0000194 : 申请人 -->
        <!-- S0000203 : 编号 -->
        <c-col :span="24">
          <c-form-item label="申请人  编号" prop="bddgrp.apl.pts.ref">
            <c-input
              v-model="model.bddgrp.apl.pts.ref"
              maxlength="16"
              placeholder=""
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
        <!-- Name of Party -->
        <c-col :span="24">
          <c-form-item label="" prop="bddgrp.apl.pts.nam">
            <c-input
              v-model="model.bddgrp.apl.pts.nam"
              maxlength="40"
wangna committed
271
              placeholder=""
272 273 274 275
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
zhengxiaokui committed
276

277 278
          <!-- S0000193 : 受益人 -->
          <!-- S0000205 : 编号 -->
zhengxiaokui committed
279
          <c-col :span="24">
280 281 282 283 284 285 286 287
            <c-form-item label="受益人  编号" prop="bddgrp.ben.pts.ref">
              <c-input
                v-model="model.bddgrp.ben.pts.ref"
                maxlength="16"
                placeholder=""
                disabled
              ></c-input>
            </c-form-item>
zhengxiaokui committed
288 289
          </c-col>
          <c-col :span="24">
290 291 292 293 294 295 296 297
            <c-form-item label="" prop="bddgrp.ben.pts.nam">
              <c-input
                v-model="model.bddgrp.ben.pts.nam"
                maxlength="40"
                placeholder=""
                disabled
              ></c-input>
            </c-form-item>
zhengxiaokui committed
298
          </c-col>
zhengxiaokui committed
299

300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316
              <!-- S0000204 : 交单行 -->
          <!-- S0000208 : 编号 -->
          <c-col :span="24">
            <c-form-item label="交单行  编号" prop="bddgrp.prb.pts.ref">
              <c-input
                v-model="model.bddgrp.prb.pts.ref"
                maxlength="16"
                placeholder=""
                disabled
              ></c-input>
            </c-form-item>
          </c-col>
          <c-col :span="24">
            <c-form-item label="" prop="bddgrp.prb.pts.nam">
              <c-input
                v-model="model.bddgrp.prb.pts.nam"
                maxlength="40"
wangna committed
317
                placeholder=""
318 319 320 321
                disabled
              ></c-input>
            </c-form-item>
          </c-col>
zhengxiaokui committed
322
      </c-col>
323 324 325 326 327 328 329
      
            <!-- 分割线 -->
    <c-col :span="24">
      <el-form-item style="margin-left: -150px">
        <el-divider />
      </el-form-item>
    </c-col>
zhengxiaokui committed
330

331
          <!-- ====================================下部-左边 单据类型 ======================================-->
zhengxiaokui committed
332
      <c-col :span="12">
333 334 335 336 337 338 339 340 341 342 343 344 345
            <!-- SF000260 : 单据类型 -->
        <c-col :span="24">
          <el-form-item label="单据类型" prop="bddgrp.rec.docflg">
            <c-select
              v-model="model.bddgrp.rec.docflg"
              style="width: 100%"
              placeholder="单据类型"
              :code="codes.brdtyp"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
zhengxiaokui committed
346

347 348 349
        <c-col :span="24">
            <!-- S0000250 : 到单日期 -->
          <c-col :span="12">
zhengxiaokui committed
350 351 352 353 354
            <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.rcvdat"
                style="width: 100%"
355 356
                placeholder="到单日期"
                value-format="yyyy-MM-dd"
zhengxiaokui committed
357 358 359
              ></c-date-picker>
            </el-form-item>
          </c-col>
360 361
          <!-- S0000249 : 交单日期 -->
          <c-col :span="12">
zhengxiaokui committed
362 363 364 365 366
            <el-form-item label="交单日期" prop="bddgrp.rec.predat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.predat"
                style="width: 100%"
367 368
                placeholder="交单日期"
                value-format="yyyy-MM-dd"
zhengxiaokui committed
369 370 371
              ></c-date-picker>
            </el-form-item>
          </c-col>
372
        </c-col>
zhengxiaokui committed
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
        <c-col :span="24">
            <!-- SF000282 : 承兑金额 -->
          <c-col :span="12">
            <el-form-item label="承兑金额" prop="setmod.doccur">
              <c-select
                v-model="model.setmod.doccur"
                style="width: 100%"
                placeholder="请选择币种"
                :code="codes.curtxt"
                disabled
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <c-form-item label="" label-width="5px" prop="setmod.docamt">
              <c-input
                v-model="model.setmod.docamt"
                placeholder=""
                class="m-input-currency"
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>
zhengxiaokui committed
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
        <c-col :span="24">
            <!-- SF000009 : 单据金额 -->
          <c-col :span="12">
            <el-form-item label="单据金额" prop="bddgrp.cbs.opn2.cur">
              <c-select
                v-model="model.bddgrp.cbs.opn2.cur"
                style="width: 100%"
                placeholder="请选择币种"
                :code="codes.curtxt"
                disabled
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <c-form-item label="" label-width="5px" prop="aamset.utlamt">
              <c-input
                v-model="model.aamset.utlamt"
                class="m-input-currency"
                placeholder=""
                :disabled="model.aamset.aammod.opn2.amt==0"
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>
zhengxiaokui committed
424

425 426 427 428
        <c-col :span="24">
            <!-- S0000008 : 附加金额 -->
          <c-col :span="12">
            <el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur">
zhengxiaokui committed
429
              <c-select
430
                v-model="model.bddgrp.cbs.opn2.cur"
zhengxiaokui committed
431
                style="width: 100%"
432 433 434
                placeholder="请选择币种"
                :code="codes.curtxt"
                disabled
zhengxiaokui committed
435 436 437 438
              >
              </c-select>
            </el-form-item>
          </c-col>
439 440 441 442 443 444 445 446 447 448 449
          <c-col :span="12">
            <c-form-item label="" label-width="5px" prop="aamset.utlamt2">
              <c-input
                v-model="model.aamset.utlamt2"
                placeholder=""
                class="m-input-currency"
                :disabled="model.aamset.amt2okflg==''"
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>
zhengxiaokui committed
450

451 452 453 454 455 456
          <!-- SG000283 : Which MT 发送承付电 -->
        <c-col :span="24">
          <el-form-item label="发送承付电" prop="sftmt">
            <c-select
              v-model="model.sftmt"
              style="width: 100%"
wangna committed
457
              placeholder="请选择发送承付电"
458
            >
459 460 461 462 463 464 465
              <el-option
                  v-for="item in codeTable"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
              >
              </el-option>
466 467 468 469 470 471 472
            </c-select>
          </el-form-item>
        </c-col>
        <!-- TAG72 -->
        <c-col :span="24">
          <c-form-item label="" prop="bddgrp.tag72add">
            <c-fullbox>
zhengxiaokui committed
473 474 475
              <c-input
                type="textarea"
                v-model="model.bddgrp.tag72add"
476
                maxlength="1750"
zhengxiaokui committed
477
                show-word-limit
478
                :rows="4"
wangna committed
479
                placeholder=""
480
                :disabled="model.sftmt==''"
zhengxiaokui committed
481
              ></c-input>
482 483 484 485 486
              <template slot="footer">
                <c-button
                  size="small"
                  type="primary"
                  icon="el-icon-search"
487
                  @click="onAcctagButtxmsel"
488 489
                  :disabled="model.sftmt==''"
                >
490
                <!-- @click="showGridPromptDialog('bdtp.acctag.buttxmsel', null, null,{TXT: 'bddgrp.tag72add'}, {TXT: false},'doxpDialog')"-->
491 492 493 494 495 496 497 498 499
                ...
                </c-button>
              </template>
            </c-fullbox>
            
          </c-form-item>
        </c-col>


zhengxiaokui committed
500 501
      </c-col>

502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523
      <!-- ====================================下部-右边 交单行 ======================================-->
      <c-col :span="11" :offset="1">
        <!-- SF000246 : 交单行 -->
        <c-col :span="24">
          <el-form-item label="交单行" prop="bddgrp.rec.docprbrol">
            <c-select
              v-model="model.bddgrp.rec.docprbrol"
              style="width: 100%"
              placeholder="请选择交单行"
              :code="codes.docprbrol"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>

            <!-- S0000121 : BIC External Key of Address -->
        <c-col :span="24">
          <c-form-item label="BIC" prop="bddgrp.prb.pts.extkey">
            <c-input
              v-model="model.bddgrp.prb.pts.extkey"
              maxlength="16"
wangna committed
524
              placeholder="请输入"
525 526 527 528 529 530 531 532 533 534
            ></c-input>
          </c-form-item>
        </c-col>

        <!-- S0000122 : 联行行号 -->
        <c-col :span="24">
          <c-form-item label="联行行号" prop="bddgrp.prb.pts.bankno">
            <c-input
              v-model="model.bddgrp.prb.pts.bankno"
              maxlength="20"
wangna committed
535
              placeholder="请输入联行行号"
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
            ></c-input>
          </c-form-item>
        </c-col>
        <c-col :span="24">
          <c-form-item label="联行名称  电证用" prop="bddgrp.prb.pts.jigomc">
            <c-input
              type="textarea"
              v-model="model.bddgrp.prb.pts.jigomc"
              maxlength="140"
              show-word-limit
              placeholder="联行名称  电证用"
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
        <c-col :span="24">
          <c-form-item label="地址  电证用" prop="bddgrp.prb.pts.dizhii">
            <c-input
              type="textarea"
              v-model="model.bddgrp.prb.pts.dizhii"
              maxlength="140"
              show-word-limit
              placeholder="地址  电证用"
            ></c-input>
          </c-form-item>
        </c-col>

            <!-- SF000247 : 付款人 -->
        <c-col :span="24">
          <el-form-item label="付款人" prop="bddgrp.rec.payrol">
            <c-select
              v-model="model.bddgrp.rec.payrol"
              style="width: 100%"
              placeholder="付款人"
              :code="codes.payrol"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
            <!-- S0000121 : BIC External Key of Address-->
        <c-col :span="24">
          <c-form-item label="BIC" prop="bdtp.oth.pts.extkey">
            <c-input
              v-model="model.bdtp.oth.pts.extkey"
              maxlength="16"
wangna committed
582
              placeholder="请输入"
583 584 585 586 587 588 589 590 591 592 593 594
              disabled
            ></c-input>
          </c-form-item>
        </c-col>

        
        <!-- S0000122 : 联行行号 -->
        <c-col :span="24">
          <c-form-item label="联行行号" prop="bdtp.oth.pts.bankno">
            <c-input
              v-model="model.bdtp.oth.pts.bankno"
              maxlength="20"
wangna committed
595
              placeholder="请输入联行行号"
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
              disabled
            ></c-input>
          </c-form-item>
        </c-col>

    <c-col :span="24">
      <c-form-item label="联行名称  电证用" prop="bdtp.oth.pts.jigomc">
        <c-input
          type="textarea"
          v-model="model.bdtp.oth.pts.jigomc"
          maxlength="140"
          show-word-limit
          placeholder="联行名称  电证用"
          disabled
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="24">
      <c-form-item label="地址  电证用" prop="bdtp.oth.pts.dizhii">
        <c-input
          type="textarea"
          v-model="model.bdtp.oth.pts.dizhii"
          maxlength="140"
          show-word-limit
          placeholder="地址  电证用"
          disabled
        ></c-input>
      </c-form-item>
    </c-col>
      
zhengxiaokui committed
627
      </c-col>
wangna committed
628
    
zhengxiaokui committed
629 630 631
  </div>
</template>
<script>
632 633 634 635
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Bdtudp/Event'
zhengxiaokui committed
636 637

export default {
638 639
  inject: ['root'],
  props: ['model', 'codes'],
wangren committed
640
  mixins: [commonProcess],
zhengxiaokui committed
641
  data() {
642 643 644 645 646
    return {
      codeTable: [
        { label: "MT x99 Information by Free Message", value: "x99" },
      ],
    }
zhengxiaokui committed
647
  },
648
  methods: { ...Event },
zhengxiaokui committed
649
  created: function () {},
650
}
zhengxiaokui committed
651
</script>
652
<style></style>