Ptyp.vue 4.64 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<template>
  <div class="eibs">
      <c-row>
        <!-- =================================左边================================= -->
    <c-col :span="12" style="padding-right: 20px;">
    <!-- 第一通知行 第一通知行-->
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '第一通知行',
            grp: 'ledgrp',
            rol: 'adv',
          }"
          :disabledRef="true"
          :disabledExtkey="true"
          :disabled="true"
        >
        </c-ptap>
      </c-col>

      <!-- 第二通知行 第二通知行-->
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '第二通知行',
            grp: 'ledgrp',
            rol: 'a2b',
          }"
liaoxing committed
31 32 33
          @keyup.enter.native="
                queryGridEtyPromptDialogData('A2B', 'C')
              "
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
        >
        </c-ptap>
      </c-col>

      <!-- Confirm. Instruct.第二通知行确认指令 -->
      <c-col :span="24">
        <el-form-item label="第二通知行确认指令" prop="ledgrp.rec.cnfins">
          <c-select
            v-model="model.ledgrp.rec.cnfins"
            style="width: 100%"
            placeholder="第二通知行确认指令"
            :code="codes.cnfflg1"
            :disabled="model.ledgrp.a2b.pts.extkey==''"
          >
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>

    <!-- ========================右边======================= -->
    <c-col :span="12" style="padding-right: 20px;">
        <!-- Applicant's Bank 申请银行-->
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '申请人银行',
            grp: 'ledgrp',
            rol: 'apb',
          }"
lixinyi committed
64 65 66
           @keyup.enter.native="
                queryGridEtyPromptDialogData('APB', 'C')
              "
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
        >
        </c-ptap>
      </c-col>

      <!-- Send Directly to Applicant's Bank 直接发送至申请银行-->
      <el-form-item label="" prop="" class="checkbox-left">
        <c-checkbox v-model="model.ledgrp.rec.aplbnkdirsnd"
          disabled
          >直接发送至申请人银行</c-checkbox
        >
      </el-form-item>

            <!-- Reimbursement Bank偿付银行 -->
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '偿付银行',
            grp: 'ledgrp',
            rol: 'rmb',
          }"
lixinyi committed
88 89 90
          @keyup.enter.native="
                queryGridEtyPromptDialogData('RMB', 'B')
              "
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
        >
        </c-ptap>
      </c-col>

      <!-- Confirmation  Bank 保兑行-->
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '保兑银行',
            grp: 'ledgrp',
            rol: 'con',
          }"
          :disabledRef="true"
          :disabledExtkey="true"
          :onlySearch="true"
        >
        </c-ptap>
      </c-col>
      <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="请输入名称"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>

        <!-- =============================底部表格========================= -->
    <c-edit-table :model="model" v-bind="ptsaddg">
      <el-table-column label="操作" text-align="center">
WF1020 committed
125
        <template>
126 127
          <el-button
            size="mini"
WF1020 committed
128
         
129 130 131 132 133 134 135 136 137 138
            type="primary"
            >详情</el-button
          >
        </template>
      </el-table-column>
    </c-edit-table>
  </c-row>
  </div>
</template>
<script>
WF1020 committed
139
import Api from '~/service/Api'
wanggang_yf committed
140
import event from '../event'
WF1020 committed
141 142
import CodeTable from '~/config/CodeTable'

143 144 145
import Ptap from "~/views/Public/Ptap"

export default {
WF1020 committed
146
  inject: ['root'],
147
  components: { "c-ptap": Ptap },
WF1020 committed
148
  props: ['model', 'codes'],
wanggang_yf committed
149
  mixins: [event],
150 151 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
  data() {
    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",
      },
    };
  },
WF1020 committed
181 182 183
  methods: { 
    
  },
184 185 186 187
  created: function () {},
}
</script>
<style></style>