lisenzhou 2 years ago
parent
commit
4f2cd79e44
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/pages/guarantee/edit/index.jsx

+ 2
- 1
src/pages/guarantee/edit/index.jsx View File

84
             },
84
             },
85
           }}
85
           }}
86
         >
86
         >
87
-          <ProFormText name="name" label="机构名称" width={460} />
87
+          <ProFormText name="name" label="机构名称" width={460}   rules={[{ required: true, message: '请输入机构名称' }]}/>
88
           <ProFormText
88
           <ProFormText
89
             name="businessLicense"
89
             name="businessLicense"
90
             label="工商注册证号"
90
             label="工商注册证号"
91
             width={460}
91
             width={460}
92
+           
92
           />
93
           />
93
           <ProFormText name="hygieneLicense" label="卫生许可证号" width={460} />
94
           <ProFormText name="hygieneLicense" label="卫生许可证号" width={460} />
94
 
95