Ptyp.vue 18.8 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
3 4 5
    <!-- ================= 左 ================== -->
    <c-col :span="11">
      <c-col :span="24">
6
        <el-form-item label="申请人开户行参考号" prop="lidgrp.ini.pts.ref">
7 8 9 10
          <c-input
            v-model="model.lidgrp.ini.pts.ref"
            disabled
            maxlength="16"
11
            placeholder="请输入内容"
12 13 14
          ></c-input>
        </el-form-item>
      </c-col>
15

16
      <c-col :span="24">
17
        <el-form-item label="地址编码" prop="lidgrp.ini.pts.extkey">
18 19 20 21
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.ini.pts.extkey"
              maxlength="16"
wangren committed
22
              style="width: 100%"
23
              placeholder="请输入地址编码"
24 25 26 27 28 29 30 31
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf('lidgrp.ini.pts.extkey')"
32
                icon="el-icon-search"
33
              >
34
                <span style="font-family: '宋体'; font-weight: bold"></span>
35 36 37 38 39
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
40
                icon="el-icon-info"
41 42
                @click="onInipDet"
              >
43
                
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.ini.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onInipDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
65
        <el-form-item label="名称地址" prop="lidgrp.ini.pts.adrblk">
66 67 68 69 70 71 72
          <c-input
            type="textarea"
            v-model="model.lidgrp.ini.pts.adrblk"
            maxlength="35"
            :rows="4"
            show-word-limit
            disabled
73
            placeholder="请输入名称地址"
74 75 76 77
          ></c-input>
        </el-form-item>
      </c-col>
      <!--            
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
            <c-col :span="24">
                <el-form-item label="Chinese address" prop="lidgrp.ini.dbfadrblkcn">
                    <c-input type="textarea" v-model="model.lidgrp.ini.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
                </el-form-item>
            </c-col>
                                          
            <c-col :span="24">
                <el-form-item label="名称" prop="lidgrp.ini.namelc">
                    <c-input type="textarea" v-model="model.lidgrp.ini.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
                </el-form-item>
            </c-col>
                        
            <c-col :span="24">
                <el-form-item label="地址" prop="lidgrp.ini.adrelc">
                    <c-input type="textarea" v-model="model.lidgrp.ini.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
                </el-form-item>
            </c-col>
            -->

97
      <c-col :span="24">
98
        <el-form-item label="偿付行参考号" prop="lidgrp.rmb.pts.ref">
99 100 101
          <c-input
            v-model="model.lidgrp.rmb.pts.ref"
            maxlength="16"
102
            placeholder="请输入内容"
103 104 105 106
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
107

108
      <c-col :span="24">
109
        <el-form-item label="地址编码" prop="lidgrp.rmb.pts.extkey">
wangren committed
110 111 112 113
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.rmb.pts.extkey"
              maxlength="16"
114
              placeholder="请输入地址编码"
wangren committed
115 116
              disabled
            ></c-input>
117 118 119 120 121 122
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf('lidgrp.rmb.pts.extkey')"
123
                icon="el-icon-search"
124
              >
125
                <span style="font-family: '宋体'; font-weight: bold"></span>
126 127 128 129 130
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
131
                icon="el-icon-info"
132 133 134 135
                @click="onRmbpDet"
              >
              </c-button>
            </template>
wangren committed
136
          </c-fullbox>
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
        </el-form-item>
      </c-col>

      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.rmb.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onRmbpDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
155
        <el-form-item label="名称地址" prop="lidgrp.rmb.pts.nam">
156 157 158
          <c-input
            v-model="model.lidgrp.rmb.pts.nam"
            maxlength="40"
159
            placeholder="请输入名称地址"
160 161 162 163 164 165 166
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
167
          label="保兑行参考号"
168 169 170 171 172
          prop="lidgrp.con.pts.ref"
        >
          <c-input
            v-model="model.lidgrp.con.pts.ref"
            maxlength="16"
173
            placeholder="请输入内容"
174 175 176 177 178
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
179
        <el-form-item label="地址编码" prop="lidgrp.con.pts.extkey">
wangren committed
180 181 182 183
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.con.pts.extkey"
              maxlength="16"
184
              placeholder="请输入地址编码"
wangren committed
185 186 187 188
              @keyup.enter.native="
                showGridPromptDialog('lidgrp.con.pts.extkey')
              "
            ></c-input>
189 190 191 192 193 194
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf('lidgrp.con.pts.extkey')"
195
                icon="el-icon-search"
196
              >
197
                <span style="font-family: '宋体'; font-weight: bold"></span>
198 199 200 201 202 203
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click="onConpDet"
204
                icon="el-icon-info"
205
              >
206
                
207 208
              </c-button>
            </template>
wangren committed
209
          </c-fullbox>
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
        </el-form-item>
      </c-col>

      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.con.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onConpDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
228
        <el-form-item label="名称地址" prop="lidgrp.con.pts.adrblk">
229 230 231
          <c-input
            type="textarea"
            v-model="model.lidgrp.con.pts.adrblk"
wangren committed
232
            maxlength="150"
233 234
            :rows="4"
            show-word-limit
235
            placeholder="请输入地址编码"
236 237 238 239
          ></c-input>
        </el-form-item>
      </c-col>
      <!--            
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
            <c-col :span="24">
                <el-form-item label="Chinese address" prop="lidgrp.con.dbfadrblkcn">
                    <c-input type="textarea" v-model="model.lidgrp.con.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
                </el-form-item>
            </c-col>
                                    
            <c-col :span="24">
                <el-form-item label="名称" prop="lidgrp.con.namelc">
                    <c-input type="textarea" v-model="model.lidgrp.con.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
                </el-form-item>
            </c-col>
                        
            <c-col :span="24">
                <el-form-item label="地址" prop="lidgrp.con.adrelc">
                    <c-input type="textarea" v-model="model.lidgrp.con.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
                </el-form-item>
            </c-col>
            -->
258
    </c-col>
wangren committed
259
    <!-- ================右  ==================== -->
260 261
    <c-col :span="11" :offset="1">
      <c-col :span="24">
262
        <el-form-item label="第二通知行参考号" prop="lidgrp.a2b.pts.ref">
263 264 265
          <c-input
            v-model="model.lidgrp.a2b.pts.ref"
            maxlength="16"
266
            placeholder="请输入参考号"
267 268 269
          ></c-input>
        </el-form-item>
      </c-col>
270

271
      <c-col :span="24">
272
        <el-form-item label="地址编码" prop="lidgrp.a2b.pts.extkey">
wangren committed
273 274 275 276
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.a2b.pts.extkey"
              maxlength="16"
277
              placeholder="请输入地址编码"
wangren committed
278 279 280 281 282
              @keyup.enter.native="
                showGridPromptDialog('lidgrp.a2b.pts.extkey')
              "
            ></c-input>
            <template slot="footer">
283 284 285 286
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
wangren committed
287
                @click="onSeainf('lidgrp.a2b.pts.extkey')"
288
                icon="el-icon-search"
wangren committed
289
              >
290
                <span style="font-family: '宋体'; font-weight: bold"></span>
291 292 293 294 295 296
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click="onA2bpDet"
297
                icon="el-icon-info"
298
              >
299
                
300 301
              </c-button>
            </template>
wangren committed
302
          </c-fullbox>
303 304
        </el-form-item>
      </c-col>
305

306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.a2b.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onA2bpDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
321
        <el-form-item label="名称地址" prop="lidgrp.a2b.pts.adrblk">
322 323 324
          <c-input
            type="textarea"
            v-model="model.lidgrp.a2b.pts.adrblk"
wangren committed
325
            maxlength="135"
326 327
            :rows="4"
            show-word-limit
328
            placeholder="请输入名称地址"
329 330 331 332
          ></c-input>
        </el-form-item>
      </c-col>
      <!--                  
333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351
            <c-col :span="24">
                <el-form-item label="Chinese address" prop="lidgrp.a2b.dbfadrblkcn">
                    <c-input type="textarea" v-model="model.lidgrp.a2b.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
                </el-form-item>
            </c-col>
                              
            <c-col :span="24">
                <el-form-item label="名称" prop="lidgrp.a2b.namelc">
                    <c-input type="textarea" v-model="model.lidgrp.a2b.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
                </el-form-item>
            </c-col>
                              
            <c-col :span="24">
                <el-form-item label="地址" prop="lidgrp.a2b.adrelc">
                    <c-input type="textarea" v-model="model.lidgrp.a2b.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
                </el-form-item>
            </c-col>
            -->

352 353
      <c-col :span="24">
        <el-form-item
354
          label="授权兑付行参考号"
355 356 357 358 359
          prop="lidgrp.avb.pts.ref"
        >
          <c-input
            v-model="model.lidgrp.avb.pts.ref"
            maxlength="16"
360
            placeholder="请输入参考号"
361 362 363
          ></c-input>
        </el-form-item>
      </c-col>
364

365
      <c-col :span="24">
366
        <el-form-item label="地址编码" prop="lidgrp.avb.pts.extkey">
wangren committed
367 368 369 370
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.avb.pts.extkey"
              maxlength="16"
371
              placeholder="请输入地址编码"
wangren committed
372
              @keyup.enter.native="showGridPromptDialog('lidgrp.avb.pts.extkey')"
373

wangren committed
374
            ></c-input>
375 376 377 378 379
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
wangren committed
380
                @click="onSeainf('lidgrp.avb.pts.extkey')"
381
                icon="el-icon-search"
wangren committed
382
              >
383
                <span style="font-family: '宋体'; font-weight: bold"></span>
384 385 386 387 388 389
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click="onAvbpDet"
390
                icon="el-icon-info"
391
              >
392
                
393 394
              </c-button>
            </template>
wangren committed
395
          </c-fullbox>
396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413
        </el-form-item>
      </c-col>

      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.avb.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onAvbpDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
414
        <el-form-item label="名称地址" prop="lidgrp.avb.pts.adrblk">
415 416 417
          <c-input
            type="textarea"
            v-model="model.lidgrp.avb.pts.adrblk"
wangren committed
418
            maxlength="135"
419
            :rows="4"
wangren committed
420
            disabled
421
            show-word-limit
422
            placeholder="请输入名称地址"
423 424 425 426
          ></c-input>
        </el-form-item>
      </c-col>
      <!--                  
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444
            <c-col :span="24">
                <el-form-item label="Chinese address" prop="lidgrp.avb.dbfadrblkcn">
                    <c-input type="textarea" v-model="model.lidgrp.avb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
                </el-form-item>
            </c-col>
                              
            <c-col :span="24">
                <el-form-item label="名称" prop="lidgrp.avb.namelc">
                    <c-input type="textarea" v-model="model.lidgrp.avb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
                </el-form-item>
            </c-col>
                              
            <c-col :span="24">
                <el-form-item label="地址" prop="lidgrp.avb.adrelc">
                    <c-input type="textarea" v-model="model.lidgrp.avb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
                </el-form-item>
            </c-col>
            -->
445
    </c-col>
446

wangren committed
447
    <c-col :span="24">
448
      <el-form-item label="附加当事人" >
wangren committed
449 450 451 452 453 454 455
        <c-edit-table :model="model" v-bind="ptsaddg" style="margin-left:-120px">
          <el-table-column label="操作" align="center">
            <template slot-scope="scope">
              <el-button
                size="mini"
                @click="handleEdit(scope.$index, scope.row)"
                type="primary"
456 457
                icon="el-icon-info"
                ></el-button
wangren committed
458 459 460 461 462
              >
            </template>
          </el-table-column>
        </c-edit-table>
        <!-- <c-table
463 464
        :data="table1"
        >
465 466 467 468 469 470 471 472 473 474 475 476 477 478
            <c-table-column prop="ROL"
            label="Role"
            sortable
            >
            </c-table-column>
            <el-table-column prop="PTYEXTKEY"
            label="Party"
            sortable></el-table-column>
            <el-table-column prop="NAM"
            label="Name of Party"
            sortable></el-table-column>
            <el-table-column prop="REF"
            label="Reference for Address"
            sortable></el-table-column>
wangren committed
479 480
            <!-- <el-table-column prop="DET"
            label="Details"></el-table-column> 
481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509
           <el-table-column label="" prop="det" width="80px" fixed="right">
                    <template slot-scope="scope" slot="header">
                        <el-button
                            circle
                            style="padding:4px"
                            class="el-icon-plus"
                            size="mini"
                            @click="addRow(scope)"
                        >
                        </el-button>
                        <el-button
                            style="padding:4px"
                            circle
                            class="el-icon-minus"
                            size="mini"
                            @click="removeRow(scope)"
                        >
                        </el-button>
                    </template>
                    <template slot-scope="scoped">
                        <el-button
                            style="margin-left:0"
                            size="small"
                            type="primary"
                            @click="detail1(scoped.$index, scoped.row)"
                            >详情</el-button
                        >
                    </template>
                </el-table-column>
wangren committed
510 511
        </c-table> -->
      </el-form-item>
512
    </c-col>
513

514
    <!--                 
515 516 517
	<c-col :span="12">
	    <span  v-text="model.litp.avblab"   data-path=".litp.avblab" > </span>
	</c-col>-->
518
  </div>
519 520
</template>
<script>
521
import Api from "~/service/Api";
wangren committed
522
import commonProcess from "~/mixin/commonProcess";
523 524
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litopn/Event";
525 526

export default {
527 528 529 530
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
531
    return {
wangren committed
532 533 534
      ptsaddg: {
        columns: [
          {
535
            title: "角色",
wangren committed
536 537 538 539 540
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
541
            title: "当事人",
wangren committed
542 543 544 545 546
            width: "180px",
            dataIndex: "ptyextkey",
            show: "input",
          },
          {
547
            title: "名称",
wangren committed
548 549 550 551
            width: "250px",
            dataIndex: "nam",
          },
          {
552
            title: "参考号",
wangren committed
553 554 555 556 557 558
            width: "250px",
            dataIndex: "ref",
          },
        ],
        urls: "litp.ptsaddp.ptsaddg",
      },
559
    };
560
  },
wangren committed
561 562 563 564 565
  methods: {
    ...Event,
    handleEdit() {
      console.log("1111测试");
    },
566

wangren committed
567 568
    addRow() {},
    removeRow() {},
569 570 571
  },
  created: function () {},
};
572
</script>
573
<style></style>