<template>
  <div class="eibs-tab">
       <el-col :span="12">
        <el-form-item label="合同金额">
            <el-row>
                <el-col :span="8">
                    <c-input type="text" :disable="true" value="CNY"></c-input>
                </el-col>
                <el-col :span="14">
                     <c-input  v-model="model.liaall.outamt" default="0.00"></c-input>
                </el-col>
            </el-row>
        </el-form-item>
       </el-col>

       <el-col :span="12">
        <el-form-item label="保证金应收比例">
            <el-row>
                <el-col :span="8">
                    <c-input  v-model="model.liaall.outpct"></c-input>
                </el-col>
                <el-col :span="12" style="margin-left:20px">
                     <el-text>%</el-text>
                </el-col>
            </el-row>
        </el-form-item>
       </el-col> 

       <el-col :span="12">
        <el-form-item label="Reserved Amount">
            <el-row>
                <el-col :span="8">
                    <c-input type="text" :disable="true" value="CNY"></c-input>
                </el-col>
                <el-col :span="14">
                     <c-input  v-model="model.liaall.concur"></c-input>
                </el-col>
            </el-row>
        </el-form-item>
       </el-col>

       <el-col :span="12">
        <el-form-item label="保证金实收比例">
            <el-row>
                <el-col :span="8">
                    <c-input  v-model="model.liaall.misamt"></c-input>
                </el-col>
                <el-col :span="12" style="margin-left:20px">
                     <el-text>%</el-text>
                </el-col>
            </el-row>
        </el-form-item>
       </el-col>    

       <el-col :span="12">
        <el-form-item label="应付保证金金额">
            <el-row>
                <el-col :span="8">
                    <c-input type="text" :disable="true" value="CNY"></c-input>
                </el-col>
                <el-col :span="14">
                     <c-input  v-model="model.liaall.exttotamt"></c-input>
                </el-col>
            </el-row>
        </el-form-item>
       </el-col>
    <!--                                                            
       <el-col :span="12">
        <el-form-item label="Sight Amount">
            <c-input  v-model="model.liaall.outamt"  placeholder="请输入Sight Amount"></c-input>
        </el-form-item>
       </el-col>                 
                  
       <el-col :span="12">
        <el-form-item label="Sight Amount Percentage">
            <c-input  v-model="model.liaall.outpct"  placeholder="请输入Sight Amount Percentage"></c-input>
        </el-form-item>
       </el-col>             
                                                    
       <el-col :span="12">
        <el-form-item label="External Booking Amount">
            <c-input  v-model="model.liaall.concur" maxlength="3"  placeholder="请输入External Booking Amount"></c-input>
        </el-form-item>
       </el-col>             
                  
       <el-col :span="12">
        <el-form-item label="Amount not yet assigned">
            <c-input  v-model="model.liaall.misamt"  placeholder="请输入Amount not yet assigned"></c-input>
        </el-form-item>
       </el-col> 

       <el-col :span="12">
        <el-form-item label="Old Amount booked externally">
            <c-input  v-model="model.liaall.exttotoldamt"  placeholder="请输入Old Amount booked externally"></c-input>
        </el-form-item>
       </el-col>                 
                                 
       <el-col :span="12">
        <el-form-item label="Total booking amount external assinged">
            <c-input  v-model="model.liaall.exttotamt"  placeholder="请输入Total booking amount external assinged"></c-input>
        </el-form-item>
       </el-col>         
-->  
       <el-col :span="24">
        <el-row>
            <el-col :span="2">
                <c-button size="small" type="primary"  @click="onLiaallButmisamt">
                    Add
                </c-button>
            </el-col>
                        
            <el-col :span="2">
                <c-button size="small" type="primary"  @click="onLiaallButmissig">
                    Del
                </c-button>
            </el-col>
        </el-row>
       </el-col>

       <el-col :span="24">
            <c-table style="width:80%,text-align:center">
                <el-table-column
                    label="CFO"
                    width=50
                > 
                </el-table-column>
                <el-table-column
                    label="保证金编号"
                    width=50
                > 
                </el-table-column>
                <el-table-column
                    label="货币"
                    width=50
                > 
                </el-table-column>
                <el-table-column
                    label="余额"
                    width=50
                > 
                </el-table-column>
                <el-table-column
                    label="变动金额"
                    width=50
                > 
                </el-table-column>
                <el-table-column
                    label="保证金账号"
                    width=50
                > 
                </el-table-column>
                <el-table-column
                    label="汇率"
                    width=50
                > 
                </el-table-column>
                <el-table-column
                    label=""
                    width=50
                > 
                </el-table-column>
                <el-table-column
                    label="折算后金额"
                    width=50
                > 
                </el-table-column>
            </c-table>
       </el-col>

       <el-col :span="12">
        <el-form-item label="金额总和">
            <el-row>
                <el-col :span="8">
                    <c-input type="text" :disable="true" value="CNY"></c-input>
                </el-col>
                <el-col :span="14">
                     <c-input ></c-input>
                </el-col>
            </el-row>
        </el-form-item>
       </el-col>        
                   </div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"

export default {
    props:["model","codes"],
    data(){
        return {

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

    }
}
</script>
<style>

</style>
