<template>
    <c-row>
        <!--                               
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender">
            <c-input  v-model="model.ditamep.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>             
                                   
       <c-col :span="12">
        <el-form-item label="Reference">
            <c-input  v-model="model.didgrp.rec.ownref" maxlength="16"  placeholder="请输入Reference"></c-input>
        </el-form-item>
       </c-col>              -->
        <c-col>
            <c-col :span="10">
                <el-form-item label="参考号">
                    <c-input
                        v-model="model.ditamep.recget.sdamod.seainf"
                        placeholder="请输入参考号"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="2">
                <el-form-item label-width="15px">
                    <c-button size="small" type="primary" icon="el-icon-search"></c-button>
                </el-form-item>
            </c-col>

            <c-col :span="11">
                <el-form-item label="摘要">
                    <c-input
                        v-model="model.didgrp.rec.nam"
                        maxlength="40"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
        </c-col>
        <c-col :span="12">
            <el-form-item label="修改日期">
                <c-date-picker
                    type="date"
                    v-model="model.trnmod.swiadd.amedat"
                    style="width: 100%"
                    placeholder="请选择修改日期"
                ></c-date-picker>
            </el-form-item>
        </c-col>
        <c-col :span="12"> <el-form-item>&nbsp;</el-form-item></c-col>

        <c-col :span="12">
            <el-form-item label="修改次数">
                <c-input
                    v-model="model.trnmod.swiadd.amenbr"
                    placeholder="请输入修改次数"
                ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="11">
            <el-form-item label="实际修改次数">
                <c-input
                    v-model="model.ditamep.amenbr"
                    placeholder="请输入实际修改次数"
                    disabled
                ></c-input>
            </el-form-item>
        </c-col>

        <!-- <c-col :span="12">
            <el-form-item label="Currency">
                <c-input
                    v-model="model.didgrp.cbs.nom1.cur"
                    maxlength="3"
                    placeholder="请输入Currency"
                ></c-input>
            </el-form-item>
        </c-col> -->

        <c-col :span="9">
            <el-form-item label="信用证金额">
                <c-input
                    v-model="model.olddidgrp.cbs.nom1.amt"
                    disabled
                    style="width: 100px"
                ></c-input>
                <c-input
                    v-model="model.olddidgrp.cbs.nom1.amt"
                    style="width: 150px; margin-left: 20px"
                    disabled
                ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="6">
            <el-form-item label="溢短装" label-width="60px">
                <c-input
                    v-model="model.olddidgrp.rec.nomtop"
                    style="width: 100px"
                    disabled
                ></c-input>

                <c-input
                    v-model="model.olddidgrp.rec.nomton"
                    style="width: 100px; margin-left: 20px"
                    disabled
                ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="8">
            <el-form-item label="最大金额" label-width="100px;">
                <c-input
                    v-model="model.olddidgrp.cbs.max.cur"
                    maxlength="3"
                    placeholder="请输入Currency"
                    style="width: 150px"
                    disabled
                ></c-input>
                <c-input
                    v-model="model.olddidgrp.cbs.max.cur"
                    maxlength="3"
                    style="width: 150px; margin-left: 20px"
                    disabled
                ></c-input>
            </el-form-item>
        </c-col>

        <!-- <c-col :span="12">
            <el-form-item label="Balance">
                <c-input
                    v-model="model.olddidgrp.cbs.max.amt"
                    placeholder="请输入Balance"
                ></c-input>
            </el-form-item>
        </c-col> -->

        <c-col :span="12">
            <el-form-item label="增减金额">
                <c-input
                    v-model="model.trnmod.swiadd.amecur"
                    style="width: 100px"
                    disabled
                >
                </c-input>

                <c-input
                    v-model="model.trnmod.swiadd.ameamt"
                    style="width: 150px; margin-left: 20px"
                ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="11">
            <el-form-item label="修改总金额" label-width="230px"   >
                <c-input
                    v-model="model.ditamep.engcur"
                    style="width: 150px"
                    disabled
                ></c-input>
                <c-input
                    v-model="model.ditamep.engamt"
                    style="width: 150px; margin-left: 20px"
                    disabled
                >
                </c-input>
            </el-form-item>
        </c-col>

        <c-col :span="9">
            <el-form-item label="修改后金额">
                <c-input
                    v-model="model.trnmod.swiadd.newcur"
                    style="width: 100px"
                    disabled
                >
                </c-input>

                <c-input
                    v-model="model.trnmod.swiadd.newamt"
                    style="width: 150px; margin-left: 20px"
                ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="6">
            <el-form-item  label-width="60px">
                <c-input
                    v-model="model.trnmod.swiadd.newnomtopame"
                    style="width: 100px"
                ></c-input>
                <c-input
                    v-model="model.trnmod.swiadd.newnomtoname"
                    style="width: 100px; margin-left: 20px"
                ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="8">
            <el-form-item label=" " label-width="60px">
                <c-input
                    v-model="model.ditamep.maxcur"
                    maxlength="3"
                    style="width: 150px"
                    disabled
                ></c-input>

                <c-input
                    v-model="model.ditamep.maxamt"
                    style="width: 150px; margin-left: 20px"
                    disabled
                ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="到期日">
                <c-date-picker
                    type="date"
                    v-model="model.olddidgrp.rec.expdat"
                    style="width: 100%"
                    placeholder="请选择到期日"
                    disabled
                ></c-date-picker>
            </el-form-item>
        </c-col>

        <c-col :span="11">
            <el-form-item label="最迟货物装运日">
                <c-date-picker
                    type="date"
                    v-model="model.olddidgrp.rec.shpdat"
                    style="width: 100%"
                    placeholder="请选择Shipment Date"
                    disabled
                ></c-date-picker>
            </el-form-item>
        </c-col>

        <!-- <c-col :span="12">
            <span v-text="model.ditamep.zchday" data-path=".ditamep.zchday">
            </span>
        </c-col> -->

        <c-col :span="12">
            <el-form-item label="新到期日">
                <c-date-picker
                    type="date"
                    v-model="model.trnmod.swiadd.newexpdat"
                    style="width: 100%"
                    placeholder="请选择新到期日"
                ></c-date-picker>
            </el-form-item>
        </c-col>

        <c-col :span="11">
            <el-form-item label="新最迟货物装运日">
                <c-date-picker
                    type="date"
                    v-model="model.trnmod.swiadd.newshpdat"
                    style="width: 100%"
                    placeholder="请选择New Shipmentdate"
                ></c-date-picker>
            </el-form-item>
        </c-col>

        <!-- <c-col :span="12">
            <span v-text="model.ditamep.newday" data-path=".ditamep.newday">
            </span>
        </c-col> -->

        <c-col :span="12">
            <el-form-item label="货物装运地(港)">
                <c-input
                    type="textarea"
                    v-model="model.trnmod.swiadd.shpfroelc"
                    maxlength="35"
                    show-word-limit
                    :rows="5"
                    placeholder="请输入Shipment from"
                ></c-input>
            </el-form-item>
        </c-col>

        <!-- <c-col :span="12">
            <span v-text="model.ditamep.hwzydi" data-path=".ditamep.hwzydi">
            </span>
        </c-col> -->

        <c-col :span="11">
            <el-form-item label="货物目的地/交货地(港)">
                <c-input
                    type="textarea"
                    v-model="model.trnmod.swiadd.shptoelc"
                    maxlength="35"
                    show-word-limit
                    :rows="5"
                    placeholder="请输入货物目的地/交货地(港)"
                ></c-input>
            </el-form-item>
        </c-col>
        <!-- 
        <c-col :span="12">
            <span
                v-text="model.ditamep.ramrollab"
                data-path=".ditamep.ramrollab"
            >
            </span>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Request of Amendment send to">
                <c-select
                    v-model="model.ditamep.ramrol"
                    style="width: 100%"
                    placeholder="请选择Request of Amendment send to"
                >
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <c-checkbox v-model="model.ditamep.cre707flg"
                >Create Amendment Message</c-checkbox
            >
        </c-col> -->
    </c-row>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";

export default {
    inject: ['root'],
    props: ["model", "codes"],
    mixins: [CommonProcess],
    data() {
        return {};
    },
    methods: { ...Event },
    created: function () {},
};
</script>
<style>
</style>
