Bptopnp.vue 31.2 KB
Newer Older
jianglong committed
1
<template>
LiRui committed
2
  <div class="eibs">
jianglong committed
3 4
    <!-- =================顶部====================== -->
    <c-row>
wangna committed
5 6
      <!--line1-->
      <c-col :span="24">
LiRui committed
7
        <c-col :span="12" style="padding-right: 20px;">
wangna committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
          <el-form-item
            label="票据项下的业务号"
            prop="bpdgrp.rec.pntref"
            style="width: 100%"
          >
            <c-input
              v-model="model.bpdgrp.rec.pntref"
              maxlength="16"
              placeholder="请输入票据项下的业务号"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
26
                <i class="el-icon-info"></i>
wangna committed
27 28 29 30
              </c-button>
            </template>
          </el-form-item>
        </c-col>
wanggang_yf committed
31

LiRui committed
32
        <c-col :span="12" style="padding-left: 20px;">
wangna committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
          <el-form-item
            label="票据项下的名称"
            prop="bpdgrp.rec.pntnam"
            style="width: 100%"
          >
            <c-input
              v-model="model.bpdgrp.rec.pntnam"
              maxlength="16"
              placeholder=""
              disabled
            ></c-input>
            <template slot="footer"> </template>
          </el-form-item>
        </c-col>
      </c-col>

      <!--line2-->
      <c-col :span="24">
LiRui committed
51
        <c-col :span="12" style="padding-right: 20px;">
wangna committed
52 53 54 55 56
          <el-form-item
            label="融资业务号"
            prop="bpdgrp.rec.ownref"
            style="width: 100%"
          >
LiRui committed
57
          <c-fullbox>
wangna committed
58 59 60 61 62 63 64
            <c-input
              v-model="model.bpdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入融资业务号"
              disabled
            ></c-input>
            <template slot="footer">
LiRui committed
65 66
              <c-button size="small" type="primary" @click="onBptmodButgetref" :disbled="model.bpdgrp.rec.ownref !== ''"
            >获取
wangna committed
67 68
              </c-button>
            </template>
LiRui committed
69
          </c-fullbox>
wangna committed
70
          </el-form-item>
jianglong committed
71 72
        </c-col>

LiRui committed
73
        <c-col :span="12" style="padding-left: 20px;">
wangna committed
74 75 76 77 78 79 80
          <el-form-item label="融资名称" prop="bpdgrp.rec.nam" style="width: 100%">
            <c-input
              v-model="model.bpdgrp.rec.nam"
              maxlength="16"
              placeholder=""
              disabled
            ></c-input>
81
            <!-- <template slot="footer"> </template> -->
wangna committed
82 83 84 85 86 87
          </el-form-item>
        </c-col>
      </c-col>

      <!--line3-->
      <c-col :span="24">
LiRui committed
88
        <c-col :span="12" style="padding-right: 20px;">
wangna committed
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
          <el-form-item
            label="采购协议"
            prop="bptp.fpdgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.bptp.fpdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入采购协议"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
107
                <i class="el-icon-info"></i>
wangna committed
108 109 110
              </c-button>
            </template>
          </el-form-item>
jianglong committed
111
        </c-col>
wanggang_yf committed
112

wangna committed
113

LiRui committed
114
        <c-col :span="12" style="padding-left: 20px;">
wangna committed
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
          <el-form-item
            label="采购协议名称"
            prop="bptp.fpdgrp.rec.nam"
            style="width: 100%"
          >
            <c-input
              v-model="model.bptp.fpdgrp.rec.nam"
              maxlength="16"
              placeholder=""
              disabled
            ></c-input>
            <template slot="footer"> </template>
          </el-form-item>
        </c-col>
      </c-col>
jianglong committed
130 131 132 133
    </c-row>

    <!-- =================中部====================== -->
    <c-row>
wangna committed
134
      <!------------左部------------->
LiRui committed
135
      <c-col :span="12" style="padding-right: 20px;">
wangna committed
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
        <!---line1--->
        <c-row>
          <c-col :span="12">
            <el-form-item
              label="责任用户"
              prop="bptp.usr.extkey"
              style="width: 100%"
            >
              <c-input
                v-model="model.bptp.usr.extkey"
                maxlength="8"
                placeholder=""
                disabled
              ></c-input>
              <template slot="footer">
                <c-button
                  style="margin: 0 10px 0 10px; padding: 0 12px"
                  size="small"
                  type="primary"
                  @click="onSeainf"
                >
nanrui committed
157
                  <i class="el-icon-info"></i>
wangna committed
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
                </c-button>
              </template>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item
              label="抵押标志"
              prop="bpdgrp.rec.guaflg"
              style="width: 100%"
            >
              <c-select
                v-model="model.bpdgrp.rec.guaflg"
                style="width: 100%"
                maxlength="16"
                placeholder=""
              >
                <el-option
                  v-for="item in codes.guaflg"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>

              <template slot="footer"> </template>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line2--->
        <c-row>
          <c-col :span="12">
            <el-form-item
              label="融资类型"
              prop="bpdgrp.rec.fintyp"
              style="width: 100%"
            >
              <c-select
                v-model="model.bpdgrp.rec.fintyp"
                style="width: 100%"
                maxlength="16"
                placeholder=""
              >
                <el-option
LiRui committed
204
                  v-for="item in codes.fintyp_bpd1"
wangna committed
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>

              <template slot="footer"> </template>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item
              label="出口贴现类型"
              prop="bptp.distyp"
              style="width: 100%"
              v-if="
jianglong committed
222
                model.bpdgrp.rec.fintyp == 'D' || model.bpdgrp.rec.fintyp == 'T'
wangna committed
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
              "
            >
              <c-select
                v-model="model.bptp.distyp"
                style="width: 100%"
                maxlength="16"
                placeholder=""
              >
                <el-option
                  v-for="item in codes.distyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>

              <template slot="footer"> </template>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item
              label="出口押汇类型"
              prop="bptp.purtyp"
              v-if="
jianglong committed
249
                model.bpdgrp.rec.fintyp == 'P' || model.bpdgrp.rec.fintyp == 'M'
wangna committed
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271
              "
            >
              <c-select
                v-model="model.bptp.purtyp"
                style="width: 100%"
                placeholder=" "
              >
                <el-option
                  v-for="item in codes.purtyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line4--->
        <c-row>
          <c-col :span="12">
272 273
            <el-form-item 
              v-if="model.bpdgrp.rec.pnttyp!='' || model.bpdgrp.rec.fpdinr!=''"
wangna committed
274
              label="融资单据金额" prop="tensetcur"
275
            >
wangna committed
276 277 278
              <c-select
                v-model="model.tensetcur"
                style="width: 100%"
wangna committed
279
                placeholder="请选择融资单据金额"
wangna committed
280 281 282 283 284 285 286 287 288 289 290 291 292
              >
                <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="12">
293 294
            <el-form-item 
              v-if="model.bpdgrp.rec.pnttyp!='' || model.bpdgrp.rec.fpdinr!=''"
wangna committed
295
              label="金额" prop="tensetamt"
296
            >
wangna committed
297 298
              <c-input
                v-model="model.tensetamt"
wangna committed
299
                placeholder="请输入金额"
wangna committed
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
                maxlength="16"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line5--->
        <c-row>
          <c-col :span="24">
            <el-form-item label="贸易合同号" prop="bpdgrp.rec.mycontno">
              <c-input
                v-model="model.bpdgrp.rec.mycontno"
                maxlength="35"
                placeholder="请输入贸易合同号"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>
liaoxing committed
318 319 320 321 322 323

        <!---line1---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="融资金额" prop="bpdgrp.cbs.max.cur">
              <c-select
liaoxing committed
324 325
                :disabled="(model.bpdgrp.rec.pnttyp !='' && model.bpdgrp.rec.fpdinr !='') &&
                ((model.ledgrp.rec.dflg=='D' || model.dedgrp.rec.dflg=='D') || (model.bpdgrp.rec.fintyp=='F' || model.bpdgrp.rec.fintyp=='U'))"
liaoxing committed
326 327 328
                v-model="model.bpdgrp.cbs.max.cur"
                style="width: 100%"
                placeholder="请选择融资币种"
329
                @keyup.enter.native="maxCurEvent"
liaoxing committed
330 331 332 333 334 335 336 337 338 339 340 341 342
              >
                <el-option
                  v-for="item in codes.curtxt1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="12">
343
            <el-form-item label="" prop="bpdgrp.cbs.max.amt" label-width="5px">
liaoxing committed
344 345 346 347 348 349 350 351
              <c-input
                v-model="model.bpdgrp.cbs.max.amt"
                placeholder="请输入融资金额"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>

wangna committed
352 353 354
      </c-col>

      <!------------右部------------->
LiRui committed
355
      <c-col :span="12" style="padding-left: 20px;">
wangna committed
356 357 358 359
        <c-col :span="24">
          <c-ptap
            :model="model"
            :argadr="{
jianglong committed
360 361 362
              title: '融资客户',
              grp: 'bpdgrp',
              rol: 'fia',
wangna committed
363 364 365 366 367 368 369
            }"
            :disabled="true"
            :isAdrblk="true"
            @onSeainf="onSeainf"
            @onFiapDet="onFiapDet"
          >
          </c-ptap>
jianglong committed
370
        </c-col>
wangna committed
371
      </c-col>
jianglong committed
372 373 374 375
    </c-row>

    <!-- =================下部====================== -->
    <c-row>
wangna committed
376
      <!-----------左侧------------->
LiRui committed
377
      <c-col :span="12" style="padding-right: 20px;">
wangna committed
378
        <!---line1---->
liaoxing committed
379
        <!-- <c-row>
wangna committed
380 381 382
          <c-col :span="12">
            <el-form-item label="融资金额" prop="bpdgrp.cbs.max.cur">
              <c-select
LiRui committed
383
                :disabled="(model.ledgrp.rec.dflg=='D' || model.dedgrp.rec.dflg=='D') || (model.bpdgrp.rec.fintyp=='F' || model.bpdgrp.rec.fintyp=='U')"
wangna committed
384 385 386 387 388
                v-model="model.bpdgrp.cbs.max.cur"
                style="width: 100%"
                placeholder="请选择融资币种"
              >
                <el-option
LiRui committed
389
                  v-for="item in codes.curtxt1"
wangna committed
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="融资金额" prop="bpdgrp.cbs.max.amt">
              <c-input
                v-model="model.bpdgrp.cbs.max.amt"
                placeholder="请输入融资金额"
              ></c-input>
            </el-form-item>
          </c-col>
liaoxing committed
407
        </c-row> -->
wangna committed
408 409 410 411 412 413

        <!---line2---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="百分比" prop="bpdgrp.rec.pctfin">
              <c-input
LiRui committed
414
                disabled
wangna committed
415 416 417 418 419 420 421 422 423 424 425 426 427 428
                v-model="model.bpdgrp.rec.pctfin"
                placeholder="请输入百分比"
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="计息周期" prop="bptmod.finmod.intprd">
              <c-select
                v-model="model.bptmod.finmod.intprd"
                style="width: 100%"
                placeholder="请选择计息周期"
              >
                <el-option
LiRui committed
429
                  v-for="item in codes.intprd1"
wangna committed
430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line3---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="利率调整方式" prop="bptmod.finmod.ratchgtyp">
              <c-select
                v-model="model.bptmod.finmod.ratchgtyp"
                style="width: 100%"
                placeholder="请选择利率调整方式"
              >
                <el-option
LiRui committed
450
                  v-for="item in codes.ratchgtyp2"
wangna committed
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 485 486 487
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line4---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="开立日期" prop="bpdgrp.rec.opndat">
              <c-date-picker
                type="date"
                v-model="model.bpdgrp.rec.opndat"
                style="width: 100%"
                placeholder="请选择起息日期"
              ></c-date-picker>
            </el-form-item>
          </c-col>

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

        <!---line5---->
        <c-row>
LiRui committed
488
          <c-col :span="12">
wangna committed
489
            <el-form-item label="基准利率" prop="bpdgrp.rec.intrat">
LiRui committed
490 491
              <c-fullbox>
                <c-input
LiRui committed
492
                disabled
wangna committed
493 494 495
                v-model="model.bpdgrp.rec.intrat"
                placeholder="请输入基本利率"
              ></c-input>
LiRui committed
496 497 498 499 500
              <template slot="footer">
                  <c-button style="margin: 0 0 0 10px" size="small" type="primary" @click="onFinmodButget" :disbled="model.bpdgrp.rec.ownref != 0"
                  >获取</c-button>
              </template>
              </c-fullbox>
wangna committed
501 502 503 504
            </el-form-item>
          </c-col>

          <c-col :span="12">
LiRui committed
505
            <el-form-item v-if="zmqflg == 'x'" label="是否定向收付" prop="bpdgrp.rec.flowflag">
wangna committed
506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524
              <c-select
                v-model="model.bpdgrp.rec.flowflag"
                style="width: 100%"
                placeholder="请选择是否定向收付"
              >
                <el-option
                  v-for="item in codes.flowflag"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line6---->
        <c-row>
LiRui committed
525
          <c-col :span="24">
wangna committed
526 527 528 529 530 531 532 533
            <el-form-item
              label="基准利率规则"
              prop="bptmod.finmod.dinmod.jzllgz"
            >
              <c-select
                v-model="model.bptmod.finmod.dinmod.jzllgz"
                style="width: 100%"
                placeholder="请选择基准利率规则"
javaHeight committed
534
                :code="codes.jzllgz"
wangna committed
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554
              >
              </c-select>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line7---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="执行利率" prop="bpdgrp.rec.tolrat">
              <c-input
                v-model="model.bpdgrp.rec.tolrat"
                placeholder="请输入执行利率"
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="卖出执行利率" prop="bpdgrp.rec.bmhrat">
              <c-input
LiRui committed
555
                :disabled="model.bpdgrp.rec.ffttyp==''"
wangna committed
556 557 558 559 560 561 562 563 564 565 566
                v-model="model.bpdgrp.rec.bmhrat"
                placeholder="请输入卖出执行利率"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line8---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="第一还款账号" prop="bptmod.finmod.act1">
LiRui committed
567
              <c-select
wangna committed
568 569 570
                v-model="model.bptmod.finmod.act1"
                style="width: 100%"
                placeholder="请输入第一还款账号"
LiRui committed
571 572 573 574 575 576 577 578
              >
                <el-option
                  v-for="(item, idx) in codes.codeSet['bptmod.finmod.act1']"
                  :key="idx"
                  :label="item.split('\t')[1]"
                  :value="item.split('\t')[0]"
                ></el-option>
              </c-select>
wangna committed
579 580 581 582 583 584
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="税率" prop="bptmod.finmod.shuilv">
              <c-input
LiRui committed
585
                disabled
wangna committed
586 587 588 589 590 591 592 593 594
                v-model="model.bptmod.finmod.shuilv"
                placeholder="请输入税率"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line9---->
        <c-row>
LiRui committed
595
          <c-col :span="24">
wangna committed
596
            <el-form-item label="预收息金额" prop="bptmod.finmod.intamt">
LiRui committed
597 598
              <c-fullbox>
                <c-input
LiRui committed
599
                disabled
wangna committed
600 601 602
                v-model="model.bptmod.finmod.intamt"
                placeholder="请输入预收息金额"
              ></c-input>
LiRui committed
603 604
              <template slot="footer">
                <c-button style="margin: 0 0 0 10px;" size="small" type="primary" @click="onFinmodButcal">
wangna committed
605 606
              计算
            </c-button>
LiRui committed
607 608 609
              </template>
              </c-fullbox>
            </el-form-item>
wangna committed
610 611 612 613 614 615 616 617
          </c-col>
        </c-row>

        <!---line10---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="预扣息方式" prop="bptmod.finmod.inttyp">
              <c-select
LiRui committed
618
                :disabled="model.bptmod.finmod.intprd!='7'"
wangna committed
619 620 621 622 623
                v-model="model.bptmod.finmod.inttyp"
                style="width: 100%"
                placeholder="请选择预扣息方式"
              >
                <el-option
LiRui committed
624
                  v-for="item in codes.inttyp1"
wangna committed
625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="市场LPR期限品种" prop="bpdgrp.rec.lprtyp">
              <c-select
                v-model="model.bpdgrp.rec.lprtyp"
                style="width: 100%"
                placeholder="请选择市场LPR期限品种"
              >
                <el-option
                  v-for="item in codes.lprtyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line11---->
        <c-row>
LiRui committed
655
          <c-col :span="12">
wangna committed
656
            <el-form-item label="定价审批代码" prop="bptmod.finmod.dinjdm">
LiRui committed
657 658
              <c-fullbox>
                <c-input
wangna committed
659 660 661 662
                v-model="model.bptmod.finmod.dinjdm"
                maxlength="20"
                placeholder="请输入定价审批代码"
              ></c-input>
LiRui committed
663 664
              <template slot="footer">
                <c-button style="margin: 0 0 0 10px;" size="small" type="primary" @click="onDinmodDget" :disbled="model.bptmod.finmod.dinjdm !== ''"
wangna committed
665 666
              >获取</c-button
            >
LiRui committed
667 668 669
          </template>
              </c-fullbox>
            </el-form-item>
wangna committed
670 671
          </c-col>

LiRui committed
672

wangna committed
673 674 675 676 677
          <c-col :span="12">
            <el-form-item
              label="审批流程发起标识"
              prop="bptmod.finmod.dinmod.rmbsbs"
            >
LiRui committed
678 679
              <c-input
                disabled
wangna committed
680
                v-model="model.bptmod.finmod.dinmod.rmbsbs"
LiRui committed
681
                maxlength="1"
wangna committed
682
              >
LiRui committed
683
              </c-input>
wangna committed
684 685 686 687 688 689
            </el-form-item>
          </c-col>
        </c-row>
      </c-col>

      <!------------右侧------------->
LiRui committed
690
      <c-col :span="12" style="padding-left: 20px;">
wangna committed
691 692 693 694 695
        <!---line1---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="借据编号" prop="bpdgrp.rec.fincod">
              <c-input
LiRui committed
696
                disabled
wangna committed
697 698 699 700 701 702 703 704 705 706
                v-model="model.bpdgrp.rec.fincod"
                maxlength="17"
                placeholder=""
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="计息日期" prop="bptmod.finmod.intdat">
              <c-input
LiRui committed
707
                :disabled="model.bptmod.finmod.intprd==''||model.bptmod.finmod.intprd=='6'||model.bptmod.finmod.intprd=='7'"
wangna committed
708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725
                v-model="model.bptmod.finmod.intdat"
                maxlength="2"
                placeholder="请输入计息日期"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line2---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="发票类型" prop="bpdgrp.rec.invtyp">
              <c-select
                v-model="model.bpdgrp.rec.invtyp"
                style="width: 100%"
                placeholder="请选择发票类型"
              >
                <el-option
javaHeight committed
726
                  v-for="item in codes.invtyp2"
wangna committed
727 728 729 730 731 732 733 734 735 736 737 738 739
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="2">
            <el-form-item label="" prop=""> </el-form-item>
          </c-col>
          <c-col :span="10">
LiRui committed
740
            <c-checkbox disabled v-model="model.bptmod.finmod.wjdkfl"
wangna committed
741 742 743 744 745 746 747 748 749 750
              >是否到期主动扣收款</c-checkbox
            >
          </c-col>
        </c-row>

        <!---line3---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="利率调整周期" prop="bptmod.finmod.ratchgprd">
              <c-select
LiRui committed
751
                :disabled="!(model.bptmod.finmod.ratchgtyp=='7'||model.bptmod.finmod.ratchgtyp=='8'||model.bptmod.finmod.ratchgtyp=='9')"
wangna committed
752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769
                v-model="model.bptmod.finmod.ratchgprd"
                style="width: 100%"
                placeholder=""
              >
                <el-option
                  v-for="item in codes.ratchgprd"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="月日数" prop="bptmod.finmod.ratchgdat">
              <c-input
LiRui committed
770
                :disabled="!(model.bptmod.finmod.ratchgtyp=='4'||model.bptmod.finmod.ratchgtyp=='5')"
wangna committed
771 772 773 774 775 776 777 778 779 780 781 782 783
                v-model="model.bptmod.finmod.ratchgdat"
                maxlength="4"
                placeholder=""
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line4---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="融资天数" prop="bpdgrp.rec.intday">
              <c-input
LiRui committed
784
                disabled
wangna committed
785 786 787 788 789 790 791 792 793
                v-model="model.bpdgrp.rec.intday"
                placeholder=""
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="宽限期" prop="bptmod.finmod.graday">
              <c-input
794
                :disabled="model.liaall.limmod.wrkp.ptspta.pta.bic != 'SINOSUREXXX'"
wangna committed
795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824
                v-model="model.bptmod.finmod.graday"
                placeholder=""
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line5---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="浮动方式" prop="bptmod.finmod.flttyp">
              <c-select
                v-model="model.bptmod.finmod.flttyp"
                style="width: 100%"
                placeholder="请选择浮动方式"
              >
                <el-option
                  v-for="item in codes.flttyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="浮动值" prop="bptmod.finmod.fltval">
              <c-input
LiRui committed
825
                :disabled="model.bptmod.finmod.flttyp=='0'||model.bptmod.finmod.flttyp==''"
wangna committed
826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855
                v-model="model.bptmod.finmod.fltval"
                placeholder="请输入浮动值"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line6---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="逾期计息方式" prop="bptmod.finmod.ovdinttyp">
              <c-select
                v-model="model.bptmod.finmod.ovdinttyp"
                style="width: 100%"
                placeholder="请选择逾期计息方式"
              >
                <el-option
                  v-for="item in codes.ovdinttyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="罚息比率" prop="bptmod.finmod.ovdintrat">
              <c-input
LiRui committed
856
                :disabled="model.bptmod.finmod.ovdinttyp!='1'"
wangna committed
857 858
                v-model="model.bptmod.finmod.ovdintrat"
                placeholder="请输入罚息比率"
859
              >%</c-input>
wangna committed
860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897
            </el-form-item>
          </c-col>
        </c-row>

        <!---line7---->
        <c-row>
          <c-col :span="12">
            <el-form-item label="第三方还款方式" prop="bptmod.finmod.acttyp">
              <c-select
                v-model="model.bptmod.finmod.acttyp"
                style="width: 100%"
                placeholder="请选择第三方还款方式"
              >
                <el-option
                  v-for="item in codes.acttyp1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item label="入账机构" prop="bptmod.finmod.accbch">
              <c-select
                v-model="model.bptmod.finmod.accbch"
                style="width: 100%"
                placeholder="请选择入账机构"
              >
              </c-select>
            </el-form-item>
          </c-col>
        </c-row>

        <!---line8---->
        <c-row>
LiRui committed
898
          <c-col :span="24">
wangna committed
899
            <el-form-item label="第三方还款账号" prop="bptmod.finmod.act3">
900 901 902
              <c-select
                filterable
                allow-create
LiRui committed
903
                :disabled="model.bptmod.finmod.acttyp==''"
wangna committed
904
                v-model="model.bptmod.finmod.act3"
905
                style="width: 100%"
wangna committed
906
                placeholder="请输入第三方还款账号"
907
              ></c-select>
wangna committed
908 909 910 911 912 913
            </el-form-item>
          </c-col>
        </c-row>

        <!---line9---->
        <c-row>
LiRui committed
914
          <c-col :span="24">
wangna committed
915
            <el-form-item label="预扣息账号" prop="bptmod.finmod.intact">
LiRui committed
916 917
              <c-fullbox>
                <c-input
LiRui committed
918
                :disabled="model.bptmod.finmod.inttyp!='1' || (model.bptmod.finmod.acttyp=='0' || model.bptmod.finmod.acttyp=='2')"
wangna committed
919 920
                v-model="model.bptmod.finmod.intact"
                style="width: 100%"
LiRui committed
921
                maxlength="21"
wangna committed
922 923
                placeholder="请输入预扣息账号"
              ></c-input>
LiRui committed
924 925 926 927 928 929 930 931 932 933 934 935
              <template slot="footer">
                <c-button
                  size="small"
                  type="primary"
                  style="margin: 0 0 0 10px;"
                  icon="el-icon-search"
                  @click="onCodselSelbut"
                >
                </c-button>
              </template>
              </c-fullbox>
              
wangna committed
936 937 938 939 940 941 942
            </el-form-item>
          </c-col>

        </c-row>

        <!---line10---->
        <c-row>
LiRui committed
943
          <c-col :span="24">
LiRui committed
944
            <el-form-item v-if="zmqflg == 'x'" label="对方账号" prop="bpdgrp.rec.oppacc">
wangna committed
945 946 947 948 949 950 951 952
              <c-input
                v-model="model.bpdgrp.rec.oppacc"
                maxlength="35"
                placeholder="请输入对方帐号"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>
wangna committed
953
        
wangna committed
954
        <c-row>
LiRui committed
955
          <c-col :span="24">
LiRui committed
956
            <el-form-item v-if="(model.bpdgrp.rec.fintyp=='F'||model.bpdgrp.rec.fintyp=='G') && model.bptmod.finmod.intprd=='7'" label="福费廷转卖类型" prop="bpdgrp.rec.ffttyp">
wangna committed
957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973
              <c-select
                v-model="model.bpdgrp.rec.ffttyp"
                style="width: 100%"
                placeholder="请选择福费廷转卖类型"
              >
                <el-option
                  v-for="item in codes.ffttyp1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-row>
      </c-col>
jianglong committed
974
    </c-row>
wangna committed
975
  </div>
jianglong committed
976 977 978 979 980 981 982 983 984 985 986
</template>

<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bptopn/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";

export default {
wangna committed
987 988 989 990 991 992 993
  components: {
    "c-ptap": Ptap,
  },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
LiRui committed
994 995 996
    return {
      zmqflg: null,
    };
wangna committed
997
  },
998
  watch: {},
wangna committed
999 1000 1001 1002
  methods: {
    ...Event,
    onSeainf(data) {
      this.$emit("onSeainf", data);
jianglong committed
1003
    },
wangna committed
1004 1005
  },
  created: function () {},
jianglong committed
1006 1007 1008 1009 1010
};
</script>

<style>
</style>
wanggang_yf committed
1011