Ptypc.vue 6 KB
Newer Older
1
<template>
huangxin committed
2
  <div class="eibs">
3 4
    <!-- ============左边================= -->
        <c-col :span="12" style="padding-right: 20px;">
liyixun committed
5 6 7 8
          <c-col :span="24">
            <c-ptap
              :model="model"
              :argadr="{
wangna committed
9
                title: '申请人',
liyixun committed
10 11 12 13 14 15 16
                grp: 'gidgrp',
                rol: 'apc',
              }"
              :disabled="false"
            >
            </c-ptap>
          </c-col>
liyixun committed
17

liyixun committed
18 19 20 21
          <c-col :span="24">
            <c-ptap
              :model="model"
              :argadr="{
wangna committed
22
                title: '债务人',
liyixun committed
23 24 25 26 27 28 29 30
                grp: 'gidgrp',
                rol: 'ctc',
              }"
              :disabled="false"
              @onAplpDet="onCtcpDet"
            >
            </c-ptap>
          </c-col>
liyixun committed
31

liyixun committed
32 33 34 35
          <c-col :span="24">
            <c-ptap
              :model="model"
              :argadr="{
wangna committed
36
                title: '利息受益人',
liyixun committed
37 38 39 40 41 42 43 44 45
                grp: 'gidgrp',
                rol: 'bec',
              }"
              :disabled="false"
              @onAplpDet="onBecpDet"
            >
            </c-ptap>
          </c-col>
        </c-col>
46 47
        <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
liyixun committed
48
          <c-col :span="24">
wangna committed
49
            <el-form-item label="开证行参考号" prop="gidgrp.iss.pts.ref">
50 51 52
              <c-input
                v-model="model.gidgrp.iss.pts.ref"
                maxlength="16"
wangna committed
53
                placeholder="请输入开证行参考号"
54 55 56 57
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
58
            <el-form-item label="开证行" prop="gidgrp.iss.pts.extkey">
59 60 61 62
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.iss.pts.extkey"
                  maxlength="16"
wangna committed
63
                  placeholder="请输入"
64 65 66 67 68 69 70 71 72 73 74
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.iss.pts.extkey`)
                  "
                  @blur="issBlur"
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
nanrui committed
75
                    <i class="el-icon-info"></i>
76 77 78 79 80 81 82
                  </c-button>
                  <c-button
                    :disabled="model.gidgrp.iss.pts.adrblk == ''"
                    size="small"
                    type="primary"
                    @click="onIsspDet"
                  >
wangna committed
83
                    详情
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk">
              <c-input
                :disabled="model.gidgrp.iss.pts.adrblk != ''"
                rows="4"
                type="textarea"
                v-model="model.gidgrp.iss.pts.adrblk"
                maxlength="140"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
liyixun committed
101
          </c-col>
liyixun committed
102

liyixun committed
103 104 105 106
          <c-col :span="24">
            <c-ptap
              :model="model"
              :argadr="{
wangna committed
107
                title: '最终受益人银行',
liyixun committed
108 109 110 111 112 113 114 115
                grp: 'gidgrp',
                rol: 'ben',
              }"
              :disabled="true"
              @onAplpDet="onCtcpDet"
            >
            </c-ptap>
          </c-col>
liyixun committed
116

liyixun committed
117 118
          <c-col :span="24">
            <el-form-item
wangna committed
119
              label="可用银行参考号"
liyixun committed
120 121 122 123 124 125
              prop="gidgrp.avc.pts.ref"
            >
              <c-input
                disabled
                v-model="model.gidgrp.avc.pts.ref"
                maxlength="16"
wangna committed
126
                placeholder="请输入可用银行参考号"
liyixun committed
127 128 129 130 131
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
132
              label="地址"
liyixun committed
133 134 135 136 137 138 139
              prop="gidgrp.avc.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  disabled
                  v-model="model.gidgrp.avc.pts.extkey"
                  maxlength="16"
wangna committed
140
                  placeholder="请输入地址"
liyixun committed
141 142 143 144 145 146 147 148 149 150 151
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                    icon="el-icon-search"
                    @click="onSeainf(`gidgrp.avc.pts.extkey`)"
                  >
                  </c-button>
                  <c-button size="small" type="primary" @click="onAvcpDet">
152
                    详情
liyixun committed
153 154 155 156 157 158
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
159
            <el-form-item label="当事人名称" prop="gidgrp.avc.pts.nam">
liyixun committed
160 161 162 163
              <c-input
                disabled
                v-model="model.gidgrp.avc.pts.nam"
                maxlength="40"
wangna committed
164
                placeholder="请输入当事人名称"
liyixun committed
165 166 167
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
168
        </c-col>
169 170 171
  </div>
</template>
<script>
liyixun committed
172
import Api from "~/service/Api";
173
import commonProcess from "~/mixin/commonProcess";
liyixun committed
174 175
import commonFuncs from "~/mixin/commonFuncs";

liyixun committed
176 177
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event";
liyixun committed
178
import Ptap from "~/views/Public/Ptap";
179
import Utils from "~/utils";
liyixun committed
180

181
export default {
liyixun committed
182 183 184 185 186 187 188 189 190
  components: { "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess, commonFuncs],
  data() {
    return {};
  },
  methods: {
    ...Event,
191 192 193 194 195 196
    async issBlur() {
      let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },
liyixun committed
197 198 199
  },
  created: function () {},
};
200 201 202
</script>
<style>
</style>