import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
//列表数据
export const columns: BasicColumn[] = [
    {
    title: '等级名称',
    align:"center",
    dataIndex: 'title'
   },
   {
    title: '佣金',
    align:"center",
    dataIndex: 'amount'
   },
   {
    title: '等级编号',
    align:"center",
    dataIndex: 'levelNo'
   },
   {
    title: '达成订单数',
    align:"center",
    dataIndex: 'orderNum'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '等级名称',
    field: 'title',
    component: 'Input',
  },
  {
    label: '佣金',
    field: 'amount',
    component: 'InputNumber',
  },
  {
    label: '等级编号',
    field: 'levelNo',
    component: 'InputNumber',
  },
  {
    label: '达成订单数',
    field: 'orderNum',
    component: 'InputNumber',
  },
];
