Ptyp.vue 2.9 KB
Newer Older
孟冬雪 committed
1
<template>
2
  <div class="eibs-tab">
Wuyuqiu committed
3 4 5 6 7 8
    <!-- left -->
    <c-col :span="11">
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
wangna committed
9
            title: '第二通知行',
Wuyuqiu committed
10 11 12 13 14 15 16 17 18 19 20 21 22
            grp: 'ltdgrp',
            rol: 'a2t',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onAdvpDet"
        >
        </c-ptap>
      </c-col>

      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
wangna committed
23
            title: '保兑行',
Wuyuqiu committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
            grp: 'ltdgrp',
            rol: 'con',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onA2bpDet"
        >
        </c-ptap>
      </c-col>

    </c-col>

    <!-- right -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
wangna committed
41
            title: '偿付行',
Wuyuqiu committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55
            grp: 'ltdgrp',
            rol: 'rmt',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onApbpDet"
          
        >
        </c-ptap>
      </c-col>

      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
wangna committed
56
            title: '指定银行',
Wuyuqiu committed
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
            grp: 'ltdgrp',
            rol: 'avt',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onRmbpDet"
        >
        </c-ptap>
      </c-col>

    </c-col>
    <!-- =============================底部表格========================= -->
    <c-edit-table :model="model" v-bind="ptsaddg">
      <el-table-column label="操作" align="center">
        <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>
80
  </div>
孟冬雪 committed
81 82
</template>
<script>
Wuyuqiu committed
83
import Api from "~/service/Api";
wangren committed
84
import commonProcess from "~/mixin/commonProcess";
Wuyuqiu committed
85 86 87
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttopn/Event";
import Ptap from "~/views/Public/Ptap";
88

孟冬雪 committed
89
export default {
Wuyuqiu committed
90 91 92 93 94 95 96 97 98
  components: { "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
        ptsaddg: {
        columns: [
          {
wangna committed
99
            title: "角色",
Wuyuqiu committed
100 101 102 103 104
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
wangna committed
105
            title: "当事人",
Wuyuqiu committed
106 107 108 109 110
            width: "180px",
            dataIndex: "ptyextkey",
            show: "input",
          },
          {
wangna committed
111
            title: "当事人名称",
Wuyuqiu committed
112 113 114 115
            width: "300px",
            dataIndex: "nam",
          },
          {
wangna committed
116
            title: "地址编号",
Wuyuqiu committed
117 118 119 120 121 122 123 124 125 126 127 128 129 130
            width: "300px",
            dataIndex: "ref",
          },
        ],
        urls: "lttp.ptsaddp.ptsaddg",
      },
    };
  },
  methods: { ...Event,
  handleEdit() {
      console.log("1111测试");
    }, },
  created: function () {},
};
孟冬雪 committed
131 132 133
</script>
<style>
</style>