Payp.vue 20.3 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
        <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">
nanrui committed
17
                <i class="el-icon-info"></i>
18 19 20 21
              </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
        <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">
nanrui committed
80
                <i class="el-icon-info"></i>
81 82 83 84
              </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
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="单据到期日" prop="bddgrp.rec.matdat">
zhengxiaokui committed
193 194
              <c-date-picker
                type="date"
195
                v-model="model.bddgrp.rec.matdat"
zhengxiaokui committed
196
                style="width: 100%"
wangna committed
197
                placeholder="请选择单据到期日"
198 199
                value-format="yyyy-MM-dd"
                disabled
zhengxiaokui committed
200 201 202
              ></c-date-picker>
            </el-form-item>
          </c-col>
203 204 205 206 207
          <!-- SG000235 : 远期期限 -->
          <c-col :span="12">
            <c-form-item label="远期期限" prop="bddgrp.rec.tenmaxday">
              <c-input
                v-model.number="model.bddgrp.rec.tenmaxday"
wangna committed
208
                placeholder="请输入远期期限"
209 210 211 212 213
                disabled
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>
zhengxiaokui committed
214

215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
                <!-- 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
243
      </c-col>
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262
      
      <!-- ====================================中部-右边 申请人 ======================================-->
      <c-col :span="11" :offset="1">
        <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
263
              placeholder=""
264 265 266 267
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
zhengxiaokui committed
268

269 270
          <!-- S0000193 : 受益人 -->
          <!-- S0000205 : 编号 -->
zhengxiaokui committed
271
          <c-col :span="24">
272 273 274 275 276 277 278 279
            <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
280 281
          </c-col>
          <c-col :span="24">
282 283 284 285 286 287 288 289
            <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
290
          </c-col>
zhengxiaokui committed
291

292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
              <!-- 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
309
                placeholder=""
310 311 312 313
                disabled
              ></c-input>
            </c-form-item>
          </c-col>
zhengxiaokui committed
314
      </c-col>
315 316 317 318 319 320 321
      
            <!-- 分割线 -->
    <c-col :span="24">
      <el-form-item style="margin-left: -150px">
        <el-divider />
      </el-form-item>
    </c-col>
zhengxiaokui committed
322

323
          <!-- ====================================下部-左边 单据类型 ======================================-->
zhengxiaokui committed
324
      <c-col :span="12">
325 326 327 328 329 330 331 332 333 334 335 336 337
            <!-- 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
338

339 340 341
        <c-col :span="24">
            <!-- S0000250 : 到单日期 -->
          <c-col :span="12">
zhengxiaokui committed
342 343 344 345 346
            <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.rcvdat"
                style="width: 100%"
347 348
                placeholder="到单日期"
                value-format="yyyy-MM-dd"
zhengxiaokui committed
349 350 351
              ></c-date-picker>
            </el-form-item>
          </c-col>
352 353
          <!-- S0000249 : 交单日期 -->
          <c-col :span="12">
zhengxiaokui committed
354 355 356 357 358
            <el-form-item label="交单日期" prop="bddgrp.rec.predat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.predat"
                style="width: 100%"
359 360
                placeholder="交单日期"
                value-format="yyyy-MM-dd"
zhengxiaokui committed
361 362 363
              ></c-date-picker>
            </el-form-item>
          </c-col>
364
        </c-col>
zhengxiaokui committed
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
        <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
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
        <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
416

417 418 419 420
        <c-col :span="24">
            <!-- S0000008 : 附加金额 -->
          <c-col :span="12">
            <el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur">
zhengxiaokui committed
421
              <c-select
422
                v-model="model.bddgrp.cbs.opn2.cur"
zhengxiaokui committed
423
                style="width: 100%"
424 425 426
                placeholder="请选择币种"
                :code="codes.curtxt"
                disabled
zhengxiaokui committed
427 428 429 430
              >
              </c-select>
            </el-form-item>
          </c-col>
431 432 433 434 435 436 437 438 439 440 441
          <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
442

443 444 445 446 447 448
          <!-- SG000283 : Which MT 发送承付电 -->
        <c-col :span="24">
          <el-form-item label="发送承付电" prop="sftmt">
            <c-select
              v-model="model.sftmt"
              style="width: 100%"
wangna committed
449
              placeholder="请选择发送承付电"
450
            >
451 452 453 454 455 456 457
              <el-option
                  v-for="item in codeTable"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
              >
              </el-option>
458 459 460 461 462 463 464
            </c-select>
          </el-form-item>
        </c-col>
        <!-- TAG72 -->
        <c-col :span="24">
          <c-form-item label="" prop="bddgrp.tag72add">
            <c-fullbox>
zhengxiaokui committed
465 466 467
              <c-input
                type="textarea"
                v-model="model.bddgrp.tag72add"
468
                maxlength="1750"
zhengxiaokui committed
469
                show-word-limit
470
                :rows="4"
wangna committed
471
                placeholder=""
472
                :disabled="model.sftmt==''"
zhengxiaokui committed
473
              ></c-input>
474 475 476 477 478
              <template slot="footer">
                <c-button
                  size="small"
                  type="primary"
                  icon="el-icon-search"
479
                  @click="onAcctagButtxmsel"
480 481 482 483 484 485 486 487 488 489 490
                  :disabled="model.sftmt==''"
                >
                ...
                </c-button>
              </template>
            </c-fullbox>
            
          </c-form-item>
        </c-col>


zhengxiaokui committed
491 492
      </c-col>

493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514
      <!-- ====================================下部-右边 交单行 ======================================-->
      <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
515
              placeholder="请输入"
516 517 518 519 520 521 522 523 524 525
            ></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
526
              placeholder="请输入联行行号"
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
            ></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
573
              placeholder="请输入"
574 575 576 577 578 579 580 581 582 583 584 585
              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
586
              placeholder="请输入联行行号"
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
              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
618
      </c-col>
wangna committed
619
    
zhengxiaokui committed
620 621 622
  </div>
</template>
<script>
623 624 625 626
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Bdtudp/Event'
zhengxiaokui committed
627 628

export default {
629 630
  inject: ['root'],
  props: ['model', 'codes'],
wangren committed
631
  mixins: [commonProcess],
zhengxiaokui committed
632
  data() {
633 634 635 636 637
    return {
      codeTable: [
        { label: "MT x99 Information by Free Message", value: "x99" },
      ],
    }
zhengxiaokui committed
638
  },
639
  methods: { ...Event },
zhengxiaokui committed
640
  created: function () {},
641
}
zhengxiaokui committed
642
</script>
643
<style></style>