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

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

      <c-col :span="24">
Eivi committed
36
        <el-form-item label="Confirm. Instruct. to 2nd Adv. Bank" prop="ledgrp.rec.cnfins">
zhengxiaokui committed
37 38 39
          <c-select
            v-model="model.ledgrp.rec.cnfins"
            style="width: 100%"
Eivi committed
40
            placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank"
41
            :code="codes.cnfflg1"
Eivi committed
42
            disabled
zhengxiaokui committed
43 44 45 46
          >
          </c-select>
        </el-form-item>
      </c-col>
Eivi committed
47 48 49 50 51 52

      <c-col :span="24" style="margin-left: 150px">
          <c-checkbox v-model="model.ledgrp.rec.aplbnkdirsnd"
            >Send Directly</c-checkbox
          >
        </c-col>
zhengxiaokui committed
53 54
    </c-col>

Eivi committed
55
    <!-- right -->
zhengxiaokui committed
56 57 58 59 60
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
Eivi committed
61
            title: 'Applicant\'s Bank',
zhengxiaokui committed
62 63 64 65 66 67 68 69 70 71 72 73 74
            grp: 'ledgrp',
            rol: 'apb',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onApbpDet"
        >
        </c-ptap>
      </c-col>

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

      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
Eivi committed
89
            title: 'Confirmation Bank',
zhengxiaokui committed
90 91 92 93 94 95 96 97 98 99
            grp: 'ledgrp',
            rol: 'con',
          }"
          :onlySearch="true"
          @onSeainf="onSeainf"
          @onAplpDet="onRmbpDet"
        >
        </c-ptap>
      </c-col>
      <c-col :span="24">
Eivi committed
100
        <el-form-item label="Confirmation Name" prop="ledgrp.con.pts.nam">
zhengxiaokui committed
101 102 103
          <c-input
            v-model="model.ledgrp.con.pts.nam"
            maxlength="40"
Eivi committed
104
            placeholder="Please input Confirmation Name"
105
            disabled
zhengxiaokui committed
106 107 108 109
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
110
     <!-- =============================底部表格========================= -->
zhengxiaokui committed
111 112 113 114 115 116 117 118 119 120 121 122 123
    <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>
  </c-row>
Eivi committed
124
  </div>
zhengxiaokui committed
125 126
</template>
<script>
zhengxiaokui committed
127
import Api from "~/service/Api";
wangren committed
128
import commonProcess from "~/mixin/commonProcess";
zhengxiaokui committed
129 130 131
import CodeTable from "~/config/CodeTable";
import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event";
zhengxiaokui committed
132 133

export default {
zhengxiaokui committed
134 135 136
  inject: ["root"],
  components: { "c-ptap": Ptap },
  props: ["model", "codes"],
wangren committed
137
  mixins: [commonProcess],
zhengxiaokui committed
138 139 140 141 142
  data() {
    return {
      ptsaddg: {
        columns: [
          {
Eivi committed
143
            title: "Role",
zhengxiaokui committed
144 145 146 147 148
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
Eivi committed
149
            title: "Party",
zhengxiaokui committed
150 151 152 153 154
            width: "180px",
            dataIndex: "ptyextkey",
            show: "input",
          },
          {
Eivi committed
155
            title: "Name of Party",
zhengxiaokui committed
156 157 158 159
            width: "300px",
            dataIndex: "nam",
          },
          {
Eivi committed
160
            title: "Reference for Address",
zhengxiaokui committed
161 162 163 164 165 166 167 168 169 170 171 172
            width: "300px",
            dataIndex: "ref",
          },
        ],
        urls: "letp.ptsaddp.ptsaddg",
      },
    };
  },
  methods: {
    ...Event,
    handleEdit() {
      console.log("1111测试");
zhengxiaokui committed
173
    },
zhengxiaokui committed
174 175 176
  },
  created: function () {},
};
zhengxiaokui committed
177 178 179
</script>
<style>
</style>