？<template>
    <layout-form>
        <el-form :model="form" :loading="loading" :rules="rules" size='small' style="width:100%" label-width='120px' ref="form">
            <el-row>
                            <Field label="一件事基础表 one_basics id" prop="basicsId" v-model="form.basicsId" placeholder="请输入一件事基础表 one_basics id"/>
                <Field label="材料id " prop="oneDatumIds" v-model="form.oneDatumIds" placeholder="请输入材料id "/>
                <Field label="变更时间" prop="updateTime" v-model="form.updateTime" placeholder="请输入变更时间"/>
                <Field label="变更用户loginName" prop="updateUser" v-model="form.updateUser" placeholder="请输入变更用户loginName"/>
            </el-row>
            <form-buttons @submit='submitForm'/>
        </el-form>
    </layout-form>
</template>

<script>
    import form from "@/assets/mixins/form";
    export default {
        mixins: [form],
        data() {
            return {
                rules: {
                    updatetime:[{required: true, message: '请输入变更时间', trigger: 'blur'},],
                    updateUser:[{required: true, message: '请输入变更用户loginName', trigger: 'blur'},
                        {max: 50, message: '最多只能录入50个字符', trigger: 'blur'}],
                }
            };
        }
    };
</script>