Dftcrep.vue 20.4 KB
Newer Older
panziyi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<template>
  <div class="eibs-tab">
    <c-row>
      <c-col :span="24">
        <c-col :span="11">
          <c-col :span="24">
            <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>

          <c-col :span="24">
            <c-col :span="20">
              <el-form-item
                label="代付业务编号:"
                prop="dftcre.dfdgrp.rec.ownref"
              >
                <c-input
                  v-model="model.dftcre.dfdgrp.rec.ownref"
                  maxlength="16"
                  disabled
                  placeholder="请输入代付业务编号:"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="4">
35
              <c-button size="small" type="primary" @click="onDftpButgetref" :disabled="model.dftcre.dfdgrp.rec.ownref !== ''">
wangna committed
36
                获取
panziyi committed
37 38 39
              </c-button>
            </c-col>
          </c-col>
panziyi committed
40
          
panziyi committed
41 42 43 44 45 46
            <c-col :span="13">
              <el-form-item label="单据金额:" prop="dftcre.oricur">
                <c-select
                  v-model="model.dftcre.oricur"
                  style="width: 100%"
                  disabled
wangna committed
47
                  placeholder="请选择"
panziyi committed
48
                  :code="codes.curtxt1"
panziyi committed
49 50 51 52 53 54 55 56 57
                >
                </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"
                  disabled
wangna committed
58
                  placeholder="请输入"
panziyi committed
59 60 61
                ></c-input>
              </el-form-item>
            </c-col>
panziyi committed
62 63
          
          
panziyi committed
64 65 66 67 68
            <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%"
wangna committed
69
                  placeholder="请选择"
panziyi committed
70
                  :code="codes.curtxt1"
panziyi committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
                >
                </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>
panziyi committed
87
          
panziyi committed
88

panziyi committed
89
          
panziyi committed
90 91 92 93 94 95 96 97 98
            <c-col :span="13">
              <el-form-item
                label="代付余额:"
                prop="dftcre.dfdgrp.cbs.opn1.cur"
              >
                <c-select
                  v-model="model.dftcre.dfdgrp.cbs.opn1.cur"
                  style="width: 100%"
                  disabled
wangna committed
99
                  placeholder="请选择"
panziyi committed
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
                  :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>
panziyi committed
118
          
panziyi committed
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
          <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"
                  style="width: 100%"
                  placeholder="请选择境内境外代付:"
                  :code="codes.dfuflg"
                >
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="12">
panziyi committed
147
              <el-form-item label="发票类型" prop="dftcre.dfdgrp.rec.invtyp" label-width="110px">
panziyi committed
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 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 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
                <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>

          <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
                v-model="model.dftcre.dfdgrp.rec.tenday"
                disabled
                placeholder="请输入代付期限:"
              ></c-input>
            </el-form-item>
            </c-col>
            <c-col :span="3">
                  <el-form-item label="天" label-width="30px">
                    </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>

          <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="请选择利率浮动方式:"
                >
panziyi committed
242 243 244 245 246 247
                  <el-option
                    v-for="item in flttyp"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  ></el-option>
panziyi committed
248
                </c-select>
panziyi committed
249
                <!-- <c-input v-model="model.dftcre.dfdgrp.rec.flttyp"></c-input> -->
panziyi committed
250 251
              </el-form-item>
            </c-col>
panziyi committed
252 253
            <c-col :span="12" style="text-align: right">
              <el-form-item label="浮动值" prop="dftcre.dfdgrp.rec.fltval" label-width="110px">
panziyi committed
254
                <c-input
panziyi committed
255
                :disabled="model.dftcre.dfdgrp.rec.flttyp=='0'||model.dftcre.dfdgrp.rec.flttyp=='3'"
panziyi committed
256 257
                  v-model="model.dftcre.dfdgrp.rec.fltval"
                  placeholder="请输入浮动值"
panziyi committed
258
                  style="width: 90%"
panziyi committed
259
                ></c-input>
panziyi committed
260
          <span style="width: 10%" v-if="model.dftcre.dfdgrp.rec.flttyp=='2'">%</span>
panziyi committed
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
              </el-form-item>
            </c-col>
          </c-col>

          <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">
panziyi committed
277
            <c-col :span="24">
panziyi committed
278
              <el-form-item
panziyi committed
279
                label="代付利息"
panziyi committed
280
                prop="dftcre.dfdgrp.rec.resamt"
panziyi committed
281
               
panziyi committed
282 283 284 285 286 287 288 289 290 291 292 293
              >
                <c-input
                  v-model="model.dftcre.dfdgrp.rec.resamt"
                  placeholder="请输入代付利息"
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>
        </c-col>
        <c-col :span="11" :offset="1">
          <c-col :span="24">
            <el-form-item
wangna committed
294
              label="父合同名称"
panziyi committed
295 296 297 298 299 300
              prop="dftcre.dfdgrp.rec.pntnam"
            >
              <c-input
                v-model="model.dftcre.dfdgrp.rec.pntnam"
                maxlength="40"
                disabled
wangna committed
301
                placeholder="请输入父合同名称"
panziyi committed
302 303 304 305 306
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
307
              label="贷款合同名称"
panziyi committed
308 309 310
              prop="dftcre.dfdgrp.rec.nam"
            >
              <c-input
panziyi committed
311
                v-model=this.nam
panziyi committed
312
                maxlength="40" disabled
wangna committed
313
                placeholder="请输入贷款合同名称"
panziyi committed
314 315 316
              ></c-input>
            </el-form-item>
          </c-col>
panziyi committed
317
          
panziyi committed
318
          <c-col :span="24">
wangna committed
319
            <el-form-item label="申请人参考号" prop="dftcre.dfdgrp.apl.pts.ref">
panziyi committed
320 321 322 323
              <c-input
                v-model="model.dftcre.dfdgrp.apl.pts.ref"
                maxlength="16"
                disabled
wangna committed
324
                placeholder="请输入申请人参考号"
panziyi committed
325 326 327 328 329 330
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <c-col :span="21">
              <el-form-item
wangna committed
331
                label=""
panziyi committed
332 333 334 335 336 337
                prop="dftcre.dfdgrp.apl.pts.extkey"
              >
                <c-input
                  v-model="model.dftcre.dfdgrp.apl.pts.extkey"
                  maxlength="16"
                  disabled
wangna committed
338
                  placeholder="请输入"
panziyi committed
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="1">
              <el-form-item
                label=""
                prop="dftcre.dftp.aplp.ptsget.sdamod.seainf"
                v-show="false"
              >
                <c-input
                  v-model="model.dftcre.dftp.aplp.ptsget.sdamod.seainf"
                  placeholder="请输入"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="2">
              <c-button size="small" type="primary" @click="onAplpDet">
356
                详情
panziyi committed
357 358 359 360 361 362
              </c-button>
            </c-col>
          </c-col>

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

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

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

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

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

          <c-col :span="24">
            <el-form-item
              label="地址"
              prop="dftcre.dfdgrp.dff.adrelc"
panziyi committed
448
      
panziyi committed
449 450 451
            >
              <c-input
                type="textarea"
panziyi committed
452
                v-model="model.dftcre.dfdgrp.dff.pts.adrblk"
panziyi committed
453
                maxlength="35"
panziyi committed
454
                 :rows="5"
panziyi committed
455
                 disabled
panziyi committed
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 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560
                show-word-limit
                placeholder="请输入地址"
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              label="代付行核心客户号"
              prop="dftcre.dfdgrp.rec.bankno"
            >
              <c-input
                v-model="model.dftcre.dfdgrp.rec.bankno"
                maxlength="16"
                placeholder="请输入代付行核心客户号"
              ></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-col>

      <c-col :span="24" v-show="false">
        <c-col :span="12">
          <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"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="12">
          <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>

        <c-col :span="12">
          <el-form-item label="地址" prop="dftcre.dfdgrp.apl.adrelc">
            <c-input
              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="12">
          <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="12">
          <el-form-item label="" prop="dftcre.dftp.dffp.ptsget.sdamod.seainf">
            <c-input
              v-model="model.dftcre.dftp.dffp.ptsget.sdamod.seainf"
              placeholder="请输入"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="12">
          <el-form-item
nanrui committed
561
            label="地址信息"
panziyi committed
562 563 564 565 566 567 568
            prop="dftcre.dfdgrp.dff.pts.adrblk"
          >
            <c-input
              type="textarea"
              v-model="model.dftcre.dfdgrp.dff.pts.adrblk"
              maxlength="35"
              show-word-limit
nanrui committed
569
              placeholder="请输入地址信息"
panziyi committed
570 571 572 573 574 575
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="12">
          <el-form-item
wangna committed
576
            label="国内地址"
panziyi committed
577 578 579 580 581 582 583
            prop="dftcre.dfdgrp.dff.dbfadrblkcn"
          >
            <c-input
              type="textarea"
              v-model="model.dftcre.dfdgrp.dff.dbfadrblkcn"
              maxlength="35"
              show-word-limit
wangna committed
584
              placeholder="请输入国内地址"
panziyi committed
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="12">
          <span
            v-text="model.dftcre.dftp.pctlab"
            data-path=".dftcre.dftp.pctlab"
          >
          </span>
        </c-col>
      </c-col>
    </c-row>
  </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
612 613 614 615 616 617
        flttyp: [
        { label: "浮动点", value: "1" },
        { label: "不浮动", value: "0" },
        { label: "浮动比率", value: "2" },
        { label: "按协议", value: "3" },
    ],
panziyi committed
618 619 620
     
    };
  },
panziyi committed
621
   watch: {
panziyi committed
622
    "model.dftcre.dfdgrp.rec.invtyp": {
panziyi committed
623 624 625 626 627 628 629
    immediate:true,
        handler(val,oldval){
        if(this.model.dftcre.dfdgrp.rec.invtyp=="") {
           this.model.dftcre.dfdgrp.rec.invtyp="1"
        }
      }
    },
panziyi committed
630 631 632 633 634 635 636 637 638 639 640 641 642 643
  "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
644
   },
panziyi committed
645 646 647 648 649
  methods: { ...Event },
};
</script>
<style>
</style>