Gleinfp.vue 3.78 KB
Newer Older
cyy committed
1
<template>
cyy 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 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
  <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:50px;">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="11">
                        <el-form-item label="Booking date from" prop="infcon.seabucdatfro">
                            <c-date-picker type="date" v-model="model.infcon.seabucdatfro" style="width:100%"
                                placeholder="请选择Booking date from"></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="8" :offset="1">
                        <el-form-item label="to" prop="infcon.seabucdatto" label-width="40px">
                            <c-date-picker type="date" v-model="model.infcon.seabucdatto" style="width:100%"
                                placeholder="请选择Booking date till used on GLEINFP"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Transaction INR" prop="infcon.seatrninr">
                            <c-input v-model="model.infcon.seatrninr" maxlength="8" placeholder="请输入Transaction INR">
                            </c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <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>
cyy committed
56 57 58 59 60 61 62 63 64 65 66 67 68
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infbed/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [CommonProcess],
    data(){
        return {
cyy committed
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
            stmData: {
                    columns: [
                        "1 1 \"TRNINR\" 0 ",
                        "1 2 \"Account\" 0 ",
                        "1 3 \"D/C\" 0 ",
                        "1 4 \"Cur\" 0",
                        "2 4 \"S.Cur\" 0",
                        "1 5 \"Amount\" 0",
                        "2 5 \"Sys.Amount\" 0",
                        "1 6 \"Val.Date\" 0",
                        "2 6 \"Book.Date\" 0",
                        "1 7 \"Booking Text 1\" 0",
                        "2 7 \"Booking Text 2\" 0",
                        "3 7 \"Booking Text 3\" 0",
                        "1 8 \"P.N.\" 0",
                        "1 9 \"Exp.Session\" 0",
                        "2 9 \"Exp.Status\" 0",
                    ],
                    data: [
cyy committed
88

cyy committed
89 90
                    ]
                }
cyy committed
91 92 93 94 95 96 97 98 99 100 101
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>