|
|
|
@ -238,15 +238,15 @@ export const formSchema: FormSchema[] = [
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: () => {
|
|
|
|
|
return new Promise((resolve) => {
|
|
|
|
|
const arr = getOptions('custom')
|
|
|
|
|
resolve(arr)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
labelField: 'shortName',
|
|
|
|
|
valueField: 'id',
|
|
|
|
|
allowClear: true,
|
|
|
|
|
showSearch: true,
|
|
|
|
|
api: GetClientListByCode,
|
|
|
|
|
params: { code: 'leasing' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
showName: 'shortName',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
immediate: false,
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
},
|
|
|
|
|