<template>
  <div class="eibs-tab">
                                               
       <c-col :span="12">
        <el-form-item label="our reference" prop="setmod.ref">
            <c-input  v-model="model.setmod.ref" maxlength="16"  placeholder="请输入our reference"></c-input>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.setmod.docamttyplab"   data-path=".setmod.docamttyplab" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="document currency" prop="setmod.doccur">
            <c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="document amount" prop="setmod.docamt">
            <c-input  v-model="model.setmod.docamt"  placeholder="请输入document amount"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Type of settlement" prop="setmod.dspflg">
            <c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onMtdbutButapy">
            确定
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="减少的金额" prop="setmod.redamt">
            <c-input  v-model="model.setmod.redamt"  placeholder="请输入减少的金额"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="减少后的结算金额" prop="setmod.setamt">
            <c-input  v-model="model.setmod.setamt"  placeholder="请输入减少后的结算金额"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="注释" prop="setmod.redamttxt">
            <c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit placeholder="请输入注释" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onMtdbutButcan">
            取消
        </c-button>
       </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdck/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [CommonProcess],
    data(){
        return {

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

    }
}
</script>
<style>

</style>
