Cbeinfp.vue 2.4 KB
Newer Older
fukai committed
1
<template>
lixingliang committed
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
    <c-content class="eibs-tab" :height="200">

        <div class="infTopBtn">
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary">Use</c-button>
            <c-button size="small" type="primary">Loginfo</c-button>
        </div>

        <c-row class="infrow" style="margin-top:20px;">
            <c-col :span="22" :offset="1">
                <c-istream-table :list="stmData.data" :columns="stmData.columns">
                    <el-table-column prop="op" label="OP" width="100">
                        <template slot-scope="scope">
                            <a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
                        </template>
                    </el-table-column>
                </c-istream-table>
            </c-col>
        </c-row>

    </c-content>
fukai committed
27 28
</template>
<script>
lixingliang committed
29
    import Api from "~/service/Api"
wangren committed
30
    import commonProcess from "~/mixin/commonProcess";
lixingliang committed
31 32
    import CodeTable from "~/config/CodeTable"
    import Event from "~/model/Infcpd/Event"
fukai committed
33

lixingliang committed
34 35 36
    export default {
        inject: ['root'],
        props: ["model", "codes"],
wangren committed
37
        mixins: [commonProcess],
lixingliang committed
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
        data() {
            return {
                stmData: {
                    columns: [
                        "1 1 \"Ext.Id\" 0 ",
                        "1 2 \"Type of Entry\" 0 ",
                        "1 3 \"Type\" 0 ",
                        "1 4 \"Date\" 0 ",
                        "1 5 \"Cur\" 0 ",
                        "2 5 \"Cur\" 0 ",
                        "1 6 \"Amount\" 0 ",
                        "2 6 \"Conv. Amount\" 0 ",
                        "1 7 \"Rel.\" 0 ",
                        "1 8 \"Created\" 0 ",
                        "2 8 \"End Date\" 0 ",
                        "1 9 \"Description\" 0 ",
                        "2 9 \"Account\" 0 ",
                        "1 10 \"Trn ID\" 0 ",
                        "1 10 \"CBE ID\" 0 ",
                    ],
                    data: [
fukai committed
59

lixingliang committed
60 61 62 63 64 65
                    ]
                }
            }
        },
        methods: { ...Event },
        created: function () {
fukai committed
66

lixingliang committed
67
        }
fukai committed
68 69 70 71
    }
</script>
<style>

lixingliang committed
72
</style>