Doctre.vue 4.05 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
唐贵贤 committed
3
    <c-col :span="24">
wangna committed
4
      <el-form-item label="文件接收者" prop="trnmod.trndoc.filrecv">
唐贵贤 committed
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
      </el-form-item>
    </c-col>
    <c-col :span="24">
      <c-col :span="14">
        <c-col :span="24">
          <div style="height: 300px; width: 100%; border: 1px #ebeef5 solid">
            <el-tree
              :data="data"
              :props="defaultProps"
              @node-click="handleNodeClick"
            ></el-tree>
          </div>
        </c-col>
        <c-col :span="24" style="margin-top: 10px">
          <c-col :span="4">
            <el-form-item
              label="关联单据"
              v-show="isShow1 || isShow2"
            ></el-form-item>
            <el-form-item
              label=""
              v-show="!(isShow1 || isShow2)"
            ></el-form-item>
          </c-col>
          <c-col :span="8">
            <el-form-item label="">
              <c-checkbox v-model="isShow1">显示收到的信息</c-checkbox>
            </el-form-item>
          </c-col>
          <c-col :span="8" :offset="2">
            <el-form-item label="">
              <c-checkbox v-model="isShow2">显示以前发出的信息</c-checkbox>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="22" :offset="1">
          <c-table
            :border="true"
            :list="data1"
            style="width:80%,text-align:center"
            v-show="isShow1 || isShow2"
          >
            <el-table-column label="类型" width="auto"></el-table-column>
            <el-table-column label="单据" width="auto"></el-table-column>
            <el-table-column label="Cre.TRN" width="auto"></el-table-column>
            <el-table-column label="日期" width="auto"></el-table-column>
            <el-table-column label="" width="auto"></el-table-column>
            <el-table-column label="" width="auto"></el-table-column>
          </c-table>
        </c-col>
      </c-col>
      <c-col :span="6" :offset="1">
        <c-col :span="24" style="margin-top: 15px">
          <c-button size="small" type="primary" @click="onTrndocButshw" style="width:100px">
            Show
          </c-button>
        </c-col>

        <c-col :span="24" style="margin-top: 15px">
          <c-button size="small" type="primary" @click="onTrndocButadd" style="width:100px">
65
            详情
唐贵贤 committed
66 67 68 69 70
          </c-button>
        </c-col>

        <c-col :span="24" style="margin-top: 15px">
          <c-button size="small" type="primary" @click="onTrndocButnew" style="width:100px">
wangna committed
71
            添加新内容
唐贵贤 committed
72 73 74 75 76
          </c-button>
        </c-col>

        <c-col :span="24" style="margin-top: 15px">
          <c-button size="small" type="primary" @click="onTrndocButattto" style="width:100px">
77
            Attach to
唐贵贤 committed
78 79 80 81 82
          </c-button>
        </c-col>

        <c-col :span="24" style="margin-top: 15px">
          <c-button size="small" type="primary" icon="el-icon-delete" @click="onTrndocButdel" style="width:100px">
wangna committed
83
            删除
唐贵贤 committed
84 85 86 87
          </c-button>
        </c-col>
        <c-col :span="24" style="margin-top: 15px">
          <c-button size="small" type="primary" @click="onTrndocButatt" style="width:100px">
88
            Attach
唐贵贤 committed
89 90 91 92 93 94 95 96 97
          </c-button>
        </c-col>
        <c-col :span="24" style="margin-top: 15px">
          <c-button size="small" type="primary" @click="onSeainf" style="width:100px">
            i
          </c-button>
        </c-col>
      </c-col>
    </c-col>
98 99 100
  </div>
</template>
<script>
唐贵贤 committed
101
import Api from "~/service/Api";
wangren committed
102
import commonProcess from "~/mixin/commonProcess";
唐贵贤 committed
103 104
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bttacc/Event";
105 106

export default {
唐贵贤 committed
107 108
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
109
  mixins: [commonProcess],
唐贵贤 committed
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
  data() {
    return {
      data1: [],
      isShow1: false,
      isShow2: false,
      data: [
        {
          label: "Internal",
          children: [{ label: "'Free Message' via Letter" }],
        },
      ],
    };
  },
  methods: { ...Event },
  handleNodeClick() {},
  defaultProps() {},
  created: function () {},
};
128 129 130
</script>
<style>
</style>