Glepan.vue 1.31 KB
Newer Older
潘际乾 committed
1
<template>
Wuyuqiu committed
2
  <div class="eibs">
潘际乾 committed
3
       <c-col :span="24" style="">
潘际乾 committed
4
           <c-istream-table :list="data" :columns="columns"></c-istream-table>
潘际乾 committed
5 6 7 8 9
       </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
10
import commonProcess from "~/mixin/commonProcess";
潘际乾 committed
11 12 13 14
import CodeTable from "~/config/CodeTable"

export default {
    inject: ['root'],
wangren committed
15
    mixins: [commonProcess],
潘际乾 committed
16 17 18 19
    props:["model","codes"],
    data(){
        return {
            columns: [
Wuyuqiu committed
20
                "2 1 \"借/贷\" 80 1 0",
Wuyuqiu committed
21 22 23 24 25 26
                "6 2  \"账号\" 200",
                "3 3 \"币种\" 70",
                "4 4 \"金额\" 150 2 8:1 2 5",
                "5 5 \"起息日\" 150",
                "7 6 \"牌价类型\" 100",
                "8 7 \"牌价\" 100 2 0 1 0",
Wuyuqiu committed
27 28
                "9 8 \"会计科目\" 100",
                "0 9 \"分录序号\" 100 1 0"
潘际乾 committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
            ],
            data: [
            ]
        }
    },
    watch: {
        //this.$refs.glepan.stmData.data = res.data.setmod_glemod_gleshwstm.rows;
        'model.setmod.glemod.gleshwstm': {
            handler(val, oldVal) {
                if (val.rows) {
                    this.data = val.rows
                }
            },
            immediate: true
        }
    },
潘际乾 committed
45 46 47
    methods:{
        
    },
潘际乾 committed
48 49 50 51 52 53 54 55
    created:function(){

    }
}
</script>
<style>

</style>