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

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

36
      <!-- Confirm. Instruct. -->
zhengxiaokui committed
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="第二通知行确认指令"
43 44
            :code="codes.cnfflg1"
            disabled
zhengxiaokui committed
45 46 47 48 49
          >
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
zhengxiaokui committed
50

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

68 69 70 71 72 73 74 75
      <!-- 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
76
      <c-col :span="24">
zhengxiaokui committed
77 78 79 80 81 82 83 84 85 86 87 88
        <c-ptap
          :model="model"
          :argadr="{
            title: '偿付银行',
            grp: 'ledgrp',
            rol: 'rmb',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onRmbpDet"
        >
        </c-ptap>
      </c-col>
zhengxiaokui committed
89

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

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

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