Engp.vue 4.53 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
SunJie committed
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
    <el-col :span="24" style="margin-bottom:18px">
        Liability
    </el-col>
    <el-col :span="22" :offset="1">
      <c-table :list="model.liaall.liaallg" style="width:80%,text-align:center,margin-bottom:18px" :border="true">
        <el-table-column prop="cbtpfx" label="Type" width="auto"> </el-table-column>
        <el-table-column prop="matdat" label="Maturity" width="auto"> </el-table-column>
        <el-table-column prop="tenday" label="Tenor" width="auto"> </el-table-column>
        <el-table-column prop="rol" label="Dbt." width="auto"> </el-table-column>
        <el-table-column prop="nam" label="Name" width="auto"> </el-table-column>
        <el-table-column prop="cdtrol" label="Cdt." width="auto"> </el-table-column>
        <el-table-column prop="cur" label="Cur" width="auto"> </el-table-column>
        <el-table-column prop="oldamt" label="Old Amount" width="auto"> 
         <template slot-scope="scope">
                  {{moneyFormat(scope.row.oldamt)}}
         </template>
        </el-table-column>
        <el-table-column prop="amt" label="Booking Amo" width="auto">
        <template slot-scope="scope">
                  {{moneyFormat(scope.row.amt)}}
         </template>
         </el-table-column>
        <el-table-column prop="tenpct" label="%" width="auto"> </el-table-column>
        <el-table-column prop="acc" label="Account" width="auto"> </el-table-column>
        <el-table-column prop="valdat" label="Value Date" width="auto">
         <template slot-scope="scope">
                  {{dateFormat(scope.row.valdat)}}
         </template>
        </el-table-column>
      </c-table>
    </el-col>
34
                                                                
SunJie committed
35
       <!-- <el-col :span="12">
36
        <el-form-item label="Sight Amount">
SunJie committed
37
            <c-input style="width:50%"  v-model="model.liaall.outamt"  placeholder="请输入Sight Amount"></c-input>
38 39 40 41 42
        </el-form-item>
       </el-col>                 
                  
       <el-col :span="12">
        <el-form-item label="Sight Amount Percentage">
SunJie committed
43
            <c-input style="width:50%"  v-model="model.liaall.outpct"  placeholder="请输入Sight Amount Percentage"></c-input>
44 45 46 47 48
        </el-form-item>
       </el-col>             
                                                    
       <el-col :span="12">
        <el-form-item label="External Booking Amount">
SunJie committed
49
            <c-input style="width:70%"  v-model="model.liaall.concur" maxlength="3"  placeholder="请输入External Booking Amount"></c-input>
50
        </el-form-item>
SunJie committed
51
       </el-col>              -->
52 53 54
                  
       <el-col :span="12">
        <el-form-item label="Amount not yet assigned">
SunJie committed
55 56
            <c-input style="width:20%" disabled  v-model="model.liaall.concur" maxlength="3"  placeholder="请输入External Booking Amount"></c-input>
            <c-input style="width:50%" disabled v-model="model.liaall.misamt"  placeholder="请输入Amount not yet assigned"></c-input>
57 58 59 60
        </el-form-item>
       </el-col>                 
                  
       <el-col :span="12">
SunJie committed
61 62 63 64 65
           <el-form-item label="">
            <c-button size="small" disabled type="primary"  @click="onLiaallButmisamt">
                Add to Current Line
            </c-button>
           </el-form-item>
66 67
       </el-col>
                  
SunJie committed
68 69 70 71 72 73
       <!-- <el-col :span="12">
        <el-form-item label="">
            <c-button size="small" type="primary"  @click="onLiaallButmissig">
                Add to Sight Amount
            </c-button>
        </el-form-item>
74 75 76 77
       </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="Old Amount booked externally">
SunJie committed
78
            <c-input style="width:50%"  v-model="model.liaall.exttotoldamt"  placeholder="请输入Old Amount booked externally"></c-input>
79 80 81 82 83
        </el-form-item>
       </el-col>                 
                                   
       <el-col :span="12">
        <el-form-item label="Total booking amount external assinged">
SunJie committed
84
            <c-input style="width:50%"  v-model="model.liaall.exttotamt"  placeholder="请输入Total booking amount external assinged"></c-input>
85
        </el-form-item>
SunJie committed
86
       </el-col>                  -->
87 88 89 90 91
                   </div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
SunJie committed
92
import Event from "~/model/Ditopn/Event"
93 94

export default {
95
    inject: ['root'],
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
    props:["model","codes"],
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>