| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="叶子节点标识" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group :disabled="leafDisableFlag" v-model="model.leafFlag" placeholder="请选择是否叶子节点"> |
| | | <a-radio :value="'2'">有子节点</a-radio> |
| | | <a-radio :value="'1'">是叶子节点</a-radio> |
| | | <a-form-model-item label="是否有下级分类" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group :disabled="leafDisableFlag" v-model="model.leafFlag" placeholder="请选择是否有下级分类"> |
| | | <a-radio :value="'2'">是</a-radio> |
| | | <a-radio :value="'1'">否</a-radio> |
| | | </a-radio-group> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | { required: true, message: '请输入父节点编号!'}, |
| | | ], |
| | | leafFlag: [ |
| | | { required: true, message: '请输入是否叶子节点!'}, |
| | | { required: true, message: '请输入是否有下级分类!'}, |
| | | ], |
| | | seq: [ |
| | | { validator: (rule, value, callback) => { |