diff --git a/src/components/core/schema-form/src/schema-form-item.vue b/src/components/core/schema-form/src/schema-form-item.vue index 603d053..d38ca34 100644 --- a/src/components/core/schema-form/src/schema-form-item.vue +++ b/src/components/core/schema-form/src/schema-form-item.vue @@ -11,6 +11,7 @@ :label-col="itemLabelWidthProp.labelCol" :wrapper-col="itemLabelWidthProp.wrapperCol" :rules="getRules" + class="!mb-[14px]" > , isDetail?: boolean, -) => FormSchema[] = (record = {}, isDetail = false) => { + isClient?: boolean, +) => FormSchema[] = (record = {}, isDetail = false, isClient = false) => { console.log('questionTypeList: ', questionTypeList); return [ @@ -194,6 +195,7 @@ export const getEditFormSchema: ( colProps: { span: 6, }, + }, { field: 'zentaoNos', @@ -202,6 +204,7 @@ export const getEditFormSchema: ( colProps: { span: 6, }, + vIf: () => !isClient, }, { @@ -216,6 +219,7 @@ export const getEditFormSchema: ( options: stateTypeList, disabled: true, }, + vIf: () => !isClient, rules: [{ required: true, type: 'number' }], },