<template>
    <div class="eibs-tab">

        <el-col :span="12">
            <span v-text="model.ditp.fenzhu" data-path=".ditp.fenzhu"> </span>
        </el-col>

        <el-col :span="12">
            <el-form-item label="信用证兑付方式" prop="didgrp.rec.avbby">
                <c-select v-model="model.didgrp.rec.avbby" style="width:100%" placeholder="请选择">
                    <el-option v-for="item in codes.avbby" :key="item.value" :label="item.label" :value="item.value">
                    </el-option>
                </c-select>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="分批装运货物" prop="didgrp.rec.shppar">
                <c-select v-model="model.didgrp.rec.shppar" style="width:100%" placeholder="请选择">
                    <el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
                    </el-option>
                </c-select>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="付款期限" prop="didgrp.rec.tenmaxday">
                <c-input v-model="model.didgrp.rec.tenmaxday" placeholder="请输入"></c-input>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="分期装运/提供服务" prop="didgrp.rec.fqzytgfw">
                <c-select v-model="model.didgrp.rec.fqzytgfw" style="width:100%" placeholder="请选择">
                </c-select>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
                <c-input type="textarea" v-model="model.didgrp.blk.defdet" style="width:70%;margin-right:20px;" maxlength="35" show-word-limit placeholder="请输入"></c-input>
                <c-button size="small" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel">
                    ...
                </c-button>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="分期装运/提供服务约定" prop="didgrp.rec.fqtime">
                <c-input type="textarea" v-model="model.didgrp.rec.fqtime" maxlength="35" show-word-limit placeholder="请输入"></c-input>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="交单期限" prop="didgrp.blk.preper">
                <c-input type="textarea" v-model="model.didgrp.blk.preper" style="width:70%;margin-right:20px;" maxlength="35" show-word-limit placeholder="请输入"></c-input>
                <c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
                    ...
                </c-button>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="转运" prop="didgrp.rec.shptrs">
                <c-select v-model="model.didgrp.rec.shptrs" style="width:100%" placeholder="请选择">
                </c-select>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="" prop="didgrp.blk.preperflg">
                <c-checkbox v-model="model.didgrp.blk.preperflg">修改交单期限文本</c-checkbox>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="运输方式/服务方式" prop="didgrp.rec.tratyp">
                <c-select v-model="model.didgrp.rec.tratyp" style="width:100%" placeholder="请选择">
                    <el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
                        :value="item.value">
                    </el-option>
                </c-select>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="货物转运地" prop="didgrp.rec.shpfro">
                <c-input type="textarea" v-model="model.didgrp.rec.shpfro" maxlength="35" show-word-limit placeholder="请输入"></c-input>

            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="货物目的地/交货地(港)" prop="didgrp.rec.shpto">
                <c-input type="textarea" v-model="model.didgrp.rec.shpto" maxlength="35" show-word-limit placeholder="请输入"></c-input>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="手输运输方式" prop="didgrp.rec.sdsrfs">
                <c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" maxlength="35" show-word-limit placeholder="请输入"></c-input>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="服务提供地点" prop="didgrp.rec.shppro">
                <c-input type="textarea" v-model="model.didgrp.rec.shppro" maxlength="35" show-word-limit placeholder="请输入"></c-input>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="合同编号" prop="didgrp.rec.conno">
                <c-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="合同币种" prop="didgrp.rec.concur">
                <c-select v-model="model.didgrp.rec.concur" style="width:100%" placeholder="请选择">
                </c-select>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="合同金额" prop="didgrp.rec.conamt">
                <c-input v-model="model.didgrp.rec.conamt" placeholder="请输入"></c-input>
            </el-form-item>
        </el-col>

        <!-- <el-col :span="12">
	    <span  v-text="model.ditp.sdysfs"   data-path=".ditp.sdysfs" > </span>
	</el-col>
                  
	<el-col :span="12">
	    <span  v-text="model.ditp.hwzydi"   data-path=".ditp.hwzydi" > </span>
	</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>
