<template>
    <div class="eibs-tab">
        <c-col :span="24">
            <el-form-item label="货物/服务名称" prop="godnam">
                <c-input
                    v-model="model.godnam"
                    maxlength="40"
                    style="width: 50%"
                    placeholder="货物服务名称"
                ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="24">
            <el-form-item label="特殊规定" prop="litameadv">
                <c-col :span="8">
                    <c-select
                        v-model="model.litameadv"
                        style="width: 150%"
                        placeholder="请选择特殊规定"
                    >
                        <el-option
                            v-for="item in codes.litameadv"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value"
                        >
                        </el-option>
                    </c-select>
                </c-col>
            </el-form-item>
        </c-col>

        <c-col :span="24">
            <el-form-item label="" prop="ameadvrmk">
                <c-input
                    :disabled="model.litameadv === '无特殊规定'"
                    type="textarea"
                    v-model="model.ameadvrmk"
                    :rows="4"
                    maxlength="68"
                    style="width: 50%"
                    show-word-limit
                ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="24">
            <el-form-item label="开证行" prop="bchname">
                <c-input
                    v-model="model.bchname"
                    maxlength="40"
                    style="width: 50%"
                    placeholder="请输入branch  name"
                ></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="开证行地址" prop="issadr">
                <c-input
                    v-model="model.issadr"
                    type="textarea"
                    :rows="4"
                    maxlength="40"
                    style="width: 50%"
                    show-word-limit
                ></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="开证行邮编" prop="pobzip">
                <c-input
                    v-model="model.pobzip"
                    maxlength="10"
                    style="width: 50%"
                    placeholder="请输入pobzip"
                ></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="开证行电话" prop="tel">
                <c-input
                    v-model="model.tel"
                    maxlength="16"
                    style="width: 50%"
                    placeholder="请输入tel"
                ></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="开证行传真" prop="fax">
                <c-input
                    v-model="model.fax"
                    maxlength="16"
                    style="width: 50%"
                    placeholder="请输入fax"
                ></c-input>
            </el-form-item>
        </c-col>
    </div>
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event";

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