<template>
    <div>
        <el-card>
            <el-form :model="editQuery" :rules="rules" ref="editQuery"   label-width="150px" style="margin-top: 20px" >
                <el-collapse v-model="activeNames">
                    <el-collapse-item name="1">
                        <template slot="title">
                            <p class="form-title">产品标识基本信息</p>
                        </template>
                        <el-row>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="产品标识:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.nameCode"></el-input>
                              </el-form-item>
                            </el-col>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="最小包装单元内包含使用单元数量:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.zxxsbzbhsydysl"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="包含下级产品编码:">
                                <el-input style="width: 90%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.bhxjcpbm"></el-input>
                              </el-form-item>
                            </el-col>

                            <el-col :span="12" class="el-col">
                              <el-form-item label="包含最小销售包装数量:">
                                    <el-input style="width: 90%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.bhzxxsbzsl"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                    </el-collapse-item>

                    <el-collapse-item name="2">
                        <template slot="title">
                            <p class="form-title">产品基本信息</p>
                        </template>

                        <el-row >
                            <el-col :span="12" class="el-col">
                              <el-form-item label="产品名称:">
                                    <el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.cpmctymc"></el-input>
                              </el-form-item>
                            </el-col>

                            <el-col :span="12" class="el-col">
                              <el-form-item label="规格型号:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.ggxh"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row >
                            <el-col :span="12" class="el-col">
                              <el-form-item label="产品类别:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.cplb"></el-input>
                              </el-form-item>
                            </el-col>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="分类编码:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.flbm"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="医疗器械注册人:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="ylqxzcrbarmc" v-model="editQuery.ylqxzcrbarmc"></el-input>
                              </el-form-item>
                            </el-col>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="注册人英文名称:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.ylqxzcrbarywmc"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="器械类别:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.qxlb"></el-input>
                              </el-form-item>
                            </el-col>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="生产厂家:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.manufactory"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row >
                            <el-col :span="12" class="el-col">
                              <el-form-item label="商品条码:">
                                    <el-input style="width: 90%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.sptm"></el-input>
                              </el-form-item>
                            </el-col>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="医保编码:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.ybbm"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="统一社会信用号:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.tyshxydm"></el-input>
                              </el-form-item>
                            </el-col>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="注册证/备案号:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.zczbhhzbapzbh"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="产品描述:">
                                    <el-input style="width: 90%" :disabled="!checked" size="small" splaceholder="请输入内容" v-model="editQuery.cpms"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>
                    </el-collapse-item>


                    <el-collapse-item name="3">
                        <template slot="title">
                            <p class="form-title">生产标识基本信息</p>
                        </template>

                        <el-row >
                            <el-col :span="12" class="el-col">
                              <el-form-item label="是否包含批号:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.scbssfbhph"></el-input>
                              </el-form-item>
                            </el-col>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="是否包含序列号:">
                                    <el-input style="width: 90%" :disabled="true" size="small" v-model="editQuery.scbssfbhxlh" splaceholder="请输入内容"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="是否包含生产日期:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.scbssfbhscrq"></el-input>
                              </el-form-item>
                            </el-col>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="是否包含失效日期:">
                                    <el-input style="width: 90%" :disabled="true" v-model="editQuery.scbssfbhsxrq" size="small" splaceholder="请输入内容"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>
                    </el-collapse-item>

                    <el-collapse-item name="4">
                        <template slot="title">
                            <p class="form-title">包装标识信息</p>
                        </template>

                        <el-row>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="上级产品编码:">
                                    <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.sjcpbm"></el-input>
                              </el-form-item>
                            </el-col>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="包装级别:">
                                    <el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.packLevel"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row>
                            <el-col :span="12" class="el-col">
                              <el-form-item label="包装单位/包装级别:">
                                    <el-input style="width: 90%" size="small" splaceholder="请输入内容" v-model="editQuery.bzcj" :disabled="true"></el-input>
                              </el-form-item>
                            </el-col>

                            <el-col :span="12" class="el-col">
                              <el-form-item label="包含下级包装数量:">
                                    <el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.bhxjsl"></el-input>
                              </el-form-item>
                            </el-col>
                        </el-row>
                    </el-collapse-item>

                </el-collapse>

            </el-form>
        </el-card>
    </div>
</template>

<script>

export default {
    name: "SelectDIDetailDialog",
    props: {
        editQuery: {
            type: Object,
            required: true,
        },
    },
    data() {
        return {
            activeNames: ['1']
        }
    },
    methods: {},

    created() {
    },
};
</script>

<style scoped>

.form-title {
    font-size: 16px;
    font-family: Noto Sans SC;
    font-weight: bold;
    color: #303133;
    padding-bottom: 17px;
    padding-top: 17px;
}

</style>
