|
@@ -59,24 +59,10 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
{
|
|
|
label: '客户(customer)',
|
|
|
field: 'customerId',
|
|
|
- component: 'ApiSelect',
|
|
|
+ component: 'JSelect',
|
|
|
componentProps: {
|
|
|
-
|
|
|
-
|
|
|
- api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list',params:{pageSize: -1}}),
|
|
|
-
|
|
|
- numberToString: false,
|
|
|
-
|
|
|
- labelField: 'name',
|
|
|
-
|
|
|
- valueField: 'id',
|
|
|
-
|
|
|
- params: { pageSize: -1 },
|
|
|
-
|
|
|
- resultField: 'records',
|
|
|
- filterOption: 'true',
|
|
|
- optionFilterProp: 'label',
|
|
|
- showSearch: 'true',
|
|
|
+ getOptionUrl: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list?pageSize=-1'}),
|
|
|
+ showField:"currency+name"
|
|
|
},
|
|
|
|
|
|
},
|
|
@@ -104,28 +90,14 @@ export const formSchema: FormSchema[] = [
|
|
|
{
|
|
|
label: '客户(customer)',
|
|
|
field: 'customerId',
|
|
|
- component: 'ApiSelect',
|
|
|
+ component: 'JSelect',
|
|
|
|
|
|
|
|
|
|
|
|
required: true,
|
|
|
componentProps: {
|
|
|
-
|
|
|
-
|
|
|
- api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list',params:{pageSize: -1}}),
|
|
|
-
|
|
|
- numberToString: false,
|
|
|
-
|
|
|
- labelField: 'name',
|
|
|
-
|
|
|
- valueField: 'id',
|
|
|
-
|
|
|
- params: { pageSize: -1 },
|
|
|
-
|
|
|
- resultField: 'records',
|
|
|
- filterOption: 'true',
|
|
|
- optionFilterProp: 'label',
|
|
|
- showSearch: 'true',
|
|
|
+ getOptionUrl: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list?pageSize=-1'}),
|
|
|
+ showField:"currency+name",
|
|
|
getPopupContainer: (node) => document.body,
|
|
|
},
|
|
|
},
|