<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: 30%"
                    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: 70%"
                        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" style="width: 60%">
                <c-input
                    :disabled="model.litameadv == '无特殊规定'"
                    type="textarea"
                    v-model="model.ameadvrmk"
                    :autosize="{ minRows: 4, maxRows: 6 }"
                    maxlength="68"
                    style="width: 50%"
                    show-word-limit
                ></c-input>
            </el-form-item>
        </el-col>

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

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