Detp.vue 16.6 KB
Newer Older
1 2 3
<template>
  <div class="eibs-tab">
    <c-row>
liyixun committed
4 5 6
      <c-col :span="24">
        <c-col :span="11">
          <c-col :span="24">
wangna committed
7
            <el-form-item label="合同号" prop="gidgrp.rec.orcref">
liyixun committed
8 9 10
              <c-input
                v-model="model.gidgrp.rec.orcref"
                maxlength="35"
wangna committed
11
                placeholder="请输入合同号"
liyixun committed
12 13 14 15
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
16
            <el-form-item label="合同签定日期" prop="gidgrp.rec.orcdat">
liyixun committed
17 18 19 20 21
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.orcdat"
                style="width: 100%"
wangna committed
22
                placeholder="请选择合同签定日期"
liyixun committed
23 24 25 26
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
27
            <el-form-item label="合同失效日期" prop="gidgrp.rec.tenclsdat">
liyixun committed
28 29 30 31 32
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.tenclsdat"
                style="width: 100%"
wangna committed
33
                placeholder="请选择合同失效日期"
liyixun committed
34 35 36 37 38 39
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <c-col :span="20">
              <el-form-item
wangna committed
40
                label="合同标的"
liyixun committed
41 42 43 44 45 46 47 48 49 50 51 52
                prop="gidgrp.blk.covgodsrv"
              >
                <c-input
                  :disabled="
                    model.gitp.covgodsrvmodflg == '' ||
                    model.gitp.swiftflg == 'N'
                  "
                  rows="5"
                  type="textarea"
                  v-model="model.gidgrp.blk.covgodsrv"
                  maxlength="350"
                  show-word-limit
wangna committed
53
                  placeholder="请输入合同标的"
liyixun committed
54 55 56 57 58 59 60 61
                ></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
62
                >是否手工修改保函文本</c-checkbox
liyixun committed
63 64 65 66 67
              >
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitp.covgod.chkast"
                style="margin: 0 0 0 10px"
wangna committed
68
                >允许</c-checkbox
liyixun committed
69 70 71 72 73 74 75 76 77
              >
              <c-button
                disabled
                v-if="model.gitp.swiftflg == 'Y'"
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px; width: 100px"
                @click="onGitpButdifcovgodsrv"
              >
wangna committed
78
                查看系统文本
liyixun committed
79 80 81 82 83 84 85 86 87
              </c-button>
              <c-button
                disabled
                v-if="model.gitp.swiftflg == 'Y'"
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px; width: 100px"
                @click="onGitpButdifhiscovgodsrv"
              >
wangna committed
88
                查看历史文本
liyixun committed
89 90 91 92
              </c-button>
            </c-col>
          </c-col>
          <c-col :span="24">
wangna committed
93
            <el-form-item label="原始利率" prop="gidgrp.rec.orcrat">
liyixun committed
94 95 96
              <c-input
                disabled
                v-model="model.gidgrp.rec.orcrat"
wangna committed
97
                placeholder="请输入原始利率"
liyixun committed
98 99 100 101 102
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
wangna committed
103
              <el-form-item label="合同币种和金额" prop="gidgrp.rec.orccur">
liyixun committed
104 105 106 107
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.orccur"
                  style="width: 100%"
wangna committed
108
                  placeholder="请选择合同币种"
liyixun committed
109 110 111 112 113 114 115 116 117 118
                >
                  <el-option
                    v-for="item in codes.curtxt"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
119 120
            </c-col>
            <c-col :span="11" :offset="1">
liyixun committed
121 122 123 124
              <el-form-item label-width="5px" prop="gidgrp.rec.orcamt">
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.orcamt"
wangna committed
125
                  placeholder="请输入合同金额"
liyixun committed
126 127 128 129
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>
130

liyixun committed
131 132 133
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
wangna committed
134
              label="仲裁法律"
liyixun committed
135 136 137 138 139 140
              prop="gidgrp.rec.jurlaw"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.jurlaw"
                maxlength="35"
wangna committed
141
                placeholder="请输入仲裁法律"
liyixun committed
142 143 144 145 146
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
147
              label="仲裁地"
liyixun committed
148 149 150 151 152 153
              prop="gidgrp.rec.jurplc"
            >
              <c-input
                :disabled="model.gidgrp.rec.jurlaws20 == ''"
                v-model="model.gidgrp.rec.jurplc"
                maxlength="35"
wangna committed
154
                placeholder="请输入仲裁地"
liyixun committed
155 156 157 158
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
159
            <el-form-item label="投标参考号" prop="gidgrp.rec.tenref">
liyixun committed
160 161 162 163
              <c-input
                disabled
                v-model="model.gidgrp.rec.tenref"
                maxlength="35"
wangna committed
164
                placeholder="请输入投标参考号"
liyixun committed
165 166 167 168 169 170
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
wangna committed
171
              label="投标日期"
liyixun committed
172 173 174 175 176 177 178
              prop="gidgrp.rec.tendat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.tendat"
                style="width: 100%"
wangna committed
179
                placeholder="请选择投标日期"
liyixun committed
180 181 182 183 184 185
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
wangna committed
186
              label="最新传输日期"
liyixun committed
187 188 189 190 191 192 193
              prop="gidgrp.rec.trmdat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.trmdat"
                style="width: 100%"
wangna committed
194
                placeholder="请选择最新传输日期"
liyixun committed
195 196 197
              ></c-date-picker>
            </el-form-item>
          </c-col>
198

liyixun committed
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="备注"
              prop="gidgrp.ghd.remark"
            >
              <c-input
                rows="4px"
                type="textarea"
                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
218
              label="附言"
liyixun committed
219 220 221 222 223 224 225 226 227
              prop="gidgrp.blk.addinf"
            >
              <c-input
                rows="4px"
                disabled
                type="textarea"
                v-model="model.gidgrp.blk.addinf"
                maxlength="700"
                show-word-limit
wangna committed
228
                placeholder="请输入附言"
liyixun committed
229 230 231 232
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
233

liyixun committed
234 235 236
        <c-col :span="11" :offset="1">
          <c-col :span="24">
            <el-form-item
wangna committed
237
              label="预付款账号"
liyixun committed
238 239 240 241 242 243
              prop="gidgrp.rec.acc"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.acc"
                maxlength="35"
wangna committed
244
                placeholder="请输入预付款账号"
liyixun committed
245 246 247
              ></c-input>
            </el-form-item>
          </c-col>
248

liyixun committed
249 250 251
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
252
              label="投标日期"
liyixun committed
253 254 255 256 257 258 259
              prop="gidgrp.rec.tendat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.tendat"
                style="width: 100%"
wangna committed
260
                placeholder="请选择投标日期"
liyixun committed
261 262 263 264 265 266
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
267
              label="最新传输日期"
liyixun committed
268 269 270 271 272 273 274
              prop="gidgrp.rec.trmdat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.trmdat"
                style="width: 100%"
wangna committed
275
                placeholder="请选择最新传输日期"
liyixun committed
276 277 278 279 280 281
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
282
              label="适用法律"
liyixun committed
283 284 285 286 287
              prop="gidgrp.rec.jurlaws20"
            >
              <c-select
                v-model="model.gidgrp.rec.jurlaws20"
                style="width: 100%"
wangna committed
288
                placeholder="请选择适用法律"
liyixun committed
289 290 291 292 293 294 295 296 297 298 299
              >
                <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>
300

liyixun committed
301
          <c-col :span="24">
wangna committed
302
            <el-form-item label="仲裁法律" prop="gidgrp.rec.jurlaw">
panziyi committed
303
              <c-select
liyixun committed
304 305 306
                disabled
                v-model="model.gidgrp.rec.jurlaw"
                maxlength="35"
panziyi committed
307
                :code="codes.ctytxt2"
wangna committed
308
                placeholder="请输入仲裁法律"
panziyi committed
309 310
                style="width:100%"
              ></c-select>
liyixun committed
311 312 313 314
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
315
              label="合同签定地"
liyixun committed
316 317 318 319 320 321 322 323 324
              prop="gidgrp.blk.orcplc"
            >
              <c-input
                rows="4px"
                disabled
                type="textarea"
                v-model="model.gidgrp.blk.orcplc"
                maxlength="35"
                show-word-limit
wangna committed
325
                placeholder="请输入合同签定地"
liyixun committed
326 327 328 329 330 331
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
332
              label="附言"
liyixun committed
333 334 335 336 337 338 339 340 341
              prop="gidgrp.blk.addinf"
            >
              <c-input
                rows="4px"
                disabled
                type="textarea"
                v-model="model.gidgrp.blk.addinf"
                maxlength="35"
                show-word-limit
wangna committed
342
                placeholder="请输入附言"
liyixun committed
343 344 345
              ></c-input>
            </el-form-item>
          </c-col>
346

liyixun committed
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378
          <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
                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>
379
              </c-select>
liyixun committed
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
            </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
                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>
457
              </c-select>
liyixun committed
458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475
            </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
476
              label="直接Swift添加"
liyixun committed
477 478
              prop="gitp.indirectswiadd"
            >
479
            <c-input-xml
liyixun committed
480
                type="textarea"
481 482
                :maxRows="10"
                :model="model.gitp.indirectswiadd"
liyixun committed
483
                @change="commonExecuteRule('gitp.indirectswiadd')"
484
                maxlength="9750"
liyixun committed
485
                show-word-limit
wangna committed
486
                placeholder="请输入直接Swift添加"
487
              ></c-input-xml>
liyixun committed
488 489
            </el-form-item>
          </c-col>
490
        </c-col>
liyixun committed
491 492
      </c-col>
    </c-row>
493 494 495
  </div>
</template>
<script>
liyixun committed
496
import Api from "~/service/Api";
497
import commonProcess from "~/mixin/commonProcess";
liyixun committed
498 499
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event";
500 501

export default {
liyixun committed
502 503 504 505 506 507 508 509 510 511 512
  inject: ["root"],
  props: ["model"],
  mixins: [commonProcess],
  data() {
    return {
      codes: {
        ...CodeTable,
      },
    };
  },
  methods: { ...Event },
panziyi committed
513 514 515 516 517 518 519 520 521 522 523 524 525
  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
526 527
  created: function () {},
};
528 529 530
</script>
<style>
</style>