Gitsetp1.vue 18.1 KB
Newer Older
1
<template>
xiameng committed
2
  <div class="eibs">
xiameng committed
3
    <c-col :span="12" style="padding-right: 20px;">
panziyi committed
4
      <c-col :span="16" v-if="model.gidgrp.rec.expflg=='X'||model.gidgrp.rec.expdat!=''">
panziyi committed
5
        <el-form-item
wangna committed
6
          label="保函编号"
panziyi committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
          prop="gidgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              v-model="model.gidgrp.rec.ownref"
              maxlength="8"
              placeholder="请输入"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                v-model="model.gctp.gidget.sdamod.seainf"
                style="margin: 0 0 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
25
                <i class="el-icon-info"></i>
panziyi committed
26 27 28 29 30 31
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

panziyi committed
32 33
     <c-col :span="24" v-if="model.gidgrp.rec.expflg!='X'&&model.gidgrp.rec.expdat==''">
        <el-form-item
wangna committed
34
          label="保函编号"
panziyi committed
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
          prop="gidgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              v-model="model.gidgrp.rec.ownref"
              maxlength="8"
              placeholder="请输入"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                v-model="model.gctp.gidget.sdamod.seainf"
                style="margin: 0 0 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
53
                <i class="el-icon-info"></i>
panziyi committed
54 55 56 57 58 59
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
      <c-col :span="8" v-if="model.gidgrp.rec.expflg=='X'">
panziyi committed
60 61
        <el-form-item
          style="margin-left:20px"
wangna committed
62
          label="我行责任敞口"
panziyi committed
63 64
        >
        </el-form-item>
panziyi committed
65 66
      </c-col>

panziyi committed
67
      <c-col :span="8" v-if="model.gidgrp.rec.expdat!=''">
panziyi committed
68
        <el-form-item
wangna committed
69
          label="保函效期"
panziyi committed
70 71 72 73 74 75 76 77
          label-width="50px"
          prop="gidgrp.rec.expdat"  
        >
          <c-date-picker
            type="date"
            v-model="model.gidgrp.rec.expdat"
            disabled
            style="width: 100%"
wangna committed
78
            placeholder="请选择保函效期"
panziyi committed
79 80
          ></c-date-picker>
        </el-form-item>
panziyi committed
81 82 83 84
      </c-col>

      <c-col :span="24">
        <el-form-item
wangna committed
85
          label="索赔编号"
panziyi committed
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
          prop="gcdgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              v-model="model.gcdgrp.rec.ownref"
              maxlength="8"
              placeholder="请输入"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                v-model="model.gctp.recget.sdamod.seainf"
                style="margin: 0 0 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
104
                <i class="el-icon-info"></i>
panziyi committed
105 106 107 108 109
              </c-button>
              <c-button
                size="small"
                type="primary"
                v-model="model.gctp.getrefbut"
panziyi committed
110
                disabled
panziyi committed
111 112
                @click="onGctpGetrefbut"
              >
wangna committed
113
                获取
panziyi committed
114 115 116 117 118 119 120 121
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="11">
        <c-form-item
wangna committed
122
          label="索赔金额"
panziyi committed
123 124 125
          prop="gcdgrp.cbs.max.cur"
          previewLabel="信用证币种"
        >
126
          <c-select
panziyi committed
127
            v-model="model.gcdgrp.cbs.max.cur"
128
            style="width: 100%"
panziyi committed
129
            disabled
wangna committed
130
            placeholder="请输入索赔金额"
131 132
            :code="codes.cur"
          ></c-select>
panziyi committed
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
        </c-form-item>
      </c-col>

      <c-col :span="8">
        <c-form-item
          previewLabel="信用证金额"
          label-width="5px"
          prop="gcdgrp.cbs.max.amt"
        >
          <c-input-currency
            v-model="model.gcdgrp.cbs.max.amt"
            placeholder=""
            disabled
          ></c-input-currency>
        </c-form-item>
      </c-col>

panziyi committed
150 151 152 153 154 155 156 157 158 159
      <c-col :span="5">
        <c-checkbox
          v-model="model.gctp.gcthdr"
          disabled
          style="
            margin-left: 18px;
            height: 32px;
            line-height: 32px;
            padding-bottom: 2px;
          "
wangna committed
160
          >附加金额
panziyi committed
161 162 163 164 165
        </c-checkbox>
      </c-col>

      <c-col :span="11">
        <c-form-item
wangna committed
166
          label="保函余额"
panziyi committed
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
          prop="gcdgrp.cbs.opn1.cur"
          previewLabel="信用证币种"
        >
          <c-select
            v-model="model.gcdgrp.cbs.opn1.cur"
            placeholder=""
            @keyup.enter.native="nom1CurEvent"
            style="width: 100%"
            disabled
          >
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </c-form-item>
      </c-col>

      <c-col :span="8">
        <c-form-item
          previewLabel="信用证金额"
          label-width="5px"
          prop="gcdgrp.cbs.opn1.amt"
        >
          <c-input-currency
            v-model="model.gcdgrp.cbs.opn1.amt"
            placeholder="请输入"
            disabled
          ></c-input-currency>
        </c-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
203
        <el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
panziyi committed
204
          <c-select
panziyi committed
205
            disabled
panziyi committed
206 207
            v-model="model.gidgrp.rec.gartyp"
            style="width: 100%"
wangna committed
208
            placeholder="请选择保函种类"
huangxin committed
209
            :code="codes.typgar"
panziyi committed
210 211 212 213
          >
          </c-select>
        </el-form-item>
      </c-col>
panziyi committed
214
 <c-col :span="24" v-if="model.gidgrp.rec.liadat=='X'" >
panziyi committed
215 216
        <el-form-item
          
wangna committed
217
          label="我行责任敞口"
panziyi committed
218 219 220 221
        >
        </el-form-item>
      </c-col>
                  
panziyi committed
222
       <c-col :span="24" v-if="model.gidgrp.rec.liadat!=''" >
wangna committed
223 224
        <el-form-item label="责任截至日" prop="gidgrp.rec.liadat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.liadat" disabled style="width:100%"  placeholder="请选择责任截至日"></c-date-picker>
panziyi committed
225 226
        </el-form-item>
       </c-col>
panziyi committed
227 228

      <c-col :span="24">
wangna committed
229
        <el-form-item label="索赔日期" prop="gcdgrp.rec.clmdat">
panziyi committed
230 231 232 233
          <c-input
            v-model="model.gcdgrp.rec.clmdat"
            maxlength="40"
            disabled
wangna committed
234
            placeholder="请输入索赔日期"
panziyi committed
235 236 237 238 239
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>

xiameng committed
240
    <c-col :span="12" style="padding-left: 20px;">
panziyi committed
241 242
      <c-col :span="12">
        <c-form-item
wangna committed
243
          label="保函余额"
panziyi committed
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
          prop="gidgrp.cbs.opn1.cur"
          previewLabel="信用证币种"
        >
          <c-select
            v-model="model.gidgrp.cbs.opn1.cur"
            placeholder=""
            @keyup.enter.native="nom1CurEvent"
            style="width: 100%"
            disabled
          >
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </c-form-item>
      </c-col>
      <c-col :span="12">
        <c-form-item
          previewLabel="信用证金额"
          style="text-align: left"
          label-width="5px"
          prop="gidgrp.cbs.opn1.amt"
        >
          <c-input-currency
            v-model="model.gidgrp.cbs.opn1.amt"
            placeholder=""
            disabled
          ></c-input-currency>
        </c-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
280
        <el-form-item label="简略信息" prop="gcdgrp.rec.nam">
panziyi committed
281 282 283
          <c-input
            v-model="model.gcdgrp.rec.nam"
            maxlength="40"
wangna committed
284
            placeholder="请输入简略信息"
panziyi committed
285 286 287 288 289 290
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
291
        <el-form-item label="申请人参考号" prop="gcdgrp.apl.pts.ref">
panziyi committed
292 293 294
          <c-input
            v-model="model.gcdgrp.apl.pts.ref"
            maxlength="16"
wangna committed
295
            placeholder="请输入申请人参考号"
panziyi committed
296 297 298 299 300 301 302 303 304
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="" prop="gcdgrp.apl.pts.nam">
          <c-input
            v-model="model.gcdgrp.apl.pts.nam"
            maxlength="40"
wangna committed
305
            placeholder="请输入当事人名称"
panziyi committed
306 307 308 309 310
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangna committed
311
        <el-form-item label="受益人参考号" prop="gcdgrp.ben.pts.ref">
panziyi committed
312 313 314
          <c-input
            v-model="model.gcdgrp.ben.pts.ref"
            maxlength="16"
wangna committed
315
            placeholder="请输入受益人参考号"
panziyi committed
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="" prop="gcdgrp.ben.pts.nam">
          <c-input
            v-model="model.gcdgrp.ben.pts.nam"
            maxlength="40"
            placeholder="请输入"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>

    <!-- 中间 -->
    <c-col :span="24" style="height: 0px">
tianxinyu committed
333
      
panziyi committed
334 335
    </c-col>

xiameng committed
336
    <c-col :span="12" style="margin-top: 15px;padding-right: 20px;">
panziyi committed
337 338
      <c-col :span="12">
        <c-form-item
wangna committed
339
          label="索赔金额"
panziyi committed
340 341 342
          prop="gcdgrp.cbs.max.cur"
          previewLabel="信用证币种"
        >
343
          <c-select
panziyi committed
344
            v-model="model.gcdgrp.cbs.max.cur"
345
            style="width: 100%"
panziyi committed
346
            disabled
wangna committed
347
            placeholder="请输入索赔金额"
348 349
            :code="codes.cur"
          ></c-select>
panziyi committed
350 351 352 353
        </c-form-item>
      </c-col>

      <c-col :span="12">
panziyi committed
354
        <c-form-item
panziyi committed
355 356 357 358 359 360 361 362 363 364 365 366 367
          previewLabel="信用证金额"
          label-width="5px"
          prop="gcdgrp.cbs.max.amt"
        >
          <c-input-currency
            disabled
            v-model="model.gcdgrp.cbs.max.amt"
            placeholder=""
          ></c-input-currency>
        </c-form-item>
      </c-col>
      <c-col :span="12">
        <c-form-item
wangna committed
368
          label="提取附加金额"
panziyi committed
369 370 371
          prop="gcdgrp.cbs.opn2.cur"
          previewLabel="信用证币种"
        >
372
          <c-select
panziyi committed
373
            v-model="model.gcdgrp.cbs.opn2.cur"
374
            style="width: 100%"
panziyi committed
375
            disabled
wangna committed
376
            placeholder="请输入索赔金额"
377 378
            :code="codes.cur"
          ></c-select>
panziyi committed
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
        </c-form-item>
      </c-col>

      <c-col :span="12">
        <c-form-item
          previewLabel="信用证金额"
          label-width="5px"
          prop="gcdgrp.cbs.max2.amt"
        >
          <c-input-currency
            v-model="model.gcdgrp.cbs.max2.amt"
            placeholder=""
            disabled
          ></c-input-currency>
        </c-form-item>
      </c-col>
tianxinyu committed
395 396 397
      <c-col :span="12" >
      <c-col :span="6" >
        <c-form-item label-width="5px" prop="" class="checkbox-left baohanzhuxiao">
398
          <c-checkbox v-model="model.gtisetp1" disabled 
wangna committed
399
          >保函注销情况下的付款</c-checkbox
panziyi committed
400
        >
401
       </c-form-item>
panziyi committed
402
      </c-col>
403
      </c-col>
tianxinyu committed
404 405 406
      <c-col :span="12">
        <c-col :span="6" >
          <c-form-item label-width="5px" prop="" class="checkbox-left">
407
            <c-checkbox v-model="model.mtabut.clsflg" 
wangna committed
408
          >是否闭卷
panziyi committed
409
        </c-checkbox>
410 411
          </c-form-item>
        </c-col>
panziyi committed
412
      </c-col>
tianxinyu committed
413 414 415
      <c-col :span="12">
        <c-col :span="6" >
          <c-form-item label-width="5px" prop="" class="checkbox-left baohanzhuxiao">
416
        <c-checkbox v-model="model.gcdgrp.rec.frepayflg" 
wangna committed
417
          >免费付款</c-checkbox
panziyi committed
418
        >
419 420
      </c-form-item>
      </c-col>
panziyi committed
421
      </c-col>
panziyi committed
422 423
      <c-col :span="24" style="margin-top: 10px">
        <el-form-item
wangna committed
424
          label="输出SWIFT MT 769字段"
panziyi committed
425 426
          label-width="200px"
        >
panziyi committed
427 428 429
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangna committed
430
        <el-form-item label="缩减日期" prop="gidgrp.rec.reddat">
panziyi committed
431 432 433 434
          <c-input
            v-model="model.gidgrp.rec.reddat"
            maxlength="40"
            disabled
wangna committed
435
            placeholder="请输入缩减日期"
panziyi committed
436 437 438 439
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangna committed
440
        <el-form-item label="金额说明" prop="gidgrp.tag39c">
panziyi committed
441 442 443 444 445 446 447
          <c-input
            type="textarea"
            rows="4"
            v-model="model.gidgrp.tag39c"
            maxlength="50"
            show-word-limit
            disabled
wangna committed
448
            placeholder="请输入金额说明"
panziyi committed
449 450 451
          ></c-input>
        </el-form-item>
      </c-col>
tianxinyu committed
452 453 454
      
      <c-col :span="24">
        <el-form-item>
455 456 457
        <c-checkbox v-model="model.Gitsetp1" disabled style="margin-left: 15px">
          创建 MT 732
        </c-checkbox>
tianxinyu committed
458
      </el-form-item>
panziyi committed
459
      </c-col>
xiameng committed
460
      <c-col :span="2" :offset="19" v-if="false">
panziyi committed
461
        <c-checkbox v-model="model.Gitsetp1" disabled style="margin-left: 15px"
wangna committed
462
          >发送 MT 742</c-checkbox
panziyi committed
463 464
        >
      </c-col>
panziyi committed
465 466
    </c-col>

xiameng committed
467
    <c-col :span="12"  style="margin-top: 15px;padding-left: 20px;">
panziyi committed
468
      <c-col :span="24">
wangna committed
469
        <c-form-item label="索赔当事人" prop="gcdgrp.rec.docprbrol">
panziyi committed
470 471
          <c-select
            v-model="model.gcdgrp.rec.docprbrol"
wangna committed
472
            placeholder="请选择索赔当事人"
panziyi committed
473 474 475 476
            style="width: 100%"
            disabled
          >
            <el-option
panziyi committed
477
              v-for="item in codes.docprbrol"
panziyi committed
478 479 480 481 482 483 484 485 486
              :key="item.value"
              :label="item.label"
              :value="item.value"
            ></el-option>
          </c-select>
        </c-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
487
        <el-form-item label="保函编号" prop="gcdgrp.prb.pts.ref">
panziyi committed
488 489 490
          <c-input
            v-model="model.gcdgrp.prb.pts.ref"
            maxlength="16"
wangna committed
491
            placeholder="请输入保函编号"
panziyi committed
492 493 494 495 496 497
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
panziyi committed
498
        <el-form-item label="" prop="gcdgrp.prb.pts.extkey">
panziyi committed
499 500 501 502 503
          <c-fullbox>
            <c-input
              disabled
              v-model="model.gcdgrp.prb.pts.extkey"
              maxlength="16"
wangna committed
504
              placeholder="请输入"
panziyi committed
505 506 507 508 509 510 511 512 513 514 515 516
              @keyup.enter.native="
                showGridPromptDialog('gcdgrp.prb.pts.extkey')
              "
            ></c-input>
            <template slot="footer">
              <c-button
                v-model="model.gctp.prbp.ptsget.sdamod.seainf"
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
517
                <i class="el-icon-info"></i>
panziyi committed
518 519 520 521 522 523
              </c-button>
              <c-button
                size="small"
                type="primary"
                v-model="model.gctp.prbp.det"
                style="margin: 0 0"
panziyi committed
524
                @click="onPrbpDet"
panziyi committed
525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541
              >
                Temp.
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="" prop="gcdgrp.prb.pts.adrblk">
          <c-input
            disabled
            type="textarea"
            rows="4"
            v-model="model.gcdgrp.prb.pts.adrblk"
            maxlength="100"
            show-word-limit
wangna committed
542
            placeholder="请输入"
panziyi committed
543 544 545 546
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangna committed
547
        <c-form-item label="向索人" prop="gcdgrp.rec.payrol">
panziyi committed
548 549
          <c-select
            v-model="model.gcdgrp.rec.payrol"
wangna committed
550
            placeholder="请选择向索人"
panziyi committed
551
            style="width: 100%"
panziyi committed
552
             @change="eventFunction('gcdgrp.rec.payrol')"
panziyi committed
553 554
          >
            <el-option
panziyi committed
555
              v-for="item in codes.payrol"
panziyi committed
556 557 558 559 560 561 562 563 564
              :key="item.value"
              :label="item.label"
              :value="item.value"
            ></el-option>
          </c-select>
        </c-form-item>
      </c-col>

      <c-col :span="24">
panziyi committed
565
        <el-form-item label="" prop="gcdgrp.oth.pts.extkey">
panziyi committed
566 567 568 569
          <c-fullbox>
            <c-input
              v-model="model.gcdgrp.oth.pts.extkey"
              maxlength="16"
wangna committed
570
              placeholder="请输入"
panziyi committed
571
              :disabled="model.gcdgrp.rec.payrol!='OTH'"
panziyi committed
572 573 574 575 576 577 578 579 580 581 582 583 584
              @keyup.enter.native="
                showGridPromptDialog('gcdgrp.oth.pts.extkey')
              "
            >
            </c-input>
            <template slot="footer">
              <c-button
                v-model="model.gctp.othp.ptsget.sdamod.seainf"
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
585
                <i class="el-icon-info"></i>
panziyi committed
586 587 588 589 590 591
              </c-button>
              <c-button
                v-model="model.gctp.othp.det"
                style="margin: 0 0"
                size="small"
                type="primary"
panziyi committed
592
                @click="onOthpDet"
panziyi committed
593
              >
wangna committed
594
                详情
panziyi committed
595 596 597 598 599 600 601 602 603 604
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="" prop="gcdgrp.oth.pts.adrblk">
          <c-input
            type="textarea"
xiameng committed
605
            rows="2"
panziyi committed
606
            v-model="model.gcdgrp.oth.pts.adrblk"
panziyi committed
607
            :disabled="model.gcdgrp.rec.payrol!='OTH'"
panziyi committed
608 609
            maxlength="100"
            show-word-limit
wangna committed
610
            placeholder="请输入"
panziyi committed
611 612 613 614
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
615 616 617
  </div>
</template>
<script>
panziyi committed
618
import Api from "~/service/Api";
wangren committed
619
import commonProcess from "~/mixin/commonProcess";
panziyi committed
620 621
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitset/Event";
622 623

export default {
panziyi committed
624 625 626 627
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
panziyi committed
628
    return {};
panziyi committed
629
  },
panziyi committed
630
  methods: { ...Event },
panziyi committed
631 632
  created: function () {},
};
633 634
</script>
<style>
635
/**.marginLable {
panziyi committed
636
  padding-left: 150px;
637 638 639 640
}*/
.margin-left {
  padding-left: 95px;
}
tianxinyu committed
641 642
.baohanzhuxiao {
  padding-left: 114px;
panziyi committed
643
}
644
</style>
panziyi committed
645