<template>
    <el-row>
        <!--                               
       <el-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>
       </el-col>             
                                   
       <el-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>
       </el-col>              -->
        <el-col>
            <el-col :span="10">
                <el-form-item label="参考号">
                    <c-input
                        v-model="model.ditamep.recget.sdamod.seainf"
                        placeholder="请输入参考号"
                        disabled
                    ></c-input>
                </el-form-item>
            </el-col>
            <el-col :span="2">
                <el-form-item label-width="15px">
                    <c-button size="small" type="primary;width:10%">i</c-button>
                </el-form-item>
            </el-col>

            <el-col :span="11">
                <el-form-item label="摘要">
                    <c-input
                        v-model="model.didgrp.rec.nam"
                        maxlength="40"
                        disabled
                    ></c-input>
                </el-form-item>
            </el-col>
        </el-col>
        <el-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>
        </el-col>
        <el-col :span="12"> <el-form-item>&nbsp;</el-form-item></el-col>

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

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

        <!-- <el-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>
        </el-col> -->

        <el-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>
        </el-col>

        <el-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>
        </el-col>

        <el-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>
        </el-col>

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

        <el-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>
        </el-col>

        <el-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>
        </el-col>

        <el-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>
        </el-col>

        <el-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>
        </el-col>

        <el-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>
        </el-col>

        <el-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>
        </el-col>

        <el-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>
        </el-col>

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

        <el-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>
        </el-col>

        <el-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>
        </el-col>

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

        <el-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>
        </el-col>

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

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

        <el-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>
        </el-col>

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

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