<template>
  <div class="eibs-tab">
                              
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onTrndiaSavdia">
            保存
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Diary Reason" prop="trnmod.trndia.diarec.cod">
            <c-select v-model="model.trnmod.trndia.diarec.cod" style="width:100%" placeholder="请选择Diary Reason">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.trnmod.trndia.diarec.donflg">Entry Done Nonspace = Entry Done</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onTrndiaDiaprt">
            打印
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Date of Diary" prop="trnmod.trndia.diarec.dat">
            <c-date-picker type="date"  v-model="model.trnmod.trndia.diarec.dat" style="width:100%"  placeholder="请选择Date of Diary"></c-date-picker>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Description" prop="trnmod.trndia.diarec.nam">
            <c-input  v-model="model.trnmod.trndia.diarec.nam" maxlength="40"  placeholder="请输入Description"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="used to define a codetable that to be show as status in Grid" prop="trnmod.trndia.diamodflg">
            <c-select v-model="model.trnmod.trndia.diamodflg" style="width:100%" placeholder="请选择used to define a codetable that to be show as status in Grid">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Detailed Information" prop="trnmod.trndia.diarec.inftxt">
            <c-input type="textarea" v-model="model.trnmod.trndia.diarec.inftxt" maxlength="65" show-word-limit placeholder="请输入Detailed Information" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="pty extkey" prop="trnmod.trndia.diarec.ptyextkey">
            <c-input  v-model="model.trnmod.trndia.diarec.ptyextkey" maxlength="24"  placeholder="请输入pty extkey"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Pay CUR" prop="trnmod.trndia.diarec.paycur">
            <c-input  v-model="model.trnmod.trndia.diarec.paycur" maxlength="3"  placeholder="请输入Pay CUR"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="付款币种" prop="trnmod.trndia.diarec.payamt">
            <c-input  v-model="model.trnmod.trndia.diarec.payamt"  placeholder="请输入付款币种"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="预计核验日期" prop="trnmod.trndia.diarec.prechkdat">
            <c-date-picker type="date"  v-model="model.trnmod.trndia.diarec.prechkdat" style="width:100%"  placeholder="请选择预计核验日期"></c-date-picker>
        </el-form-item>
       </c-col>
                                                                                      
       <c-col :span="12">
        <el-form-item label="pty name" prop="trnmod.trndia.diarec.ptynam">
            <c-input  v-model="model.trnmod.trndia.diarec.ptynam" maxlength="100"  placeholder="请输入pty name"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="trnmod.trndia.atpget.sdamod.dadsnd">
            <c-input  v-model="model.trnmod.trndia.atpget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Start Transaction" prop="trnmod.trndia.atp.cod">
            <c-input  v-model="model.trnmod.trndia.atp.cod" maxlength="6"  placeholder="请输入Start Transaction"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="trnmod.trndia.atpget.sdamod.seainf">
            <c-input  v-model="model.trnmod.trndia.atpget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Application Transaction Profile Text" prop="trnmod.trndia.atptxt">
            <c-input  v-model="model.trnmod.trndia.atptxt" maxlength="50"  placeholder="请输入Application Transaction Profile Text"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Responsible User" prop="trnmod.trndia.usr.extkey">
            <c-input  v-model="model.trnmod.trndia.usr.extkey" maxlength="8"  placeholder="请输入Responsible User"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="trnmod.trndia.usrget.sdamod.seainf">
            <c-input  v-model="model.trnmod.trndia.usrget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Resp. Group" prop="trnmod.trndia.diarec.ownusg">
            <c-select v-model="model.trnmod.trndia.diarec.ownusg" style="width:100%" placeholder="请选择Resp. Group">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Entered by" prop="trnmod.trndia.diarec.usr">
            <c-input  v-model="model.trnmod.trndia.diarec.usr" maxlength="8"  placeholder="请输入Entered by"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onTrndiaDiaexi">
            退出
        </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/Litopn/Event"

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

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

    }
}
</script>
<style>

</style>
