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

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

        <el-col :span="24">
            <el-form-item label="" prop="ameadvrmk">
                <c-input
                    :disabled="model.litameadv != 2"
                    type="textarea"
                    v-model="model.ameadvrmk"
                    maxlength="68"
                    style="width: 80%"
                    show-word-limit
                ></c-input>
            </el-form-item>
        </el-col>

        <el-col :span="24">
            <el-form-item label="开证行" prop="bchname">
                <c-input
                    v-model="model.bchname"
                    maxlength="40"
                    style="width: 80%"
                    placeholder="请输入branch  name"
                ></c-input>
            </el-form-item>
        </el-col>
    </div>
</template>
<script>
import Event from "~/model/Ditopn/Event";

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