Dftcrep.vue 20 KB
Newer Older
panziyi committed
1
<template>
hewei committed
2 3 4 5
  <div class="eibs">

    <!--=================左边=================  -->
    <c-col :span="12" style="padding-right: 20px">
panziyi committed
6
      <c-col :span="24">
hewei committed
7 8 9 10 11 12 13 14 15 16 17 18
        <el-form-item
            label="Parent Reference"
            prop="dftcre.dfdgrp.rec.pntref"
        >
          <c-input
              v-model="model.dftcre.dfdgrp.rec.pntref"
              maxlength="16"
              disabled
              placeholder="请输入Parent Reference"
          ></c-input>
        </el-form-item>
      </c-col>
panziyi committed
19

hewei committed
20 21 22 23 24 25 26
      <c-col :span="24">
          <el-form-item
              label="代付业务编号:"
              prop="dftcre.dfdgrp.rec.ownref"
          >
            <c-fullbox>
              <c-input
panziyi committed
27 28 29 30
                  v-model="model.dftcre.dfdgrp.rec.ownref"
                  maxlength="16"
                  disabled
                  placeholder="请输入代付业务编号:"
hewei committed
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
              ></c-input>
              <template slot="footer">
                <c-button size="small" type="primary" @click="onDftpButgetref" :disabled="model.dftcre.dfdgrp.rec.ownref !== ''">
                  获取
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="13">
          <el-form-item label="单据金额:" prop="dftcre.oricur">
            <c-select
                v-model="model.dftcre.oricur"
panziyi committed
46 47
                style="width: 100%"
                disabled
hewei committed
48 49 50 51 52 53 54 55 56 57
                placeholder="请选择"
                :code="codes.curtxt1"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="11">
          <el-form-item label="" prop="dftcre.oriamt" label-width="5px">
            <c-input
                v-model="model.dftcre.oriamt"
panziyi committed
58
                disabled
hewei committed
59 60 61 62 63
                placeholder="请输入"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
panziyi committed
64

hewei committed
65 66 67 68 69 70 71 72
      <c-col :span="24">
        <c-col :span="13">
          <el-form-item label="代付金额:" prop="dftcre.dfdgrp.cbs.max.cur">
            <c-select
                v-model="model.dftcre.dfdgrp.cbs.max.cur"
                style="width: 100%"
                placeholder="请选择"
                :code="codes.curtxt1"
panziyi committed
73
            >
hewei committed
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="11">
          <el-form-item
              label=""
              prop="dftcre.dfdgrp.cbs.max.amt"
              label-width="5px"
          >
            <c-input
                v-model="model.dftcre.dfdgrp.cbs.max.amt"
                placeholder="请输入代付金额:"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="13">
          <el-form-item
              label="代付余额:"
              prop="dftcre.dfdgrp.cbs.opn1.cur"
          >
            <c-select
                v-model="model.dftcre.dfdgrp.cbs.opn1.cur"
panziyi committed
99
                style="width: 100%"
hewei committed
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
                disabled
                placeholder="请选择"
                :code="codes.cur"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="11">
          <el-form-item
              label=""
              prop="dftcre.dfdgrp.cbs.opn1.amt"
              label-width="5px"
          >
            <c-input
                v-model="model.dftcre.dfdgrp.cbs.opn1.amt"
                disabled
                placeholder="请输入代付余额:"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
panziyi committed
121

hewei committed
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
      <c-col :span="24">
        <el-form-item label="代付类型:" prop="dftcre.dfdgrp.rec.fintyp">
          <c-select
              v-model="model.dftcre.dfdgrp.rec.fintyp"
              style="width: 100%"
              disabled
              placeholder="请选择代付类型:"
              :code="codes.fintyp2"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item
              label="境内境外代付:"
              prop="dftcre.dfdgrp.rec.dfuflg"
          >
            <c-select
                v-model="model.dftcre.dfdgrp.rec.dfuflg"
panziyi committed
142
                style="width: 100%"
hewei committed
143 144 145 146 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
                placeholder="请选择境内境外代付:"
                :code="codes.dfuflg"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="发票类型" prop="dftcre.dfdgrp.rec.invtyp" label-width="110px">
            <c-select
                v-model="model.dftcre.dfdgrp.rec.invtyp"
                style="width: 100%"
                placeholder="请选择发票类型"
                :code="codes.invtyp"
            >
            </c-select>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <el-form-item label="交易类型:" prop="dftcre.dfdgrp.rec.trntyp">
          <c-select
              v-model="model.dftcre.dfdgrp.rec.trntyp"
              style="width: 100%"
              disabled
              placeholder="请选择交易类型:"
              :code="codes.trntyp2"
          >
          </c-select>
        </el-form-item>
      </c-col>
panziyi committed
173

hewei committed
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
      <c-col :span="24">
        <el-form-item
            label="代付起始日:"
            prop="dftcre.dfdgrp.rec.stttendat"
        >
          <c-date-picker
              type="date"
              v-model="model.dftcre.dfdgrp.rec.stttendat"
              style="width: 100%"
              placeholder="请选择代付起始日:"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="代付到期日:" prop="dftcre.dfdgrp.rec.matdat">
          <c-date-picker
              type="date"
              v-model="model.dftcre.dfdgrp.rec.matdat"
              style="width: 100%"
              placeholder="请选择代付到期日:"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="代付期限:" prop="dftcre.dfdgrp.rec.tenday">
            <c-input
panziyi committed
203 204 205
                v-model="model.dftcre.dfdgrp.rec.tenday"
                disabled
                placeholder="请输入代付期限:"
hewei committed
206 207
            ></c-input>
          </el-form-item>
panziyi committed
208
        </c-col>
hewei committed
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
        <c-col :span="3">
          <el-form-item label="天" label-width="30px" style="margin-left: auto">
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <el-form-item label="计息周期:" prop="dftcre.dfdgrp.rec.intprd">
          <c-select
              v-model="model.dftcre.dfdgrp.rec.intprd"
              style="width: 100%"
              placeholder="请选择计息周期:"
              :code="codes.intprd"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="代付利率:" prop="dftcre.dfdgrp.rec.actrat">
          <c-input
              v-model="model.dftcre.dfdgrp.rec.actrat"
              placeholder="请输入代付利率:"
          ></c-input>
        </el-form-item>
      </c-col>
panziyi committed
233

hewei committed
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item
              label="利率浮动方式:"
              prop="dftcre.dfdgrp.rec.flttyp"
          >
            <c-select
                v-model="model.dftcre.dfdgrp.rec.flttyp"
                style="width: 100%"
                placeholder="请选择利率浮动方式:"
            >
              <el-option
                  v-for="item in flttyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
              ></el-option>
            </c-select>
            <!-- <c-input v-model="model.dftcre.dfdgrp.rec.flttyp"></c-input> -->
          </el-form-item>
        </c-col>
        <c-col :span="12" style="text-align: right">
          <el-form-item label="浮动值" prop="dftcre.dfdgrp.rec.fltval" label-width="110px">
            <c-input
panziyi committed
258
                :disabled="model.dftcre.dfdgrp.rec.flttyp=='0'||model.dftcre.dfdgrp.rec.flttyp=='3'"
hewei committed
259 260 261 262 263 264 265 266
                v-model="model.dftcre.dfdgrp.rec.fltval"
                placeholder="请输入浮动值"
                style="width: 90%"
            ></c-input>
            <span style="width: 10%" v-if="model.dftcre.dfdgrp.rec.flttyp=='2'">%</span>
          </el-form-item>
        </c-col>
      </c-col>
panziyi committed
267

hewei committed
268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
      <c-col :span="24">
        <el-form-item label="货押标识:" prop="dftcre.dfdgrp.rec.guaflg">
          <c-select
              v-model="model.dftcre.dfdgrp.rec.guaflg"
              style="width: 100%"
              placeholder="请选择货押标识:"
              :code="codes.guaflg"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="24">
          <el-form-item
              label="代付利息"
              prop="dftcre.dfdgrp.rec.resamt"

          >
            <c-input
                v-model="model.dftcre.dfdgrp.rec.resamt"
                placeholder="请输入代付利息"
            ></c-input>
          </el-form-item>
panziyi committed
291
        </c-col>
hewei committed
292 293 294 295 296 297 298 299
      </c-col>

    </c-col>

    <!--=================右边=================  -->
    <c-col :span="12" style="padding-left: 20px">
        <c-col :span="24">
          <el-form-item
wangna committed
300
              label="父合同名称"
panziyi committed
301
              prop="dftcre.dfdgrp.rec.pntnam"
hewei committed
302 303
          >
            <c-input
panziyi committed
304 305 306
                v-model="model.dftcre.dfdgrp.rec.pntnam"
                maxlength="40"
                disabled
wangna committed
307
                placeholder="请输入父合同名称"
hewei committed
308 309 310 311 312
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item
wangna committed
313
              label="贷款合同名称"
panziyi committed
314
              prop="dftcre.dfdgrp.rec.nam"
hewei committed
315 316
          >
            <c-input
panziyi committed
317
                v-model=this.nam
panziyi committed
318
                maxlength="40" disabled
wangna committed
319
                placeholder="请输入贷款合同名称"
hewei committed
320 321 322 323 324 325 326
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="申请人参考号" prop="dftcre.dfdgrp.apl.pts.ref">
            <c-input
panziyi committed
327 328 329
                v-model="model.dftcre.dfdgrp.apl.pts.ref"
                maxlength="16"
                disabled
wangna committed
330
                placeholder="请输入申请人参考号"
hewei committed
331 332 333 334 335 336
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="21">
            <el-form-item
wangna committed
337
                label=""
panziyi committed
338
                prop="dftcre.dfdgrp.apl.pts.extkey"
hewei committed
339 340
            >
              <c-input
panziyi committed
341 342 343
                  v-model="model.dftcre.dfdgrp.apl.pts.extkey"
                  maxlength="16"
                  disabled
wangna committed
344
                  placeholder="请输入"
hewei committed
345 346 347 348 349
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="1">
            <el-form-item
panziyi committed
350 351 352
                label=""
                prop="dftcre.dftp.aplp.ptsget.sdamod.seainf"
                v-show="false"
hewei committed
353 354
            >
              <c-input
panziyi committed
355 356
                  v-model="model.dftcre.dftp.aplp.ptsget.sdamod.seainf"
                  placeholder="请输入"
hewei committed
357 358 359 360 361 362 363
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="2">
            <c-button size="small" type="primary" @click="onAplpDet">
              详情
            </c-button>
panziyi committed
364
          </c-col>
hewei committed
365
        </c-col>
panziyi committed
366

hewei committed
367 368
        <c-col :span="24">
          <el-form-item
nanrui committed
369
              label="地址信息"
panziyi committed
370
              prop="dftcre.dfdgrp.apl.pts.adrblk"
hewei committed
371 372
          >
            <c-input
panziyi committed
373 374 375 376 377
                type="textarea"
                v-model="model.dftcre.dfdgrp.apl.pts.adrblk"
                maxlength="35"
                show-word-limit
                disabled
nanrui committed
378
                placeholder="请输入地址信息"
panziyi committed
379
                :rows="5"
hewei committed
380 381 382
            ></c-input>
          </el-form-item>
        </c-col>
panziyi committed
383

hewei committed
384 385
        <c-col :span="24">
          <el-form-item
wangna committed
386
              label="国内地址"
panziyi committed
387 388
              prop="dftcre.dfdgrp.apl.dbfadrblkcn"
              v-show="false"
hewei committed
389 390
          >
            <c-input
panziyi committed
391 392 393 394
                type="textarea"
                v-model="model.dftcre.dfdgrp.apl.dbfadrblkcn"
                maxlength="35"
                show-word-limit
wangna committed
395
                placeholder="请输入国内地址"
panziyi committed
396
                :rows="5"
hewei committed
397 398 399
            ></c-input>
          </el-form-item>
        </c-col>
panziyi committed
400

hewei committed
401 402 403
        <c-col :span="24">
          <el-form-item label="代付行" prop="dftcre.dfdgrp.dff.pts.ref">
            <c-input
panziyi committed
404 405 406
                v-model="model.dftcre.dfdgrp.dff.pts.ref"
                maxlength="16"
                placeholder="请输入代付行"
hewei committed
407

panziyi committed
408
            >
panziyi committed
409
              ></c-input>
hewei committed
410 411
          </el-form-item>
        </c-col>
panziyi committed
412

hewei committed
413 414 415
        <c-col :span="24">
          <c-col :span="21">
            <el-form-item
wangna committed
416
                label=""
panziyi committed
417
                prop="dftcre.dfdgrp.dff.pts.extkey"
hewei committed
418 419
            >
              <c-input
panziyi committed
420 421
                  v-model="model.dftcre.dfdgrp.dff.pts.extkey"
                  maxlength="16"
wangna committed
422
                  placeholder="请输入"
hewei committed
423
                  @keyup.enter.native="
panziyi committed
424 425
                showGridPromptDialog('dftcre.dfdgrp.dff.pts.extkey')
              "
hewei committed
426 427 428 429 430 431 432
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="3">
            <c-button size="small" type="primary" @click="onDffpDet">
              详情
            </c-button>
panziyi committed
433
          </c-col>
hewei committed
434
        </c-col>
panziyi committed
435

hewei committed
436 437 438
        <c-col :span="24">
          <el-form-item label="名称" prop="dftcre.dfdgrp.dff.namelc"  v-show="false">
            <c-input
panziyi committed
439 440 441 442 443 444 445
                type="textarea"
                v-model="model.dftcre.dfdgrp.dff.namelc"
                maxlength="35"
                show-word-limit
                placeholder="请输入名称"
                :rows="5"
                disabled
hewei committed
446 447 448
            ></c-input>
          </el-form-item>
        </c-col>
panziyi committed
449

hewei committed
450 451
        <c-col :span="24">
          <el-form-item
panziyi committed
452 453
              label="地址"
              prop="dftcre.dfdgrp.dff.adrelc"
hewei committed
454 455 456

          >
            <c-input
panziyi committed
457
                type="textarea"
panziyi committed
458
                v-model="model.dftcre.dfdgrp.dff.pts.adrblk"
panziyi committed
459
                maxlength="35"
hewei committed
460 461
                :rows="5"
                disabled
panziyi committed
462 463
                show-word-limit
                placeholder="请输入地址"
hewei committed
464 465 466
            ></c-input>
          </el-form-item>
        </c-col>
panziyi committed
467

hewei committed
468 469
        <c-col :span="24">
          <el-form-item
panziyi committed
470 471
              label="代付行核心客户号"
              prop="dftcre.dfdgrp.rec.bankno"
hewei committed
472 473
          >
            <c-input
panziyi committed
474 475 476
                v-model="model.dftcre.dfdgrp.rec.bankno"
                maxlength="16"
                placeholder="请输入代付行核心客户号"
hewei committed
477 478 479 480 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
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="代付行中文名" prop="dftcre.dfdgrp.rec.bankcn">
            <c-input
                v-model="model.dftcre.dfdgrp.rec.bankcn"
                maxlength="40"
                placeholder="请输入代付行中文名"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
              label="同业代付内部账号"
              prop="dftcre.dfdgrp.rec.bnkact"
          >
            <c-input
                v-model="model.dftcre.dfdgrp.rec.bnkact"
                maxlength="32"
                disabled
                placeholder="请输入同业代付内部账号"
            ></c-input>
          </el-form-item>
        </c-col>
    </c-col>

<!--    <c-row>-->
<!--      v-show="false"-->
    <!--=================不展示区域=================  -->
      <c-col :span="24" v-show="false">
        <c-col :span="12" style="padding-right: 20px">
          <c-col :span="24">
            <el-form-item
                label="Drag  Drop Sender"
                prop="dftcre.dftp.aplp.ptsget.sdamod.dadsnd"
            >
              <c-input
                  v-model="model.dftcre.dftp.aplp.ptsget.sdamod.dadsnd"
                  placeholder="请输入Drag  Drop Sender"
panziyi committed
519 520 521 522 523
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
hewei committed
524
            <el-form-item label="地址" prop="dftcre.dfdgrp.apl.adrelc">
panziyi committed
525
              <c-input
hewei committed
526 527 528 529 530 531 532 533 534 535 536 537 538 539
                  type="textarea"
                  v-model="model.dftcre.dfdgrp.apl.adrelc"
                  maxlength="35"
                  show-word-limit
                  placeholder="请输入地址"
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="" prop="dftcre.dftp.dffp.ptsget.sdamod.seainf">
              <c-input
                  v-model="model.dftcre.dftp.dffp.ptsget.sdamod.seainf"
                  placeholder="请输入"
panziyi committed
540 541 542 543 544 545
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
hewei committed
546 547
                label="国内地址"
                prop="dftcre.dfdgrp.dff.dbfadrblkcn"
panziyi committed
548 549
            >
              <c-input
hewei committed
550 551 552 553 554
                  type="textarea"
                  v-model="model.dftcre.dfdgrp.dff.dbfadrblkcn"
                  maxlength="35"
                  show-word-limit
                  placeholder="请输入国内地址"
panziyi committed
555 556 557 558 559 560
              ></c-input>
            </el-form-item>
          </c-col>

        </c-col>

hewei committed
561 562 563 564 565 566 567 568 569 570 571 572
        <c-col :span="12" style="padding-left: 20px;">
          <c-col :span="24">
            <el-form-item label="名称" prop="dftcre.dfdgrp.apl.namelc">
              <c-input
                  type="textarea"
                  v-model="model.dftcre.dfdgrp.apl.namelc"
                  maxlength="35"
                  show-word-limit
                  placeholder="请输入名称"
              ></c-input>
            </el-form-item>
          </c-col>
panziyi committed
573

hewei committed
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
          <c-col :span="24">
            <el-form-item
                label="Drag  Drop Sender"
                prop="dftcre.dftp.dffp.ptsget.sdamod.dadsnd"
            >
              <c-input
                  v-model="model.dftcre.dftp.dffp.ptsget.sdamod.dadsnd"
                  placeholder="请输入Drag  Drop Sender"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
                label="地址信息"
                prop="dftcre.dfdgrp.dff.pts.adrblk"
            >
              <c-input
                  type="textarea"
                  v-model="model.dftcre.dfdgrp.dff.pts.adrblk"
                  maxlength="35"
                  show-word-limit
                  placeholder="请输入地址信息"
              ></c-input>
            </el-form-item>
          </c-col>
panziyi committed
599

hewei committed
600 601 602 603
          <c-col :span="24">
          <span
              v-text="model.dftcre.dftp.pctlab"
              data-path=".dftcre.dftp.pctlab"
panziyi committed
604
          >
hewei committed
605 606
          </span>
          </c-col>
panziyi committed
607 608 609 610 611


        </c-col>

      </c-col>
hewei committed
612
<!--    </c-row>-->
panziyi committed
613 614 615 616 617 618 619 620 621 622 623 624 625 626
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctset/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
panziyi committed
627 628 629 630 631 632
        flttyp: [
        { label: "浮动点", value: "1" },
        { label: "不浮动", value: "0" },
        { label: "浮动比率", value: "2" },
        { label: "按协议", value: "3" },
    ],
panziyi committed
633 634 635
     
    };
  },
panziyi committed
636
   watch: {
panziyi committed
637
    "model.dftcre.dfdgrp.rec.invtyp": {
panziyi committed
638 639 640 641 642 643 644
    immediate:true,
        handler(val,oldval){
        if(this.model.dftcre.dfdgrp.rec.invtyp=="") {
           this.model.dftcre.dfdgrp.rec.invtyp="1"
        }
      }
    },
panziyi committed
645 646 647 648 649 650 651 652 653 654 655 656 657 658
  "model.dftcre.dfdgrp.rec.fintyp": {
    immediate:true,
        handler(val,oldval){
        let nam=this.model.dftcre.dfdgrp.rec.nam;
        if(this.model.trtcre.crefinflg=="") {
           this.model.dftcre.dfdgrp.rec.fintyp="A"
          this.nam="我行风险参与"+" "+nam
        }else if(this.model.trtcre.crefinflg=="X") {
           this.model.dftcre.dfdgrp.rec.fintyp="B"
           this.nam="我行融资"+" "+nam
        }
        
      }
    },
panziyi committed
659
   },
panziyi committed
660 661 662 663 664
  methods: { ...Event },
};
</script>
<style>
</style>