Ptyp.vue 13 KB
Newer Older
liyixun committed
1 2
<template>
  <div class="eibs-tab">
liyixun committed
3 4 5 6
    <c-row>
      <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
              <c-fullbox>
                <c-input
liyixun committed
19
                  :disabled="model.gidgrp.apl.pts.extkey != ''"
liyixun committed
20 21
                  v-model="model.gidgrp.apl.pts.extkey"
                  maxlength="16"
wangna committed
22
                  placeholder="请输入"
liyixun committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
                  @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
liyixun committed
38
                    :disabled="model.gidgrp.apl.pts.extkey == ''"
liyixun committed
39 40 41 42
                    size="small"
                    type="primary"
                    @click="onAplpDet"
                  >
wangna committed
43
                    详情
liyixun committed
44 45 46 47 48 49 50 51
                  </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
liyixun committed
52 53
                :disabled="model.gidgrp.apl.pts.adrblk != ''"
                :rows="4"
liyixun committed
54 55 56 57 58 59 60 61
                type="textarea"
                v-model="model.gidgrp.apl.pts.adrblk"
                maxlength="35"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
62

liyixun committed
63
          <c-col :span="24">
liyixun committed
64
            <el-form-item
liyixun committed
65
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
66
              label="账户/对象参考号"
liyixun committed
67
              prop="gidgrp.ctr.pts.ref"
liyixun committed
68
            >
liyixun committed
69 70 71
              <c-input
                v-model="model.gidgrp.ctr.pts.ref"
                maxlength="16"
wangna committed
72
                placeholder="请输入账户/对象参考号"
liyixun committed
73 74 75 76 77 78
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
79
              label="账户/对象"
liyixun committed
80 81 82 83 84 85
              prop="gidgrp.ctr.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.ctr.pts.extkey"
                  maxlength="16"
wangna committed
86
                  placeholder="请输入"
liyixun committed
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    v-if="model.gitp.swiftflg == 'Y'"
                    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
                    v-if="model.gitp.swiftflg == 'Y'"
liyixun committed
104
                    :disabled="model.gidgrp.ctr.pts.extkey == ''"
liyixun committed
105 106 107 108
                    size="small"
                    type="primary"
                    @click="onCtrpDet"
                  >
wangna committed
109
                    详情
liyixun committed
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
              label="地址名称"
              prop="gidgrp.ctr.pts.adrblk"
            >
              <c-input
                :disabled="model.gidgrp.ctr.pts.adrblk != ''"
                :rows="4"
                type="textarea"
                v-model="model.gidgrp.ctr.pts.adrblk"
                maxlength="35"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
liyixun committed
131 132 133 134 135
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
wangna committed
136
              label="保兑行参考号"
liyixun committed
137 138 139 140 141 142
              prop="gidgrp.con.pts.ref"
            >
              <c-input
                disabled
                v-model="model.gidgrp.con.pts.ref"
                maxlength="16"
wangna committed
143
                placeholder="请输入保兑行参考号"
liyixun committed
144 145 146 147 148 149
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
wangna committed
150
              label="保兑行"
liyixun committed
151 152 153 154 155 156 157
              prop="gidgrp.con.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.con.pts.extkey"
                  disabled
                  maxlength="16"
wangna committed
158
                  placeholder="请输入"
liyixun committed
159 160 161 162 163 164 165 166 167 168 169 170
                  @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
liyixun committed
171
                    >
liyixun committed
172 173
                  </c-button>
                  <c-button
liyixun committed
174
                    :disabled="model.gidgrp.con.pts.extkey == ''"
liyixun committed
175 176 177 178
                    size="small"
                    type="primary"
                    @click="onConpDet"
                  >
wangna committed
179
                    详情
liyixun committed
180 181 182 183 184 185 186 187 188 189 190 191
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="地址名称"
              prop="gidgrp.con.pts.adrblk"
            >
              <c-input
liyixun committed
192
                disabled
liyixun committed
193 194 195 196 197 198 199 200 201 202
                type="textarea"
                rows="4"
                v-model="model.gidgrp.con.pts.adrblk"
                maxlength="35"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
liyixun committed
203

liyixun committed
204 205
        <c-col :span="11" :offset="1">
          <c-col :span="24">
wangna committed
206
            <el-form-item label="受益人参考号" prop="gidgrp.ben.pts.ref">
liyixun committed
207 208 209
              <c-input
                v-model="model.gidgrp.ben.pts.ref"
                maxlength="16"
wangna committed
210
                placeholder="请输入受益人参考号"
liyixun committed
211 212 213 214 215 216 217 218 219
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="受益人" prop="gidgrp.ben.pts.extkey">
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.ben.pts.extkey"
                  maxlength="16"
wangna committed
220
                  placeholder="请输入"
liyixun committed
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
                  @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
liyixun committed
236
                    :disabled="model.gidgrp.ben.pts.extkey == ''"
liyixun committed
237 238 239 240
                    size="small"
                    type="primary"
                    @click="onBenpDet"
                  >
wangna committed
241
                    详情
liyixun committed
242 243 244 245 246 247 248 249
                  </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
liyixun committed
250 251 252 253
                :disabled="
                  model.gidgrp.rec.hndtyp == 'OT' ||
                  model.gidgrp.ben.pts.adrblk != ''
                "
liyixun committed
254 255 256 257 258 259 260 261 262
                rows="4"
                type="textarea"
                v-model="model.gidgrp.ben.pts.adrblk"
                maxlength="35"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
263

liyixun committed
264
          <c-col :span="24">
liyixun committed
265 266
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
267
              label="通知行参考号"
liyixun committed
268 269 270 271 272
              prop="gidgrp.atb.pts.ref"
            >
              <c-input
                v-model="model.gidgrp.atb.pts.ref"
                maxlength="16"
wangna committed
273
                placeholder="请输入通知行参考号"
liyixun committed
274 275 276 277 278 279
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
280
              label="通知行"
liyixun committed
281 282 283 284
              prop="gidgrp.atb.pts.extkey"
            >
              <c-fullbox>
                <c-input
liyixun committed
285
                  disabled
liyixun committed
286 287
                  v-model="model.gidgrp.atb.pts.extkey"
                  maxlength="16"
wangna committed
288
                  placeholder="请输入"
liyixun committed
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.atb.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    v-if="model.gitp.swiftflg == 'Y'"
                    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
liyixun committed
305
                    :disabled="model.gidgrp.atb.pts.extkey == ''"
liyixun committed
306 307 308 309 310
                    v-if="model.gitp.swiftflg == 'Y'"
                    size="small"
                    type="primary"
                    @click="onAtbpDet"
                  >
wangna committed
311
                    详情
liyixun committed
312 313 314 315 316 317 318
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
liyixun committed
319
              v-if="model.gitp.swiftflg == 'Y'"
liyixun committed
320 321
              label="地址名称"
              prop="gidgrp.atb.pts.adrblk"
liyixun committed
322
            >
liyixun committed
323
              <c-input
liyixun committed
324
                disabled
liyixun committed
325 326 327 328 329 330 331 332
                rows="4"
                type="textarea"
                v-model="model.gidgrp.atb.pts.adrblk"
                maxlength="35"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
liyixun committed
333
          </c-col>
liyixun committed
334
        </c-col>
liyixun committed
335
      </c-col>
liyixun committed
336
    </c-row>
liyixun committed
337

liyixun committed
338
    <c-col :span="24">
wangna committed
339
      <el-form-item label="可录入保函项下其他关联方">
liyixun committed
340 341 342 343 344 345
        <c-edit-table
          :model="model"
          v-bind="ptsaddg"
          style="margin-left: -120px"
        >
          <el-table-column label="操作">
liyixun committed
346 347 348 349 350 351 352 353 354 355
            <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
356 357
      </el-form-item>
    </c-col>
liyixun committed
358 359 360
  </div>
</template>
<script>
liyixun committed
361
import Api from "~/service/Api";
liyixun committed
362
import commonProcess from "~/mixin/commonProcess";
liyixun committed
363 364
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitame/Event";
liyixun committed
365
import Ptap from "~/views/Public/Ptap";
liyixun committed
366 367

export default {
liyixun committed
368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388
  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
389
            title: "当事人名称",
liyixun committed
390 391 392 393 394 395 396 397 398 399
            width: "250px",
            dataIndex: "nam",
          },
          {
            title: "Reference for Address",
            width: "250px",
            dataIndex: "ref",
          },
        ],
        urls: "gitp.ptsaddp.ptsaddg",
liyixun committed
400
      },
liyixun committed
401 402 403 404 405
    };
  },
  methods: { ...Event },
  created: function () {},
};
liyixun committed
406 407 408
</script>
<style>
</style>