Detp.vue 21.8 KB
Newer Older
liyixun committed
1
<template>
liyixun committed
2 3
    <div class="eibs-tab">
      <c-row>
liyixun committed
4
        <c-col :span="24">
liyixun committed
5 6 7 8 9
          <!-- ---------------------页面左侧 ------------------------------->
          <c-col :span="11">
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
10
                label="合同号"
liyixun committed
11 12 13 14 15
                prop="gidgrp.rec.orcref"
              >
                <c-input
                  v-model="model.gidgrp.rec.orcref"
                  maxlength="35"
wangna committed
16
                  placeholder="请输入合同号"
liyixun committed
17 18
                ></c-input>
              </el-form-item>
liyixun committed
19
            </c-col>
liyixun committed
20 21 22 23
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
24
                label="合同号"
liyixun committed
25 26 27 28 29
                prop="gidgrp.rec.orcref"
              >
                <c-input
                  v-model="model.gidgrp.rec.orcref"
                  maxlength="35"
wangna committed
30
                  placeholder="请输入合同号"
liyixun committed
31 32 33 34 35 36 37
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
38
                label="合同签定日期"
liyixun committed
39 40 41 42 43 44 45
                prop="gidgrp.rec.orcdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orcdat"
                  style="width: 100%"
wangna committed
46
                  placeholder="请选择合同签定日期"
liyixun committed
47 48 49 50 51 52 53
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
54
                label="合同签定日期"
liyixun committed
55 56 57 58 59 60 61
                prop="gidgrp.rec.orcdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orcdat"
                  style="width: 100%"
wangna committed
62
                  placeholder="请选择合同签定日期"
liyixun committed
63 64 65 66 67 68 69
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
70
                label="合同失效日期"
liyixun committed
71 72 73 74 75 76 77
                prop="gidgrp.rec.tenclsdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orcdat"
                  style="width: 100%"
wangna committed
78
                  placeholder="请选择合同失效日期"
liyixun committed
79 80 81 82 83 84 85
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
86
                label="合同失效日期"
liyixun committed
87 88 89 90 91 92 93
                prop="gidgrp.rec.tenclsdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orcdat"
                  style="width: 100%"
wangna committed
94
                  placeholder="请选择合同失效日期"
liyixun committed
95 96 97 98 99 100 101
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <c-col :span="20">
                <el-form-item
wangna committed
102
                  label="合同标的"
liyixun committed
103 104 105 106 107 108 109 110 111 112 113 114
                  prop="gidgrp.blk.covgodsrv"
                >
                  <c-input
                    :disabled="
                      model.gitp.covgodsrvmodflg == '' ||
                      model.gitp.swiftflg == 'N'
                    "
                    rows="6"
                    type="textarea"
                    v-model="model.gidgrp.blk.covgodsrv"
                    maxlength="350"
                    show-word-limit
wangna committed
115
                    placeholder="请输入合同标的"
liyixun committed
116 117 118 119 120 121 122 123
                  ></c-input>
                </el-form-item>
              </c-col>
              <c-col :span="4">
                <c-checkbox
                  v-if="model.gitp.swiftflg == 'Y'"
                  v-model="model.gitp.covgodsrvmodflg"
                  style="margin: 0 0 0 10px"
wangna committed
124
                  >修改文本</c-checkbox
liyixun committed
125 126 127 128 129
                >
                <c-checkbox
                  v-if="model.gitp.swiftflg == 'Y'"
                  v-model="model.gitp.covgod.chkast"
                  style="margin: 0 0 0 10px"
wangna committed
130
                  >允许</c-checkbox
liyixun committed
131 132 133 134 135 136 137 138 139
                >
                <c-button
                  disabled
                  v-if="model.gitp.swiftflg == 'Y'"
                  size="small"
                  type="primary"
                  style="margin: 5px 0 0 10px"
                  @click="onGitpButdifcovgodsrv"
                >
wangna committed
140
                  查看系统文本
liyixun committed
141 142 143 144 145 146 147 148 149
                </c-button>
                <c-button
                  disabled
                  v-if="model.gitp.swiftflg == 'Y'"
                  size="small"
                  type="primary"
                  style="margin: 5px 0 0 10px"
                  @click="onGitpButdifhiscovgodsrv"
                >
wangna committed
150
                  查看历史文本
liyixun committed
151 152 153 154 155 156 157
                </c-button>
              </c-col>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
158
                label="原始利率"
liyixun committed
159 160 161 162 163
                prop="gidgrp.rec.orcrat"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.orcrat"
wangna committed
164
                  placeholder="请输入原始利率"
liyixun committed
165 166 167 168 169 170 171
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
172
                label="原始利率"
liyixun committed
173 174 175 176 177
                prop="gidgrp.rec.orcrat"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.orcrat"
wangna committed
178
                  placeholder="请输入原始利率"
liyixun committed
179 180 181 182 183 184
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <c-col :span="12">
wangna committed
185
                <el-form-item label="合同币种和金额" prop="gidgrp.rec.orccur">
liyixun committed
186 187 188 189
                  <c-select
                    disabled
                    v-model="model.gidgrp.rec.orccur"
                    style="width: 100%"
wangna committed
190
                    placeholder="请选择合同币种 "
liyixun committed
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
                  >
                    <el-option
                      v-for="item in codes.curtxt"
                      :key="item.value"
                      :label="item.label"
                      :value="item.value"
                    >
                    </el-option>
                  </c-select>
                </el-form-item>
              </c-col>
              <c-col :span="11" :offset="1">
                <el-form-item label-width="5px" prop="gidgrp.rec.orcamt">
                  <c-input
                    disabled
                    v-model="model.gidgrp.rec.orcamt"
wangna committed
207
                    placeholder="请输入合同金额 "
liyixun committed
208 209 210 211 212 213 214 215
                  ></c-input>
                </el-form-item>
              </c-col>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
216
                label="合同签定地"
liyixun committed
217 218 219 220 221 222 223 224 225
                prop="gidgrp.blk.orcplc"
              >
                <c-input
                  disabled
                  type="textarea"
                  rows="4"
                  v-model="model.gidgrp.blk.orcplc"
                  maxlength="140"
                  show-word-limit
wangna committed
226
                  placeholder="请输入合同签定地"
liyixun committed
227 228 229 230 231 232 233
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
234
                label="预付款账号"
liyixun committed
235 236 237 238 239 240
                prop="gidgrp.rec.acc"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.acc"
                  maxlength="35"
wangna committed
241
                  placeholder="请输入预付款账号"
liyixun committed
242 243 244 245 246 247 248 249
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <c-col :span="12">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'Y'"
wangna committed
250
                  label="适用法律"
liyixun committed
251 252 253 254 255 256
                  prop="gidgrp.rec.jurlaws20"
                >
                  <c-select
                    :disabled="model.gitp.swiftflg != 'Y'"
                    v-model="model.gidgrp.rec.jurlaws20"
                    style="width: 100%"
wangna committed
257
                    placeholder="请选择适用法律"
liyixun committed
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274
                  >
                    <el-option
                      v-for="item in codes.ctytxt1"
                      :key="item.value"
                      :label="item.label"
                      :value="item.value"
                    >
                    </el-option>
                  </c-select>
                </el-form-item>
              </c-col>
              <c-col :span="11" :offset="1">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'Y'"
                  label-width="5px"
                  prop="gidgrp.rec.jurlaw"
                >
panziyi committed
275
                  <c-select
liyixun committed
276 277 278
                    disabled
                    v-model="model.gidgrp.rec.jurlaw"
                    maxlength="35"
panziyi committed
279 280
                    :code="codes.ctytxt2"
                    style="width: 100%"
wangna committed
281
                    placeholder="请输入"
panziyi committed
282
                  ></c-select>
liyixun committed
283 284 285 286 287 288
                </el-form-item>
              </c-col>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
289
                label="仲裁法律"
liyixun committed
290 291 292 293 294 295
                prop="gidgrp.rec.jurlaw"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.jurlaw"
                  maxlength="35"
wangna committed
296
                  placeholder="请输入仲裁法律"
liyixun committed
297 298 299 300 301 302
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
303
                label="仲裁地"
liyixun committed
304 305 306 307 308 309
                prop="gidgrp.rec.jurplc"
              >
                <c-input
                  :disabled="model.gidgrp.rec.jurlaws20 == ''"
                  v-model="model.gidgrp.rec.jurplc"
                  maxlength="35"
wangna committed
310
                  placeholder="请输入仲裁地"
liyixun committed
311 312 313 314 315 316
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
317
                label="投标参考号"
liyixun committed
318 319 320 321 322 323
                prop="gidgrp.rec.tenref"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.tenref"
                  maxlength="35"
wangna committed
324
                  placeholder="请输入投标参考号"
liyixun committed
325 326 327 328 329 330
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
331
                label="投标日期"
liyixun committed
332 333 334 335 336 337 338
                prop="gidgrp.rec.tendat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.tendat"
                  style="width: 100%"
wangna committed
339
                  placeholder="请选择投标日期"
liyixun committed
340 341 342 343 344 345
                ></c-date-picker>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
346
                label="最新传输日期"
liyixun committed
347 348 349 350 351 352 353
                prop="gidgrp.rec.trmdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.trmdat"
                  style="width: 100%"
wangna committed
354
                  placeholder="请选择最新传输日期"
liyixun committed
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492
                ></c-date-picker>
              </el-form-item>
            </c-col>
          </c-col>
  
          <!-- -------------------页面右侧---------------------- -->
          <c-col :span="11" :offset="1">
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="手册号码"
                prop="gidgrp.rec.mannum"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.mannum"
                  maxlength="12"
                  placeholder="请输入手册号码"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="业务类型"
                prop="gidgrp.ghd.bustyp"
              >
                <c-select
                  disabled
                  v-model="model.gidgrp.ghd.bustyp"
                  style="width: 100%"
                  placeholder="请选择业务类型"
                >
                  <el-option
                    v-for="item in codes.bustyp"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="仓库号"
                prop="gidgrp.ghd.wahnum"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.ghd.wahnum"
                  maxlength="20"
                  placeholder="请输入仓库号"
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="受益人名称"
                prop="gidgrp.gidcxm.benefi"
              >
                <c-input
                  v-model="model.gidgrp.gidcxm.benefi"
                  maxlength="80"
                  placeholder="请输入受益人名称"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="企业海关编码"
                prop="gidgrp.rec.bngcod"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.bngcod"
                  maxlength="10"
                  placeholder="请输入企业海关编码"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="组织机构代码"
                prop="gidgrp.rec.juscod"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.juscod"
                  maxlength="10"
                  placeholder="请输入组织机构代码"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="流动资金贷款利率档次"
                prop="gidgrp.rec.cunqii"
              >
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.cunqii"
                  style="width: 100%"
                  placeholder="请选择流动资金贷款利率档次"
                >
                  <el-option
                    v-for="item in codes.cunqii"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="上浮比率"
                prop="gidgrp.rec.bilvvv"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.bilvvv"
                  placeholder="请输入上浮比率"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
493
                label="直接Swift添加"
liyixun committed
494 495 496 497 498 499 500 501
                prop="gitp.indirectswiadd"
              >
                <c-input
                  type="textarea"
                  rows="4"
                  v-model="model.gitp.indirectswiadd"
                  maxlength="9750"
                  show-word-limit
wangna committed
502
                  placeholder="请输入直接Swift添加"
liyixun committed
503 504 505 506 507 508 509
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
510
                label="合同签定地"
liyixun committed
511 512 513 514 515 516 517 518 519
                prop="gidgrp.blk.orcplc"
              >
                <c-input
                  disabled
                  type="textarea"
                  rows="4"
                  v-model="model.gidgrp.blk.orcplc"
                  maxlength="140"
                  show-word-limit
wangna committed
520
                  placeholder="请输入合同签定地"
liyixun committed
521 522 523 524 525
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
wangna committed
526
              <el-form-item label="附加说明" prop="gidgrp.blk.addinf">
liyixun committed
527 528 529 530 531 532 533
                <c-input
                  disabled
                  rows="4"
                  type="textarea"
                  v-model="model.gidgrp.blk.addinf"
                  maxlength="700"
                  show-word-limit
wangna committed
534
                  placeholder="请输入附加说明"
liyixun committed
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="备注"
                prop="gidgrp.ghd.remark"
              >
                <c-input
                  disabled
                  type="textarea"
                  rows="4"
                  v-model="model.gidgrp.ghd.remark"
                  maxlength="245"
                  show-word-limit
                  placeholder="请输入备注"
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
559
                label="预付款账号"
liyixun committed
560 561 562 563 564 565
                prop="gidgrp.rec.acc"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.acc"
                  maxlength="35"
wangna committed
566
                  placeholder="请输入预付款账号"
liyixun committed
567 568 569 570 571 572 573
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
574
                label="仲裁地"
liyixun committed
575 576 577 578 579 580
                prop="gidgrp.rec.jurplc"
              >
                <c-input
                  :disabled="model.gidgrp.rec.jurlaws20 == ''"
                  v-model="model.gidgrp.rec.jurplc"
                  maxlength="35"
wangna committed
581
                  placeholder="请输入仲裁地"
liyixun committed
582 583 584 585 586 587
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
588
                label="投标参考号"
liyixun committed
589 590 591 592 593 594
                prop="gidgrp.rec.tenref"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.tenref"
                  maxlength="35"
wangna committed
595
                  placeholder="请输入投标参考号"
liyixun committed
596 597 598 599 600 601
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
602
                label="投标日期"
liyixun committed
603 604 605 606 607 608 609
                prop="gidgrp.rec.tendat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.tendat"
                  style="width: 100%"
wangna committed
610
                  placeholder="请选择投标日期"
liyixun committed
611 612 613 614 615 616
                ></c-date-picker>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
617
                label="最新传输日期"
liyixun committed
618 619 620 621 622 623 624
                prop="gidgrp.rec.trmdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.trmdat"
                  style="width: 100%"
wangna committed
625
                  placeholder="请选择最新传输日期"
liyixun committed
626 627 628 629
                ></c-date-picker>
              </el-form-item>
            </c-col>
          </c-col>
liyixun committed
630
        </c-col>
liyixun committed
631 632 633 634 635 636 637 638 639 640 641 642
      </c-row>
    </div>
  </template>
  <script>
  import Api from "~/service/Api";
  import commonProcess from "~/mixin/commonProcess";
  import CodeTable from "~/config/CodeTable";
  import Event from "~/model/Gitame/Event";
  
  export default {
    inject: ["root"],
    props: ["model", "codes"],
liyixun committed
643
    mixins: [commonProcess],
liyixun committed
644 645
    data() {
      return {};
liyixun committed
646
    },
liyixun committed
647
    methods: { ...Event },
panziyi committed
648 649 650 651 652 653 654 655 656 657 658 659 660
    watch:{
    "model.gidgrp.rec.jurlaws20": function(){
      if(this.model.gidgrp.rec.jurlaws20=="GB"){
        this.model.gidgrp.rec.jurlaw="GB"
      }else if(this.model.gidgrp.rec.jurlaws20=="CN"){
        this.model.gidgrp.rec.jurlaw="CN"
      }else if(this.model.gidgrp.rec.jurlaws20=="HK"){
        this.model.gidgrp.rec.jurlaw="HK"
      }else if(this.model.gidgrp.rec.jurlaws20==""){
        this.model.gidgrp.rec.jurlaw=""
      }
    }
  },
liyixun committed
661 662 663 664 665 666
    created: function () {},
  };
  </script>
  <style>
  </style>