Detp.vue 21.7 KB
Newer Older
liyixun committed
1
<template>
huangxin committed
2
    <div class="eibs">
3 4
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
liyixun committed
5 6 7
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
8
                label="合同号"
liyixun committed
9 10 11 12 13
                prop="gidgrp.rec.orcref"
              >
                <c-input
                  v-model="model.gidgrp.rec.orcref"
                  maxlength="35"
wangna committed
14
                  placeholder="请输入合同号"
liyixun committed
15 16
                ></c-input>
              </el-form-item>
liyixun committed
17
            </c-col>
liyixun committed
18 19 20 21
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
22
                label="合同号"
liyixun committed
23 24 25 26 27
                prop="gidgrp.rec.orcref"
              >
                <c-input
                  v-model="model.gidgrp.rec.orcref"
                  maxlength="35"
wangna committed
28
                  placeholder="请输入合同号"
liyixun committed
29 30 31 32 33 34 35
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
36
                label="合同签定日期"
liyixun committed
37 38 39 40 41 42 43
                prop="gidgrp.rec.orcdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orcdat"
                  style="width: 100%"
wangna committed
44
                  placeholder="请选择合同签定日期"
liyixun committed
45 46 47 48 49 50 51
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
52
                label="合同签定日期"
liyixun committed
53 54 55 56 57 58 59
                prop="gidgrp.rec.orcdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orcdat"
                  style="width: 100%"
wangna committed
60
                  placeholder="请选择合同签定日期"
liyixun committed
61 62 63 64 65 66 67
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
68
                label="合同失效日期"
liyixun committed
69 70 71 72 73 74 75
                prop="gidgrp.rec.tenclsdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orcdat"
                  style="width: 100%"
wangna committed
76
                  placeholder="请选择合同失效日期"
liyixun committed
77 78 79 80 81 82 83
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
84
                label="合同失效日期"
liyixun committed
85 86 87 88 89 90 91
                prop="gidgrp.rec.tenclsdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orcdat"
                  style="width: 100%"
wangna committed
92
                  placeholder="请选择合同失效日期"
liyixun committed
93 94 95 96 97
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
98
              <c-col :span="18">
liyixun committed
99
                <el-form-item
wangna committed
100
                  label="合同标的"
liyixun committed
101 102 103 104 105 106 107 108 109 110 111 112
                  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
113
                    placeholder="请输入合同标的"
liyixun committed
114 115 116
                  ></c-input>
                </el-form-item>
              </c-col>
117
              <c-col :span="6">
liyixun committed
118 119 120 121
                <c-checkbox
                  v-if="model.gitp.swiftflg == 'Y'"
                  v-model="model.gitp.covgodsrvmodflg"
                  style="margin: 0 0 0 10px"
wangna committed
122
                  >修改文本</c-checkbox
liyixun committed
123 124 125 126 127
                >
                <c-checkbox
                  v-if="model.gitp.swiftflg == 'Y'"
                  v-model="model.gitp.covgod.chkast"
                  style="margin: 0 0 0 10px"
wangna committed
128
                  >允许</c-checkbox
liyixun committed
129 130 131 132 133 134 135 136 137
                >
                <c-button
                  disabled
                  v-if="model.gitp.swiftflg == 'Y'"
                  size="small"
                  type="primary"
                  style="margin: 5px 0 0 10px"
                  @click="onGitpButdifcovgodsrv"
                >
wangna committed
138
                  查看系统文本
liyixun committed
139 140 141 142 143 144 145 146 147
                </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
148
                  查看历史文本
liyixun committed
149 150 151 152 153 154 155
                </c-button>
              </c-col>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
156
                label="原始利率"
liyixun committed
157 158 159 160 161
                prop="gidgrp.rec.orcrat"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.orcrat"
wangna committed
162
                  placeholder="请输入原始利率"
liyixun committed
163 164 165 166 167 168 169
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
170
                label="原始利率"
liyixun committed
171 172 173 174 175
                prop="gidgrp.rec.orcrat"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.orcrat"
wangna committed
176
                  placeholder="请输入原始利率"
liyixun committed
177 178 179 180 181 182
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <c-col :span="12">
wangna committed
183
                <el-form-item label="合同币种和金额" prop="gidgrp.rec.orccur">
liyixun committed
184 185 186 187
                  <c-select
                    disabled
                    v-model="model.gidgrp.rec.orccur"
                    style="width: 100%"
wangna committed
188
                    placeholder="请选择合同币种 "
liyixun committed
189 190 191 192 193 194 195 196 197 198 199
                  >
                    <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>
200
              <c-col :span="12">
liyixun committed
201 202 203 204
                <el-form-item label-width="5px" prop="gidgrp.rec.orcamt">
                  <c-input
                    disabled
                    v-model="model.gidgrp.rec.orcamt"
wangna committed
205
                    placeholder="请输入合同金额 "
liyixun committed
206 207 208 209 210 211 212 213
                  ></c-input>
                </el-form-item>
              </c-col>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
214
                label="合同签定地"
liyixun committed
215 216 217 218 219 220 221 222 223
                prop="gidgrp.blk.orcplc"
              >
                <c-input
                  disabled
                  type="textarea"
                  rows="4"
                  v-model="model.gidgrp.blk.orcplc"
                  maxlength="140"
                  show-word-limit
wangna committed
224
                  placeholder="请输入合同签定地"
liyixun committed
225 226 227 228 229 230 231
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
232
                label="预付款账号"
liyixun committed
233 234 235 236 237 238
                prop="gidgrp.rec.acc"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.acc"
                  maxlength="35"
wangna committed
239
                  placeholder="请输入预付款账号"
liyixun committed
240 241 242 243 244 245 246 247
                ></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
248
                  label="适用法律"
liyixun committed
249 250 251 252 253 254
                  prop="gidgrp.rec.jurlaws20"
                >
                  <c-select
                    :disabled="model.gitp.swiftflg != 'Y'"
                    v-model="model.gidgrp.rec.jurlaws20"
                    style="width: 100%"
wangna committed
255
                    placeholder="请选择适用法律"
liyixun committed
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272
                  >
                    <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
273
                  <c-select
liyixun committed
274 275 276
                    disabled
                    v-model="model.gidgrp.rec.jurlaw"
                    maxlength="35"
panziyi committed
277 278
                    :code="codes.ctytxt2"
                    style="width: 100%"
wangna committed
279
                    placeholder="请输入"
panziyi committed
280
                  ></c-select>
liyixun committed
281 282 283 284 285 286
                </el-form-item>
              </c-col>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
287
                label="仲裁法律"
liyixun committed
288 289 290 291 292 293
                prop="gidgrp.rec.jurlaw"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.jurlaw"
                  maxlength="35"
wangna committed
294
                  placeholder="请输入仲裁法律"
liyixun committed
295 296 297 298 299 300
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
301
                label="仲裁地"
liyixun committed
302 303 304 305 306 307
                prop="gidgrp.rec.jurplc"
              >
                <c-input
                  :disabled="model.gidgrp.rec.jurlaws20 == ''"
                  v-model="model.gidgrp.rec.jurplc"
                  maxlength="35"
wangna committed
308
                  placeholder="请输入仲裁地"
liyixun committed
309 310 311 312 313 314
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
315
                label="投标参考号"
liyixun committed
316 317 318 319 320 321
                prop="gidgrp.rec.tenref"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.tenref"
                  maxlength="35"
wangna committed
322
                  placeholder="请输入投标参考号"
liyixun committed
323 324 325 326 327 328
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
329
                label="投标日期"
liyixun committed
330 331 332 333 334 335 336
                prop="gidgrp.rec.tendat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.tendat"
                  style="width: 100%"
wangna committed
337
                  placeholder="请选择投标日期"
liyixun committed
338 339 340 341 342 343
                ></c-date-picker>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
wangna committed
344
                label="最新传输日期"
liyixun committed
345 346 347 348 349 350 351
                prop="gidgrp.rec.trmdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.trmdat"
                  style="width: 100%"
wangna committed
352
                  placeholder="请选择最新传输日期"
liyixun committed
353 354 355 356 357
                ></c-date-picker>
              </el-form-item>
            </c-col>
          </c-col>
  
358 359
        <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
liyixun committed
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
            <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
491
                label="直接Swift添加"
liyixun committed
492 493 494 495 496 497 498 499
                prop="gitp.indirectswiadd"
              >
                <c-input
                  type="textarea"
                  rows="4"
                  v-model="model.gitp.indirectswiadd"
                  maxlength="9750"
                  show-word-limit
wangna committed
500
                  placeholder="请输入直接Swift添加"
liyixun committed
501 502 503 504 505 506 507
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
508
                label="合同签定地"
liyixun committed
509 510 511 512 513 514 515 516 517
                prop="gidgrp.blk.orcplc"
              >
                <c-input
                  disabled
                  type="textarea"
                  rows="4"
                  v-model="model.gidgrp.blk.orcplc"
                  maxlength="140"
                  show-word-limit
wangna committed
518
                  placeholder="请输入合同签定地"
liyixun committed
519 520 521 522 523
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
wangna committed
524
              <el-form-item label="附加说明" prop="gidgrp.blk.addinf">
liyixun committed
525 526 527 528 529 530 531
                <c-input
                  disabled
                  rows="4"
                  type="textarea"
                  v-model="model.gidgrp.blk.addinf"
                  maxlength="700"
                  show-word-limit
wangna committed
532
                  placeholder="请输入附加说明"
liyixun committed
533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556
                ></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
557
                label="预付款账号"
liyixun committed
558 559 560 561 562 563
                prop="gidgrp.rec.acc"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.acc"
                  maxlength="35"
wangna committed
564
                  placeholder="请输入预付款账号"
liyixun committed
565 566 567 568 569 570 571
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
572
                label="仲裁地"
liyixun committed
573 574 575 576 577 578
                prop="gidgrp.rec.jurplc"
              >
                <c-input
                  :disabled="model.gidgrp.rec.jurlaws20 == ''"
                  v-model="model.gidgrp.rec.jurplc"
                  maxlength="35"
wangna committed
579
                  placeholder="请输入仲裁地"
liyixun committed
580 581 582 583 584 585
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
586
                label="投标参考号"
liyixun committed
587 588 589 590 591 592
                prop="gidgrp.rec.tenref"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.tenref"
                  maxlength="35"
wangna committed
593
                  placeholder="请输入投标参考号"
liyixun committed
594 595 596 597 598 599
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
600
                label="投标日期"
liyixun committed
601 602 603 604 605 606 607
                prop="gidgrp.rec.tendat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.tendat"
                  style="width: 100%"
wangna committed
608
                  placeholder="请选择投标日期"
liyixun committed
609 610 611 612 613 614
                ></c-date-picker>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
615
                label="最新传输日期"
liyixun committed
616 617 618 619 620 621 622
                prop="gidgrp.rec.trmdat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.trmdat"
                  style="width: 100%"
wangna committed
623
                  placeholder="请选择最新传输日期"
liyixun committed
624 625 626 627 628 629 630 631 632 633 634 635 636 637 638
                ></c-date-picker>
              </el-form-item>
            </c-col>
          </c-col>
    </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
639
    mixins: [commonProcess],
liyixun committed
640 641
    data() {
      return {};
liyixun committed
642
    },
liyixun committed
643
    methods: { ...Event },
panziyi committed
644 645 646 647 648 649 650 651 652 653 654 655 656
    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
657 658 659 660 661 662
    created: function () {},
  };
  </script>
  <style>
  </style>