Ptyp.vue 2.41 KB
Newer Older
WH committed
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 31 32 33 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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
<template>
  <div class="eibs">
    <!-- ==================左边================ -->
    <c-col :span="12" style="padding-right: 20px;">
      <c-ptap
          :model="model"
          :argadr="{
            title: '收款人',
            grp: 'bodgrp',
            rol: 'drr',
        }"
          :disabled="true"
          :disabledRef="true"
          :disabledExtkey="true"
      >
      </c-ptap>

      <c-ptap
          :model="model"
          :argadr="{
            title: '付款人',
            grp: 'bodgrp',
            rol: 'dre',
        }"
          :disabled="true"
          :disabledRef="true"
          :disabledExtkey="true"
      >
      </c-ptap>
    </c-col>
    <!-- ============右边================= -->
    <c-col :span="12" style="padding-left: 20px;">
      <c-ptap
          :model="model"
          :argadr="{
            title: '代收行',
            grp: 'bodgrp',
            rol: 'col',
        }"
          :disabled="true"
          :disabledRef="true"
          :disabledExtkey="true"
      >
      </c-ptap>
    </c-col>

    <c-col :span="24">
      <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-col>
  </div>
</template>
<script>
import event from "../event"
import Ptap from "~/views/Public/Ptap";

export default {
  components: {"c-ptap": Ptap},
  inject: ['root'],
  props: ["model", "codes"],
  mixins: [event],
  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: "botp.ptsaddp.ptsaddg",
      },
    }
  },
  methods: {},
  created: function () {
  }
}
</script>
<style>

</style>