|  | @@ -179,7 +179,8 @@ export const searchFormSchema: FormSchema[] = [
 | 
	
		
			
				|  |  |        field: "country",
 | 
	
		
			
				|  |  |        component: 'JDictSelectTag',
 | 
	
		
			
				|  |  |        componentProps:{
 | 
	
		
			
				|  |  | -          dictCode:"country"
 | 
	
		
			
				|  |  | +          dictCode:"country",
 | 
	
		
			
				|  |  | +          showSearch: true
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        labelWidth: 150,
 | 
	
		
			
				|  |  |        //colProps: {span: 6},
 | 
	
	
		
			
				|  | @@ -198,10 +199,25 @@ export const searchFormSchema: FormSchema[] = [
 | 
	
		
			
				|  |  |   {
 | 
	
		
			
				|  |  |      label: "中间人(intermediator)",
 | 
	
		
			
				|  |  |      field: "intermediator",
 | 
	
		
			
				|  |  | -    component: 'JDictSelectTag',
 | 
	
		
			
				|  |  | -    componentProps:{
 | 
	
		
			
				|  |  | -        dictCode:"intermediator"
 | 
	
		
			
				|  |  | -     },
 | 
	
		
			
				|  |  | +    component: 'ApiSelect',
 | 
	
		
			
				|  |  | +    componentProps: {
 | 
	
		
			
				|  |  | +            // mode: 'multiple',//multiple: 多选;不填写为单选
 | 
	
		
			
				|  |  | +            //请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
 | 
	
		
			
				|  |  | +            api: ()=> defHttp.get({ url: '/cuspCode/cuspIntermediator/list' }),
 | 
	
		
			
				|  |  | +            //数值转成String
 | 
	
		
			
				|  |  | +            numberToString: false,
 | 
	
		
			
				|  |  | +            //标题字段
 | 
	
		
			
				|  |  | +            labelField: 'name',
 | 
	
		
			
				|  |  | +            //值字段
 | 
	
		
			
				|  |  | +            valueField: 'id',
 | 
	
		
			
				|  |  | +            //请求参数
 | 
	
		
			
				|  |  | +            params:{pageSize:-1,status:1},
 | 
	
		
			
				|  |  | +            //返回结果字段
 | 
	
		
			
				|  |  | +            resultField:'records',
 | 
	
		
			
				|  |  | +            filterOption:"true",
 | 
	
		
			
				|  |  | +            optionFilterProp:'label',
 | 
	
		
			
				|  |  | +            showSearch:"true"
 | 
	
		
			
				|  |  | +          },
 | 
	
		
			
				|  |  |      labelWidth: 150,
 | 
	
		
			
				|  |  |      //colProps: {span: 6},
 | 
	
		
			
				|  |  |    },
 | 
	
	
		
			
				|  | @@ -366,7 +382,8 @@ export const formSchema: FormSchema[] = [
 | 
	
		
			
				|  |  |      labelWidth: 250,
 | 
	
		
			
				|  |  |      component: 'JDictSelectTag',
 | 
	
		
			
				|  |  |      componentProps:{
 | 
	
		
			
				|  |  | -      dictCode:"country"
 | 
	
		
			
				|  |  | +      dictCode:"country",
 | 
	
		
			
				|  |  | +      showSearch: true
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    {
 | 
	
	
		
			
				|  | @@ -423,10 +440,25 @@ export const formSchema: FormSchema[] = [
 | 
	
		
			
				|  |  |      field: 'intermediator',
 | 
	
		
			
				|  |  |      colProps: {span: 12},
 | 
	
		
			
				|  |  |      labelWidth: 200,
 | 
	
		
			
				|  |  | -    component: 'JSelectInput',
 | 
	
		
			
				|  |  | -    componentProps:{
 | 
	
		
			
				|  |  | -      options:intermediatorOption
 | 
	
		
			
				|  |  | -     },
 | 
	
		
			
				|  |  | +    component: 'ApiSelect',
 | 
	
		
			
				|  |  | +    componentProps: {
 | 
	
		
			
				|  |  | +            // mode: 'multiple',//multiple: 多选;不填写为单选
 | 
	
		
			
				|  |  | +            //请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
 | 
	
		
			
				|  |  | +            api: ()=> defHttp.get({ url: '/cuspCode/cuspIntermediator/list' }),
 | 
	
		
			
				|  |  | +            //数值转成String
 | 
	
		
			
				|  |  | +            numberToString: false,
 | 
	
		
			
				|  |  | +            //标题字段
 | 
	
		
			
				|  |  | +            labelField: 'name',
 | 
	
		
			
				|  |  | +            //值字段
 | 
	
		
			
				|  |  | +            valueField: 'id',
 | 
	
		
			
				|  |  | +            //请求参数
 | 
	
		
			
				|  |  | +            params:{pageSize:-1,status:1},
 | 
	
		
			
				|  |  | +            //返回结果字段
 | 
	
		
			
				|  |  | +            resultField:'records',
 | 
	
		
			
				|  |  | +            filterOption:"true",
 | 
	
		
			
				|  |  | +            optionFilterProp:'label',
 | 
	
		
			
				|  |  | +            showSearch:"true"
 | 
	
		
			
				|  |  | +          },
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      label: '中间人佣金(intermediator commission)',
 | 
	
	
		
			
				|  | @@ -540,50 +572,6 @@ export const cuspCustomerProfileManColumns: JVxeColumn[] = [
 | 
	
		
			
				|  |  |        slotName: 'action',
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |    ]
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -// 高级查询数据
 | 
	
		
			
				|  |  | -export const superQuerySchema = {
 | 
	
		
			
				|  |  | -  status: {title: '状态(1-启用,0-停用)',order: 0,view: 'number', type: 'number',},
 | 
	
		
			
				|  |  | -  code: {title: '编码',order: 2,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  name: {title: '名称',order: 3,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  abbreviation: {title: '简称',order: 4,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  nameUsedBefore: {title: '曾用名',order: 5,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  dutyParagraph: {title: '税号',order: 6,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  legalPerson: {title: '法人',order: 7,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  contacts: {title: '联系人',order: 8,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  phone: {title: '联系电话',order: 9,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  email: {title: '邮箱',order: 10,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  registerAddress: {title: '注册地址',order: 11,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  officeAddress: {title: '办公地址',order: 12,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  invoiceAddress: {title: '发票地址',order: 13,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  currency: {title: '币种',order: 14,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  country: {title: '国家',order: 15,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  paymentTerms: {title: '付款条件',order: 16,view: 'list', type: 'string',dictCode: '',},
 | 
	
		
			
				|  |  | -  creditLimit: {title: '信用额度',order: 17,view: 'number', type: 'number',},
 | 
	
		
			
				|  |  | -  discount: {title: '折扣',order: 18,view: 'number', type: 'number',},
 | 
	
		
			
				|  |  | -  commission: {title: '佣金',order: 19,view: 'number', type: 'number',},
 | 
	
		
			
				|  |  | -  intermediator: {title: '中间人',order: 20,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  intermediatorCommission: {title: '中间人佣金',order: 21,view: 'number', type: 'number',},
 | 
	
		
			
				|  |  | -  priority: {title: '优先级',order: 22,view: 'list', type: 'string',dictCode: '',},
 | 
	
		
			
				|  |  | -  notes: {title: '备注',order: 23,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  files: {title: '文件',order: 24,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -  //子表高级查询
 | 
	
		
			
				|  |  | -  cuspCustomerProfileMan: {
 | 
	
		
			
				|  |  | -    title: '客户档案-联系人',
 | 
	
		
			
				|  |  | -    view: 'table',
 | 
	
		
			
				|  |  | -    fields: {
 | 
	
		
			
				|  |  | -        status: {title: '状态(1-启用,0-停用)',order: 0,view: 'number', type: 'number',},
 | 
	
		
			
				|  |  | -        headId: {title: '主表主键(客户档案)',order: 2,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -        code: {title: '编码',order: 3,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -        name: {title: '姓名',order: 4,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -        mobile: {title: '电话',order: 5,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -        email: {title: '邮箱',order: 6,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -        position: {title: '职位',order: 7,view: 'text', type: 'string',},
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -  },
 | 
	
		
			
				|  |  | -};
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |  * 流程表单调用这个方法获取formSchema
 | 
	
		
			
				|  |  |  * @param param
 | 
	
	
		
			
				|  | @@ -592,17 +580,3 @@ export function getBpmFormSchema(_formData): FormSchema[]{
 | 
	
		
			
				|  |  |  // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema
 | 
	
		
			
				|  |  |    return formSchema;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -export function getIntermediatorOptions(){
 | 
	
		
			
				|  |  | -  let params = {pageSize:'-1',status:1}
 | 
	
		
			
				|  |  | -  defHttp.get({url:'/cuspCode/cuspIntermediator/list',params}, { isTransformResponse: false }).then(res=>{
 | 
	
		
			
				|  |  | -    if(res){
 | 
	
		
			
				|  |  | -      intermediatorOption.value.splice(0,intermediatorOption.value.length);
 | 
	
		
			
				|  |  | -        res.result.records.forEach(item=>{
 | 
	
		
			
				|  |  | -          intermediatorOption.value.push({
 | 
	
		
			
				|  |  | -            label: item.name,
 | 
	
		
			
				|  |  | -            value: item.id
 | 
	
		
			
				|  |  | -          })
 | 
	
		
			
				|  |  | -        })      
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -  })
 | 
	
		
			
				|  |  | -}
 |