Ptyp.vue 9.56 KB
Newer Older
liyixun committed
1 2
<template>
  <div class="eibs-tab">
liyixun committed
3
    <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.apl.pts.ref">
liyixun committed
8 9 10
              <c-input
                v-model="model.gidgrp.apl.pts.ref"
                maxlength="16"
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.apl.pts.extkey">
liyixun committed
17 18 19 20
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.apl.pts.extkey"
                  maxlength="16"
wangna committed
21
                  placeholder="请输入"
liyixun committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.apl.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
                    <span style="font-family: '宋体'; font-weight: bold"
                      >i</span
                    >
                  </c-button>
                  <c-button size="small" type="primary" @click="onAplpDet">
wangna committed
37
                    详情
liyixun committed
38 39 40 41 42 43 44 45 46 47 48 49
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
              <c-input
                :disabled="model.gidgrp.apl.pts.adrblk!=''"
                rows="4"
                type="textarea"
                v-model="model.gidgrp.apl.pts.adrblk"
liyixun committed
50
                maxlength="140"
liyixun committed
51 52 53 54 55
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
56

liyixun committed
57 58
          <c-col :span="24">
            <el-form-item
wangna committed
59
              label="保兑行参考号"
liyixun committed
60 61 62 63 64 65
              prop="gidgrp.con.pts.ref"
            >
              <c-input
                disabled
                v-model="model.gidgrp.con.pts.ref"
                maxlength="16"
wangna committed
66
                placeholder="请输入保兑行参考号"
liyixun committed
67 68 69 70
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
71
            <el-form-item label="保兑行" prop="gidgrp.con.pts.extkey">
liyixun committed
72 73 74 75 76
              <c-fullbox>
                <c-input
                  disabled
                  v-model="model.gidgrp.con.pts.extkey"
                  maxlength="16"
wangna committed
77
                  placeholder="请输入"
liyixun committed
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.con.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
                    <span style="font-family: '宋体'; font-weight: bold"
                      >i</span
                    >
                  </c-button>
                  <c-button
                    disabled
                    size="small"
                    type="primary"
                    @click="onConpDet"
                  >
wangna committed
98
                    详情
liyixun committed
99 100 101 102 103 104 105 106 107 108 109 110
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址名称" prop="gidgrp.con.pts.adrblk">
              <c-input
                disabled
                rows="4"
                type="textarea"
                v-model="model.gidgrp.con.pts.adrblk"
liyixun committed
111
                maxlength="140"
liyixun committed
112 113 114 115 116 117 118 119
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="11" :offset="1">
          <c-col :span="24">
wangna committed
120
            <el-form-item label="受益人参考号" prop="gidgrp.ben.pts.ref">
liyixun committed
121 122 123
              <c-input
                v-model="model.gidgrp.ben.pts.ref"
                maxlength="16"
wangna committed
124
                placeholder="请输入受益人参考号"
liyixun committed
125 126 127 128
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
129
            <el-form-item label="受益人" prop="gidgrp.ben.pts.extkey">
liyixun committed
130 131 132 133
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.ben.pts.extkey"
                  maxlength="16"
wangna committed
134
                  placeholder="请输入"
liyixun committed
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.ben.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
                    <span style="font-family: '宋体'; font-weight: bold"
                      >i</span
                    >
                  </c-button>
                  <c-button
                    disabled
                    size="small"
                    type="primary"
                    @click="onBenpDet"
                  >
wangna committed
155
                    详情
liyixun committed
156 157 158 159 160 161 162 163 164 165 166 167
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
              <c-input
                disabled
                rows="4"
                type="textarea"
                v-model="model.gidgrp.ben.pts.adrblk"
liyixun committed
168
                maxlength="140"
liyixun committed
169 170 171 172 173
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
174

liyixun committed
175
          <c-col :span="24">
wangna committed
176
            <el-form-item label="开证行参考号" prop="gidgrp.iss.pts.ref">
liyixun committed
177 178 179
              <c-input
                v-model="model.gidgrp.iss.pts.ref"
                maxlength="16"
wangna committed
180
                placeholder="请输入开证行参考号"
liyixun committed
181 182 183 184
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
185
            <el-form-item label="开证行" prop="gidgrp.iss.pts.extkey">
liyixun committed
186 187 188 189
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.iss.pts.extkey"
                  maxlength="16"
wangna committed
190
                  placeholder="请输入"
liyixun committed
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.iss.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
                    <span style="font-family: '宋体'; font-weight: bold"
                      >i</span
                    >
                  </c-button>
                  <c-button
                    disabled
                    size="small"
                    type="primary"
                    @click="onIsspDet"
                  >
wangna committed
211
                    详情
liyixun committed
212 213 214 215 216 217 218 219 220 221 222 223
                  </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
                rows="4"
                type="textarea"
                v-model="model.gidgrp.iss.pts.adrblk"
liyixun committed
224
                maxlength="140"
liyixun committed
225 226 227 228 229
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
230
        </c-col>
liyixun committed
231
      </c-col>
liyixun committed
232 233 234
    </c-row>

    <c-col :span="24">
wangna committed
235
      <el-form-item label="可录入保函项下其他关联方">
liyixun committed
236 237 238 239 240 241
        <c-edit-table
          :model="model"
          v-bind="ptsaddg"
          style="margin-left: -120px"
        >
          <el-table-column label="操作">
liyixun committed
242 243 244 245 246 247 248 249 250 251
            <template slot-scope="scope">
              <el-button
                size="mini"
                @click="handleEdit(scope.$index, scope.row)"
                type="primary"
                >详情</el-button
              >
            </template>
          </el-table-column>
        </c-edit-table>
liyixun committed
252
      </el-form-item>
liyixun committed
253 254
    </c-col>
  </div>
liyixun committed
255 256
</template>
<script>
liyixun committed
257
import Api from "~/service/Api";
liyixun committed
258
import commonProcess from "~/mixin/commonProcess";
liyixun committed
259 260
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getopn/Event";
liyixun committed
261
import Ptap from "~/views/Public/Ptap";
liyixun committed
262 263

export default {
liyixun committed
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
  components: { "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      ptsaddg: {
        columns: [
          {
            title: "Role",
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
            title: "Party",
            width: "180px",
            dataIndex: "ptyextkey",
            show: "input",
          },
          {
wangna committed
285
            title: "当事人名称",
liyixun committed
286 287 288 289 290 291 292 293 294 295
            width: "250px",
            dataIndex: "nam",
          },
          {
            title: "Reference for Address",
            width: "250px",
            dataIndex: "ref",
          },
        ],
        urls: "gitp.ptsaddp.ptsaddg",
liyixun committed
296
      },
liyixun committed
297 298 299 300 301
    };
  },
  methods: { ...Event },
  created: function () {},
};
liyixun committed
302 303 304
</script>
<style>
</style>