|
|
@@ -91,7 +91,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '用户名称',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入用户名称',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
rules: z.string().min(1, { message: '请输入用户名称' }),
|
|
|
},
|
|
|
@@ -101,7 +101,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '用户性质',
|
|
|
componentProps: {
|
|
|
placeholder: '请选择用户性质',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
options: [
|
|
|
{ label: '购机者', value: '购机者' },
|
|
|
{ label: '经销商', value: '经销商' },
|
|
|
@@ -116,7 +116,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
defaultValue: '个人',
|
|
|
componentProps: {
|
|
|
placeholder: '请选择用户类型',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
options: [
|
|
|
{ label: '个人', value: '个人' },
|
|
|
{ label: '企业', value: '企业' },
|
|
|
@@ -131,7 +131,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '身份证号码',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入身份证号码',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
rules: z.string().min(1, { message: '请输入身份证号码' }),
|
|
|
dependencies: {
|
|
|
@@ -148,7 +148,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '统一社会信用代码',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入统一社会信用代码',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
rules: z.string().min(1, { message: '请输入统一社会信用代码' }),
|
|
|
dependencies: {
|
|
|
@@ -164,7 +164,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '企业注册地',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入企业注册地',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
dependencies: {
|
|
|
if(values) {
|
|
|
@@ -179,7 +179,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '法人代表电话(座机)',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入法人代表电话',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
dependencies: {
|
|
|
if(values) {
|
|
|
@@ -194,7 +194,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '法人代表手机号',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入法人代表手机号',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
dependencies: {
|
|
|
if(values) {
|
|
|
@@ -210,7 +210,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '生产企业',
|
|
|
componentProps: {
|
|
|
placeholder: '请选择生产企业',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
options: scqySelectOptions,
|
|
|
},
|
|
|
rules: z.string().min(1, { message: '请选择生产企业' }),
|
|
|
@@ -228,7 +228,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '开户银行名称',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入开户银行名称',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
rules: z.string().min(1, { message: '请输入开户银行名称' }),
|
|
|
},
|
|
|
@@ -238,7 +238,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '开户银行账号',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入开户银行账号',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
rules: z.string().min(1, { message: '请输入开户银行账号' }),
|
|
|
},
|
|
|
@@ -248,7 +248,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '手机号',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入手机号',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
rules: z.string().min(1, { message: '请输入手机号' }),
|
|
|
},
|
|
|
@@ -258,7 +258,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '邮箱',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入邮箱',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
rules: z.string().email({ message: '请输入正确的邮箱格式' }),
|
|
|
},
|
|
|
@@ -268,7 +268,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '地址',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入地址',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
@@ -277,7 +277,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '传真',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入传真',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
},
|
|
|
dependencies: {
|
|
|
if(values) {
|
|
|
@@ -292,7 +292,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
label: '备注',
|
|
|
componentProps: {
|
|
|
placeholder: '请输入备注',
|
|
|
- allowClear: true,
|
|
|
+ clearable: true,
|
|
|
type: 'textarea',
|
|
|
rows: 4,
|
|
|
},
|