Infconp.vue 18.2 KB
Newer Older
1
<template>
liushikai committed
2
  <div class="eibs-tab">
3 4 5 6 7 8 9 10 11 12
    <el-form
      ref="modelForm"
      label-width="150px"
      label-position="right"
      size="small"
      :validate-on-rule-change="false"
      disabled
    >
      <c-row>
        <!-- <div class="infTopBtn">
13 14 15 16 17 18 19
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary">Use</c-button>
            <c-button size="small" type="primary">Loginfo</c-button>
liushikai committed
20
        </div> -->
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
        <c-col :span="11">
          <c-col :span="24">
            <el-form-item label="业务编号" prop="cpdgrp.rec.ownref">
              <c-fullbox>
                <c-input
                  v-model="model.cpdgrp.rec.ownref"
                  maxlength="16"
                  placeholder="请输入Our Reference"
                >
                </c-input>
                <template slot="footer">
                  <c-button
                    size="small"
                    type="primary"
                    icon="el-icon-search"
36
                    style="margin: 0px 10px 0 10px; padding: 0 12px"
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
                  ></c-button>
                  <c-button
                    size="small"
                    type="primary"
                    @click="onRecpanGetref"
                    style="margin: 0 0"
                  >
                    获取
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="11" :offset="1">
          <!-- <c-col :span="10"> -->
liushikai committed
53 54 55 56 57 58 59
          <el-form-item label="Name" prop="cpdgrp.rec.nam">
            <c-input
              v-model="model.cpdgrp.rec.nam"
              maxlength="40"
              placeholder="请输入Name"
            ></c-input>
          </el-form-item>
60 61
          <!-- </c-col> -->
          <!-- <c-col :span="10">
liushikai committed
62 63 64 65 66 67 68 69 70 71 72 73
          <el-form-item
            label="Drag  Drop Sender"
            prop="recpan.recget.sdamod.dadsnd"
            label-width="120px"
          >
            <c-input
              v-model="model.recpan.recget.sdamod.dadsnd"
              placeholder="请输入Drag  Drop Sender"
            >
            </c-input>
          </el-form-item>
        </c-col> -->
74
        </c-col>
75

76 77 78 79 80
        <c-col :span="23" style="height: 10px">
          <el-divider></el-divider>
        </c-col>
        <!-- ============middle-left============ -->
        <c-col :span="11">
liushikai committed
81 82
          <c-col :span="24">
            <el-form-item label="清算编号" prop="cpdgrp.rec.sysno">
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
              <c-fullbox>
                <c-input
                  v-model="model.cpdgrp.rec.sysno"
                  maxlength="21"
                  placeholder="请输入清算编号"
                ></c-input>
                <template slot="footer">
                  <c-button
                    size="small"
                    type="primary"
                    @click="onRecpanGetinf"
                    style="padding: 0 12px"
                  >
                    Get
                  </c-button>
                </template>
              </c-fullbox>
liushikai committed
100 101
            </el-form-item>
          </c-col>
102

liushikai committed
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
          <c-col :span="13">
            <el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
              <c-select
                v-model="model.cpdgrp.cbs.nom1.cur"
                style="width: 100%"
                placeholder="请选择币种"
                :code="codes.cur"
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11">
            <el-form-item label="" label-width="5px" prop="cpdgrp.cbs.max.amt">
              <c-input-currency
                v-model="model.cpdgrp.cbs.max.amt"
                placeholder="请输入汇款金额"
              >
              </c-input-currency>
            </el-form-item>
          </c-col>
          <c-col :span="13">
            <el-form-item label="所属行" prop="cpdgrp.rec.othbch">
              <c-input
                v-model="model.cpdgrp.rec.othbch"
                maxlength="8"
                placeholder="请输入所属行"
              ></c-input>
            </el-form-item>
131 132 133 134 135 136 137
          </c-col>
          <c-col :span="11">
            <el-form-item
              label="汇款语种"
              prop="recpan.payuil"
              label-width="40%"
            >
liushikai committed
138 139 140 141 142 143 144
              <c-select
                v-model="model.recpan.payuil"
                style="width: 100%"
                placeholder="请选择汇款语种"
              >
              </c-select>
            </el-form-item>
145 146
          </c-col>
          <c-col :span="24">
liushikai committed
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
            <el-form-item label="我行费用负担" prop="cpdgrp.rec.detchgcod">
              <c-select
                v-model="model.cpdgrp.rec.detchgcod"
                style="width: 100%"
                placeholder="请选择我行费用负担"
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="货物类型" prop="cpdgrp.rec.stagod">
              <c-select
                v-model="model.cpdgrp.rec.stagod"
                style="width: 100%"
                placeholder="请选择货物类型"
                :code="codes.godcod"
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11">
            <el-form-item label="国外费用" prop="cpdgrp.rec.feecur">
              <c-select
                v-model="model.cpdgrp.rec.feecur"
                style="width: 100%"
                placeholder="请选择币种"
                :code="codes.cur"
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="13">
            <el-form-item label="" label-width="5px" prop="cpdgrp.rec.feeamt">
              <c-input-currency
                v-model="model.cpdgrp.rec.feeamt"
                placeholder="请输入汇款金额"
              >
              </c-input-currency>
            </el-form-item>
          </c-col>
187
        </c-col>
188

189 190
        <!-- ============middle-right============ -->
        <c-col :span="11" :offset="1">
liushikai committed
191 192 193 194 195 196
          <c-col :span="13">
            <el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp">
              <c-select
                v-model="model.cpdgrp.rec.trntyp"
                style="width: 100%"
                placeholder="请选择汇款性质"
197
                :code="codes.trntyp1"
liushikai committed
198 199 200 201 202
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11">
203 204 205 206 207
            <el-form-item
              label="汇款方式"
              prop="cpdgrp.rec.paytype"
              label-width="40%"
            >
liushikai committed
208 209 210 211
              <c-select
                v-model="model.cpdgrp.rec.paytype"
                style="width: 100%"
                placeholder="请选择汇款方式"
212
                :code="codes.paytype1"
liushikai committed
213 214 215 216 217 218 219 220 221 222
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="13">
            <el-form-item label="收款对象" prop="cpdgrp.rec.gors">
              <c-select
                v-model="model.cpdgrp.rec.gors"
                style="width: 100%"
                placeholder="请选择收款对象"
223
                :code="codes.gors"
liushikai committed
224 225 226 227 228
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11">
229 230 231 232 233
            <el-form-item
              label="收支类型"
              prop="cpdgrp.rec.sztyp"
              label-width="40%"
            >
liushikai committed
234 235 236 237
              <c-select
                v-model="model.cpdgrp.rec.sztyp"
                style="width: 100%"
                placeholder="请选择收支类型"
238
                :code="codes.sztyp"
liushikai committed
239 240 241 242 243 244
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Uetr" prop="recpan.uetr">
245 246 247 248 249 250
              <c-fullbox>
                <c-input
                  v-model="model.recpan.uetr"
                  maxlength="40"
                  placeholder="请输入Uetr"
                ></c-input>
251

252 253 254 255 256 257 258 259 260 261
                <template slot="footer">
                  <c-button
                    size="small"
                    type="primary"
                    @click="onRecpanGetuetr"
                  >
                    Get
                  </c-button>
                </template>
              </c-fullbox>
liushikai committed
262 263 264 265 266 267 268 269 270 271 272 273 274
            </el-form-item>
          </c-col>
          <c-col :span="13">
            <el-form-item label="解付日期" prop="cpdgrp.rec.paydat">
              <c-date-picker
                type="date"
                v-model="model.cpdgrp.rec.paydat"
                style="width: 100%"
                placeholder="请选择解付日期"
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="11">
275 276 277 278 279
            <el-form-item
              label="起息日"
              prop="cpdgrp.rec.valdat"
              label-width="40%"
            >
liushikai committed
280 281 282 283 284 285 286 287 288 289 290 291 292 293
              <c-date-picker
                type="date"
                v-model="model.cpdgrp.rec.valdat"
                style="width: 100%"
                placeholder="请选择起息日"
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="13">
            <el-form-item label="客户类型" prop="cpdgrp.rec.clityp">
              <c-select
                v-model="model.cpdgrp.rec.clityp"
                style="width: 100%"
                placeholder="请选择客户类型"
294
                :code="codes.clityp"
liushikai committed
295 296 297 298 299
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11">
300 301 302 303 304
            <el-form-item
              label="报文类型"
              prop="cpdgrp.rec.swftyp"
              label-width="40%"
            >
liushikai committed
305 306 307 308
              <c-select
                v-model="model.cpdgrp.rec.swftyp"
                style="width: 100%"
                placeholder="请选择报文类型"
309
                :code="codes.swftyp1"
liushikai committed
310 311 312 313
              >
              </c-select>
            </el-form-item>
          </c-col>
314 315 316

          <c-col :span="24">
            <el-form-item>
liushikai committed
317 318 319
              <c-checkbox v-model="model.cpdgrp.rec.tsnflg">
                同名划转标志
              </c-checkbox>
320
            </el-form-item>
liushikai committed
321
          </c-col>
322
        </c-col>
323

324 325 326
        <c-col :span="23" style="height: 10px">
          <el-divider></el-divider>
        </c-col>
327

328 329 330
        <!-- =============左============= -->
        <c-col :span="11">
          <!-- <c-col :span="24">
liushikai committed
331 332 333 334 335 336 337 338 339 340 341 342
            <c-ptap
              :model="model"
              :argadr="{
                title: 'Ordering',
                grp: 'cpdgrp',
                rol: 'ori',
              }"
              :noRef="false"
              :onlySearch="false"
              @onAplpDet="onOripDet"
            >
            </c-ptap>
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
          </c-col> -->
          <c-col :span="24">
            <el-form-item label="Ordering institution (52a)">
              <c-input v-model="model.cpdgrp.ori.ref"></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <c-ptap
              :model="model"
              :argadr="{
                title: '',
                grp: 'cpdgrp',
                rol: 'orc',
              }"
              :noRef="true"
              :editExtLabel="true"
              :haveAdrLabel="false"
              :isAdrblk="false"
              @onAplpDet="onOripDet"
            >
            </c-ptap>
          </c-col>
          <c-col :span="24">
            <el-form-item label="汇款人" prop="cpdgrp.orc.ref">
              <c-input
                v-model="model.cpdgrp.rec.ref"
                maxlength="35"
                placeholder="请输入汇款人"
              ></c-input>
            </el-form-item>
liushikai committed
373 374 375 376 377 378 379 380 381 382 383 384 385 386
          </c-col>
          <c-col :span="24">
            <el-form-item label="汇款人账号" prop="cpdgrp.rec.orcact">
              <c-input
                v-model="model.cpdgrp.rec.orcact"
                maxlength="35"
                placeholder="请输入汇款人账号"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <c-ptap
              :model="model"
              :argadr="{
387
                title: '',
liushikai committed
388 389 390
                grp: 'cpdgrp',
                rol: 'orc',
              }"
391 392 393 394
              :noRef="true"
              :editExtLabel="true"
              :haveAdrLabel="false"
              :isAdrblk="false"
liushikai committed
395 396 397 398
              @onAplpDet="onOrcpDet"
            >
            </c-ptap>
          </c-col>
399 400 401 402
        </c-col>
        <!-- =============右============= -->
        <c-col :span="11" :offset="1">
          <!-- <c-col :span="24">
liushikai committed
403 404 405 406 407 408 409 410 411 412 413 414 415
            <c-ptap
              :model="model"
              :argadr="{
                title: '发报行',
                grp: 'cpdgrp',
                rol: 'snd',
              }"
              :noRef="true"
              :onlySearch="false"
              @onAplpDet="onSndpDet"
            >
            </c-ptap>
           </c-col> -->
416 417 418 419 420 421
          <c-col :span="24">
            <el-form-item label="发报行" prop="cpdgrp.orc.pts.extkey">
              <c-fullbox>
                <c-input v-model="model.cpdgrp.orc.pts.extkey"></c-input>
                <template slot="footer">
                  <c-button
422
                    style="margin: 0px 10px 0 10px; padding: 0 12px"
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
                    size="small"
                    type="primary"
                    @click="onSeainf"
                  >
                    <span style="font-family: '宋体'; font-weight: bold"
                      >i</span
                    >
                  </c-button>
                  <c-button
                    style="margin: 0 0"
                    size="small"
                    type="primary"
                    @click="onDetail"
                  >
                    详情
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="" prop="cpdgrp.orc.pts.nam">
              <c-input v-model="model.cpdgrp.orc.pts.nam"></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
liushikai committed
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
            <el-form-item label="指令代码" prop="cpdgrp.rec.f23e">
              <c-input
                v-model="model.cpdgrp.rec.f23e"
                maxlength="35"
                placeholder="请输入指令代码"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="11">
            <el-form-item label="原始金额" prop="cpdgrp.rec.curf33b">
              <c-select
                v-model="model.cpdgrp.rec.curf33b"
                style="width: 100%"
                placeholder="请选择币种"
                :code="codes.cur"
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="13">
            <el-form-item label="" label-width="5px" prop="cpdgrp.rec.amtf33b">
              <c-input-currency
                v-model="model.cpdgrp.rec.amtf33b"
                placeholder="请输入原始金额"
              >
              </c-input-currency>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="汇率" prop="cpdgrp.rec.f36">
              <c-input
                v-model="model.cpdgrp.rec.f36"
                placeholder="请输入汇率"
              ></c-input>
            </el-form-item>
          </c-col>
485
          <c-col :span="11">
liushikai committed
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
            <el-form-item label="发报行扣费金额" prop="cpdgrp.rec.cur71f">
              <c-select
                v-model="model.cpdgrp.rec.cur71f"
                style="width: 100%"
                placeholder="请选择币种"
                :code="codes.cur"
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="13">
            <el-form-item label="" label-width="5px" prop="cpdgrp.rec.amt71f">
              <c-input-currency
                v-model="model.cpdgrp.rec.amt71f"
                placeholder="请输入原始金额"
              >
              </c-input-currency>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="银行操作码" prop="cpdgrp.rec.f23b">
              <c-input
                v-model="model.cpdgrp.rec.f23b"
                maxlength="4"
                placeholder="请输入银行操作码"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="收款人账号" prop="cpdgrp.rec.pyeact">
              <c-input
                v-model="model.cpdgrp.rec.pyeact"
                maxlength="35"
                placeholder="请输入收款人账号"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <c-ptap
              :model="model"
              :argadr="{
                title: '收款人',
                grp: 'cpdgrp',
                rol: 'pye',
              }"
              :noRef="true"
532 533
              :editExtLabel="true"
              :haveAdrLabel="false"
liushikai committed
534
              :onlySearch="false"
535
              :isAdrblk="false"
liushikai committed
536 537 538 539
              @onAplpDet="onPyepDet"
            >
            </c-ptap>
          </c-col>
540 541
        </c-col>
      </c-row>
liushikai committed
542
    </el-form>
liushikai committed
543
  </div>
544 545
</template>
<script>
liushikai committed
546
import Api from "~/service/Api";
wangren committed
547
import commonProcess from "~/mixin/commonProcess";
liushikai committed
548 549 550
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infcpd/Event";
import Ptap from "~/views/Public/Ptap";
551

liushikai committed
552 553 554
export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
555
  mixins: [commonProcess],
liushikai committed
556 557 558 559 560 561
  components: {
    "c-ptap": Ptap,
  },
  data() {
    return {};
  },
562
  methods: { ...Event, onSeainf() {}, onDetail() {} },
liushikai committed
563 564
  created: function () {},
};
565 566
</script>
<style>
liushikai committed
567 568 569 570 571 572 573 574 575 576 577 578 579 580
.infTopBtn {
  position: absolute;
  top: 0;
  z-index: 5;
  width: 100%;
  height: 30px;
  padding: 10px 0 10px 30px;
  background-color: #f7faff;
}
</style>
<style scoped>
.el-col >>> .el-divider--horizontal {
  margin-top: 0;
}
581
</style>