|
@@ -56,7 +56,10 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
{
|
|
|
label: "客户(customer)",
|
|
|
field: 'customerId',
|
|
|
- component: 'Input',
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps:{
|
|
|
+ dictCode: 'customer',
|
|
|
+ },
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
{
|
|
@@ -82,12 +85,11 @@ export const formSchema: FormSchema[] = [
|
|
|
{
|
|
|
label: '客户(customer)',
|
|
|
field: 'customerId',
|
|
|
- component: 'Input',
|
|
|
- dynamicRules: ({model,schema}) => {
|
|
|
- return [
|
|
|
- { required: true, message: '请输入客户!'},
|
|
|
- ];
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps:{
|
|
|
+ dictCode: 'customer',
|
|
|
},
|
|
|
+ required: true
|
|
|
},
|
|
|
{
|
|
|
label: '编码(code)',
|