|  | @@ -7,198 +7,175 @@ import { getWeekMonthQuarterYear } from '/@/utils';
 | 
	
		
			
				|  |  |  //列表数据
 | 
	
		
			
				|  |  |  export const columns: BasicColumn[] = [
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '状态(1-启用,0-停用)',
 | 
	
		
			
				|  |  | -    align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'status'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | -   {
 | 
	
		
			
				|  |  | -    title: '编码',
 | 
	
		
			
				|  |  | +    title: '编码(code)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'code'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '名称',
 | 
	
		
			
				|  |  | +    title: '名称(name)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'name'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '简称',
 | 
	
		
			
				|  |  | -    align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'abbreviation'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | -   {
 | 
	
		
			
				|  |  | -    title: '曾用名',
 | 
	
		
			
				|  |  | +    title: '简称(abbreviation)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'nameUsedBefore'
 | 
	
		
			
				|  |  | +    dataIndex: 'abbreviation',
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  | +  //  {
 | 
	
		
			
				|  |  | +  //   title: '曾用名',
 | 
	
		
			
				|  |  | +  //   align:"center",
 | 
	
		
			
				|  |  | +  //   dataIndex: 'nameUsedBefore'
 | 
	
		
			
				|  |  | +  //  },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '税号',
 | 
	
		
			
				|  |  | +    title: '税号(duty paragraph)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'dutyParagraph'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '法人',
 | 
	
		
			
				|  |  | +    title: '法人(legal person)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'legalPerson'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '联系人',
 | 
	
		
			
				|  |  | +    title: '联系人(contacts)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'contacts'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '联系电话',
 | 
	
		
			
				|  |  | +    title: '联系电话(phone)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'phone'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '邮箱',
 | 
	
		
			
				|  |  | -    align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'email'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | -   {
 | 
	
		
			
				|  |  | -    title: '注册地址',
 | 
	
		
			
				|  |  | -    align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'registerAddress'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | -   {
 | 
	
		
			
				|  |  | -    title: '办公地址',
 | 
	
		
			
				|  |  | -    align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'officeAddress'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | -   {
 | 
	
		
			
				|  |  | -    title: '发票地址',
 | 
	
		
			
				|  |  | -    align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'invoiceAddress'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | -   {
 | 
	
		
			
				|  |  | -    title: '币种',
 | 
	
		
			
				|  |  | -    align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'currency'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | -   {
 | 
	
		
			
				|  |  | -    title: '国家',
 | 
	
		
			
				|  |  | +    title: '国家(country)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'country'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '付款条件',
 | 
	
		
			
				|  |  | -    align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'paymentTerms_dictText'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | -   {
 | 
	
		
			
				|  |  | -    title: '信用额度',
 | 
	
		
			
				|  |  | +    title: '中间人(intermediator)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'creditLimit'
 | 
	
		
			
				|  |  | +    dataIndex: 'intermediator'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '折扣',
 | 
	
		
			
				|  |  | +    title: '折扣(discount)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'discount'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '佣金',
 | 
	
		
			
				|  |  | +    title: '佣金(commission)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'commission'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  | +  
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '中间人',
 | 
	
		
			
				|  |  | -    align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'intermediator'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | -   {
 | 
	
		
			
				|  |  | -    title: '中间人佣金',
 | 
	
		
			
				|  |  | +    title: '中间人佣金(intermediator commission)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  |      dataIndex: 'intermediatorCommission'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '优先级',
 | 
	
		
			
				|  |  | +    title: '信用额度(credit limit)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'priority_dictText'
 | 
	
		
			
				|  |  | +    dataIndex: 'creditLimit'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  | +   
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '备注',
 | 
	
		
			
				|  |  | +    title: '优先级(priority)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'notes'
 | 
	
		
			
				|  |  | +    dataIndex: 'priority_dictText'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  | -    title: '文件',
 | 
	
		
			
				|  |  | +    title: '状态(status)',
 | 
	
		
			
				|  |  | +    key: 'status',
 | 
	
		
			
				|  |  | +    dataIndex: 'status',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'files'
 | 
	
		
			
				|  |  | -   },
 | 
	
		
			
				|  |  | +    customRender:function (t, r, index) {
 | 
	
		
			
				|  |  | +      if(t.text==1){
 | 
	
		
			
				|  |  | +        return '启用(enable)'
 | 
	
		
			
				|  |  | +      }else if(t.text==0){
 | 
	
		
			
				|  |  | +        return '停用(disable)'
 | 
	
		
			
				|  |  | +      }else{
 | 
	
		
			
				|  |  | +        return ''
 | 
	
		
			
				|  |  | +      } 
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  |  ];
 | 
	
		
			
				|  |  |  //查询数据
 | 
	
		
			
				|  |  |  export const searchFormSchema: FormSchema[] = [
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  | -      label: "状态(1-启用,0-停用)",
 | 
	
		
			
				|  |  | -      field: "status",
 | 
	
		
			
				|  |  | -      component: 'InputNumber',
 | 
	
		
			
				|  |  | -      //colProps: {span: 6},
 | 
	
		
			
				|  |  | - 	},
 | 
	
		
			
				|  |  | -	{
 | 
	
		
			
				|  |  | -      label: "编码",
 | 
	
		
			
				|  |  | +      label: "编码(code)",
 | 
	
		
			
				|  |  |        field: "code",
 | 
	
		
			
				|  |  |        component: 'Input',
 | 
	
		
			
				|  |  |        //colProps: {span: 6},
 | 
	
		
			
				|  |  |   	},
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  | -      label: "名称",
 | 
	
		
			
				|  |  | +      label: "名称(name)",
 | 
	
		
			
				|  |  |        field: "name",
 | 
	
		
			
				|  |  |        component: 'Input',
 | 
	
		
			
				|  |  |        //colProps: {span: 6},
 | 
	
		
			
				|  |  |   	},
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  | -      label: "简称",
 | 
	
		
			
				|  |  | +      label: "简称(abbreviation)",
 | 
	
		
			
				|  |  |        field: "abbreviation",
 | 
	
		
			
				|  |  |        component: 'Input',
 | 
	
		
			
				|  |  | +      labelWidth: 150,
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        //colProps: {span: 6},
 | 
	
		
			
				|  |  |   	},
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  | -      label: "税号",
 | 
	
		
			
				|  |  | +      label: "税号(duty paragraph)",
 | 
	
		
			
				|  |  |        field: "dutyParagraph",
 | 
	
		
			
				|  |  |        component: 'Input',
 | 
	
		
			
				|  |  | +      labelWidth: 150,
 | 
	
		
			
				|  |  |        //colProps: {span: 6},
 | 
	
		
			
				|  |  |   	},
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  | -      label: "联系人",
 | 
	
		
			
				|  |  | +      label: "联系人(contacts)",
 | 
	
		
			
				|  |  |        field: "contacts",
 | 
	
		
			
				|  |  |        component: 'Input',
 | 
	
		
			
				|  |  | +      labelWidth: 120,
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        //colProps: {span: 6},
 | 
	
		
			
				|  |  |   	},
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  | -      label: "联系电话",
 | 
	
		
			
				|  |  | +      label: "联系电话(phone)",
 | 
	
		
			
				|  |  |        field: "phone",
 | 
	
		
			
				|  |  |        component: 'Input',
 | 
	
		
			
				|  |  | +      labelWidth: 120,
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        //colProps: {span: 6},
 | 
	
		
			
				|  |  |   	},
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  | -      label: "国家",
 | 
	
		
			
				|  |  | +      label: "国家(country)",
 | 
	
		
			
				|  |  |        field: "country",
 | 
	
		
			
				|  |  |        component: 'Input',
 | 
	
		
			
				|  |  |        //colProps: {span: 6},
 | 
	
		
			
				|  |  |   	},
 | 
	
		
			
				|  |  | +   {
 | 
	
		
			
				|  |  | +    label: "优先级(priority)",
 | 
	
		
			
				|  |  | +    field: "priority",
 | 
	
		
			
				|  |  | +    component: 'JSelectMultiple',
 | 
	
		
			
				|  |  | +    componentProps:{
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    //colProps: {span: 6},
 | 
	
		
			
				|  |  | + },
 | 
	
		
			
				|  |  | + {
 | 
	
		
			
				|  |  | +    label: "中间人(intermediator)",
 | 
	
		
			
				|  |  | +    field: "intermediator",
 | 
	
		
			
				|  |  | +    component: 'Input',
 | 
	
		
			
				|  |  | +    labelWidth: 150,
 | 
	
		
			
				|  |  | +    //colProps: {span: 6},
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  | -      label: "付款条件",
 | 
	
		
			
				|  |  | +      label: "付款条件(payment terms)",
 | 
	
		
			
				|  |  |        field: "paymentTerms",
 | 
	
		
			
				|  |  |        component: 'JSelectMultiple',
 | 
	
		
			
				|  |  | +      labelWidth: 180,
 | 
	
		
			
				|  |  |        componentProps:{
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        //colProps: {span: 6},
 | 
	
		
			
				|  |  |   	},
 | 
	
		
			
				|  |  | -	{
 | 
	
		
			
				|  |  | -      label: "中间人",
 | 
	
		
			
				|  |  | -      field: "intermediator",
 | 
	
		
			
				|  |  | -      component: 'Input',
 | 
	
		
			
				|  |  | -      //colProps: {span: 6},
 | 
	
		
			
				|  |  | - 	},
 | 
	
		
			
				|  |  | -	{
 | 
	
		
			
				|  |  | -      label: "优先级",
 | 
	
		
			
				|  |  | -      field: "priority",
 | 
	
		
			
				|  |  | -      component: 'JSelectMultiple',
 | 
	
		
			
				|  |  | -      componentProps:{
 | 
	
		
			
				|  |  | -      },
 | 
	
		
			
				|  |  | -      //colProps: {span: 6},
 | 
	
		
			
				|  |  | - 	},
 | 
	
		
			
				|  |  | +	
 | 
	
		
			
				|  |  | +	
 | 
	
		
			
				|  |  |  ];
 | 
	
		
			
				|  |  |  //表单数据
 | 
	
		
			
				|  |  |  export const formSchema: FormSchema[] = [
 |