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

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

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

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

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;"
          disabled
jianglong committed
75
          >直接发送至申请人银行</c-checkbox
76 77 78 79
        >
      </c-col>

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

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

        <!-- =============================底部表格========================= -->
zhengxiaokui committed
124
    <c-edit-table :model="model" v-bind="ptsaddg">
125
      <el-table-column label="操作" text-align="center">
zhengxiaokui committed
126 127 128 129 130 131 132 133 134 135 136
        <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>
137
  </div>
zhengxiaokui committed
138 139
</template>
<script>
140 141 142 143 144
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
import Ptap from "~/views/Public/Ptap"
zhengxiaokui committed
145 146

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