import SearchBox, { searchColumns } from '~/components/search-box';
import { Table } from 'antd';
import { ColumnsType } from 'antd/es/table';

const PilotTrainingOrder = () => {
  const search: searchColumns[] = [
    { label: '买家账号', placeholder: '请输入买家账号', name: '', type: 'input' },
    { label: '订单编号', placeholder: '请输入买家账号', name: '', type: 'input' },
  ];
  const tableColumns: ColumnsType<any> = [
    {
      title: '序号',
      align: 'center',
    },
    {
      title: '机构名称',
      align: 'center',
    },
    {
      title: '商品名称',
      align: 'center',
    },
    {
      title: '商品图片',
      align: 'center',
    },
    {
      title: '订单金额',
      align: 'center',
    },
    {
      title: '买家信息',
      align: 'center',
    },
    {
      title: '订单状态',
      align: 'center',
    },
    {
      title: '订单编号',
      align: 'center',
    },
    {
      title: '备注',
      align: 'center',
    },
    {
      title: '操作',
      align: 'center',
    },
  ];
  return (
    <div className='pilot-train-order'>
      <SearchBox search={search} />
      <Table bordered columns={tableColumns} />
    </div>
  );
};
export default PilotTrainingOrder;
