Ptyp.vue 4.45 KB
Newer Older
zhengxiaokui committed
1
<template>
huangxin committed
2
  <div class="eibs">
huangxin committed
3 4
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
jianglong committed
5
    <!-- 第一通知行 -->
zhengxiaokui committed
6
      <c-col :span="24">
zhengxiaokui committed
7 8 9 10 11 12 13 14 15 16 17 18 19
        <c-ptap
          :model="model"
          :argadr="{
            title: '第一通知行',
            grp: 'ledgrp',
            rol: 'adv',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onAdvpDet"
        >
        </c-ptap>
      </c-col>

jianglong committed
20
      <!-- 第二通知行 -->
zhengxiaokui committed
21
      <c-col :span="24">
zhengxiaokui committed
22 23 24
        <c-ptap
          :model="model"
          :argadr="{
25
            title: '第二通知行',
zhengxiaokui committed
26
            grp: 'ledgrp',
zhengxiaokui committed
27
            rol: 'a2b',
zhengxiaokui committed
28 29
          }"
          @onSeainf="onSeainf"
zhengxiaokui committed
30
          @onAplpDet="onA2bpDet"
zhengxiaokui committed
31 32 33
        >
        </c-ptap>
      </c-col>
zhengxiaokui committed
34

35
      <!-- Confirm. Instruct. -->
zhengxiaokui committed
36 37 38 39 40 41
      <c-col :span="24">
        <el-form-item label="第二通知行确认指令" prop="ledgrp.rec.cnfins">
          <c-select
            v-model="model.ledgrp.rec.cnfins"
            style="width: 100%"
            placeholder="第二通知行确认指令"
42
            :code="codes.cnfflg1"
43
            :disabled="model.ledgrp.a2b.pts.extkey==''"
zhengxiaokui committed
44 45 46 47 48
          >
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
zhengxiaokui committed
49

huangxin committed
50 51
        <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
52
        <!-- Applicant's Bank -->
zhengxiaokui committed
53
      <c-col :span="24">
zhengxiaokui committed
54 55 56
        <c-ptap
          :model="model"
          :argadr="{
57
            title: '申请银行',
zhengxiaokui committed
58
            grp: 'ledgrp',
zhengxiaokui committed
59
            rol: 'apb',
zhengxiaokui committed
60 61
          }"
          @onSeainf="onSeainf"
zhengxiaokui committed
62
          @onAplpDet="onApbpDet"
zhengxiaokui committed
63 64 65
        >
        </c-ptap>
      </c-col>
zhengxiaokui committed
66

67 68 69 70 71 72 73 74
      <!-- Send Directly to Applicant's Bank -->
      <c-col :span="24">
        <c-checkbox v-model="model.ledgrp.rec.aplbnkdirsnd" style="margin-left:150px;"
          >直接发送至申请银行</c-checkbox
        >
      </c-col>

            <!-- Reimbursement Bank -->
zhengxiaokui committed
75
      <c-col :span="24">
zhengxiaokui committed
76 77 78 79 80 81 82 83 84 85 86 87
        <c-ptap
          :model="model"
          :argadr="{
            title: '偿付银行',
            grp: 'ledgrp',
            rol: 'rmb',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onRmbpDet"
        >
        </c-ptap>
      </c-col>
zhengxiaokui committed
88

89
      <!-- Confirmation  Bank -->
zhengxiaokui committed
90
      <c-col :span="24">
zhengxiaokui committed
91 92 93
        <c-ptap
          :model="model"
          :argadr="{
94
            title: '保兑行',
zhengxiaokui committed
95 96 97 98 99
            grp: 'ledgrp',
            rol: 'con',
          }"
          :onlySearch="true"
          @onSeainf="onSeainf"
100
          @onAplpDet="onConpDet"
zhengxiaokui committed
101 102 103
        >
        </c-ptap>
      </c-col>
zhengxiaokui committed
104
      <c-col :span="24">
105
        <el-form-item label="" prop="ledgrp.con.pts.nam">
zhengxiaokui committed
106 107 108
          <c-input
            v-model="model.ledgrp.con.pts.nam"
            maxlength="40"
wangna committed
109
            placeholder="请输入"
110
            disabled
zhengxiaokui committed
111 112 113
          ></c-input>
        </el-form-item>
      </c-col>
zhengxiaokui committed
114
    </c-col>
115 116

        <!-- =============================底部表格========================= -->
zhengxiaokui committed
117
    <c-edit-table :model="model" v-bind="ptsaddg">
118
      <el-table-column label="操作" text-align="center">
zhengxiaokui committed
119 120 121 122 123 124 125 126 127 128
        <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>
129
  </div>
zhengxiaokui committed
130 131
</template>
<script>
zhengxiaokui committed
132
import Api from "~/service/Api";
wangren committed
133
import commonProcess from "~/mixin/commonProcess";
zhengxiaokui committed
134 135 136
import CodeTable from "~/config/CodeTable";
import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event";
zhengxiaokui committed
137 138

export default {
zhengxiaokui committed
139 140 141
  inject: ["root"],
  components: { "c-ptap": Ptap },
  props: ["model", "codes"],
wangren committed
142
  mixins: [commonProcess],
zhengxiaokui committed
143
  data() {
zhengxiaokui committed
144 145 146 147 148 149 150 151 152 153 154 155 156
    return {
      ptsaddg: {
        columns: [
          {
            title: "角色",
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
            title: "机构实体",
            width: "180px",
            dataIndex: "ptyextkey",
zhengxiaokui committed
157
            show: "input",
zhengxiaokui committed
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
          },
          {
            title: "名称",
            width: "300px",
            dataIndex: "nam",
          },
          {
            title: "参考地址",
            width: "300px",
            dataIndex: "ref",
          },
        ],
        urls: "letp.ptsaddp.ptsaddg",
      },
    };
zhengxiaokui committed
173
  },
zhengxiaokui committed
174 175 176 177 178 179
  methods: {
    ...Event,
    handleEdit() {
      console.log("1111测试");
    },
  },
zhengxiaokui committed
180 181
  created: function () {},
};
zhengxiaokui committed
182 183 184
</script>
<style>
</style>