Ptyp.vue 3.72 KB
Newer Older
zhengxiaokui committed
1
<template>
zhengxiaokui committed
2 3 4
  <c-row>
    <c-col :span="11">
      <c-col :span="24">
zhengxiaokui committed
5 6 7 8 9 10 11 12 13 14 15 16 17
        <c-ptap
          :model="model"
          :argadr="{
            title: '第一通知行',
            grp: 'ledgrp',
            rol: 'adv',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onAdvpDet"
        >
        </c-ptap>
      </c-col>

zhengxiaokui committed
18
      <c-col :span="24">
zhengxiaokui committed
19 20 21 22 23
        <c-ptap
          :model="model"
          :argadr="{
            title: '申请人银行',
            grp: 'ledgrp',
zhengxiaokui committed
24
            rol: 'a2b',
zhengxiaokui committed
25 26
          }"
          @onSeainf="onSeainf"
zhengxiaokui committed
27
          @onAplpDet="onA2bpDet"
zhengxiaokui committed
28 29 30
        >
        </c-ptap>
      </c-col>
zhengxiaokui committed
31 32 33 34 35 36 37 38 39 40 41 42

      <c-col :span="24">
        <el-form-item label="第二通知行确认指令" prop="ledgrp.rec.cnfins">
          <c-select
            v-model="model.ledgrp.rec.cnfins"
            style="width: 100%"
            placeholder="第二通知行确认指令"
          >
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
zhengxiaokui committed
43

zhengxiaokui committed
44 45
    <c-col :span="11" :offset="1">
      <c-col :span="24">
zhengxiaokui committed
46 47 48 49 50
        <c-ptap
          :model="model"
          :argadr="{
            title: '申请人银行',
            grp: 'ledgrp',
zhengxiaokui committed
51
            rol: 'apb',
zhengxiaokui committed
52 53
          }"
          @onSeainf="onSeainf"
zhengxiaokui committed
54
          @onAplpDet="onApbpDet"
zhengxiaokui committed
55 56 57
        >
        </c-ptap>
      </c-col>
zhengxiaokui committed
58 59

      <c-col :span="24">
zhengxiaokui committed
60 61 62 63 64 65 66 67 68 69 70 71
        <c-ptap
          :model="model"
          :argadr="{
            title: '偿付银行',
            grp: 'ledgrp',
            rol: 'rmb',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onRmbpDet"
        >
        </c-ptap>
      </c-col>
zhengxiaokui committed
72 73

      <c-col :span="24">
zhengxiaokui committed
74 75 76 77 78 79 80 81 82 83 84 85 86
        <c-ptap
          :model="model"
          :argadr="{
            title: '第二通知行',
            grp: 'ledgrp',
            rol: 'con',
          }"
          :onlySearch="true"
          @onSeainf="onSeainf"
          @onAplpDet="onRmbpDet"
        >
        </c-ptap>
      </c-col>
zhengxiaokui committed
87 88 89 90 91 92 93 94 95
      <c-col :span="24">
        <el-form-item label="第二通知行名称" prop="ledgrp.con.pts.nam">
          <c-input
            v-model="model.ledgrp.con.pts.nam"
            maxlength="40"
            placeholder="请输入第二通知行名称"
          ></c-input>
        </el-form-item>
      </c-col>
zhengxiaokui committed
96
    </c-col>
zhengxiaokui committed
97 98 99 100 101 102 103 104 105 106 107 108
    <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>
zhengxiaokui committed
109
  </c-row>
zhengxiaokui committed
110 111
</template>
<script>
zhengxiaokui committed
112
import Api from "~/service/Api";
zhengxiaokui committed
113
import CommonProcess from "~/mixin/CommonProcess";
zhengxiaokui committed
114 115 116
import CodeTable from "~/config/CodeTable";
import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event";
zhengxiaokui committed
117 118

export default {
zhengxiaokui committed
119 120 121 122 123
  inject: ["root"],
  components: { "c-ptap": Ptap },
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
zhengxiaokui committed
124 125 126 127 128 129 130 131 132 133 134 135 136
    return {
      ptsaddg: {
        columns: [
          {
            title: "角色",
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
            title: "机构实体",
            width: "180px",
            dataIndex: "ptyextkey",
zhengxiaokui committed
137
            show: "input",
zhengxiaokui committed
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
          },
          {
            title: "名称",
            width: "300px",
            dataIndex: "nam",
          },
          {
            title: "参考地址",
            width: "300px",
            dataIndex: "ref",
          },
        ],
        urls: "letp.ptsaddp.ptsaddg",
      },
    };
zhengxiaokui committed
153
  },
zhengxiaokui committed
154 155 156 157 158 159
  methods: {
    ...Event,
    handleEdit() {
      console.log("1111测试");
    },
  },
zhengxiaokui committed
160 161
  created: function () {},
};
zhengxiaokui committed
162 163 164
</script>
<style>
</style>