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: 'money'
   },
   {
    title: '送的金额',
    align:"center",
    dataIndex: 'sendMoney'
   },
   {
    title: '备注',
    align:"center",
    dataIndex: 'remarks'
   },
   {
    title: '折扣',
    align:"center",
    dataIndex: 'discount'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '套餐金额',
    field: 'money',
    component: 'InputNumber',
  },
  {
    label: '送的金额',
    field: 'sendMoney',
    component: 'InputNumber',
  },
  {
    label: '备注',
    field: 'remarks',
    component: 'Input',
  },
  {
    label: '折扣',
    field: 'discount',
    component: 'InputNumber',
  },
];
