import type { VbenFormProps } from '#/adapter/form';

/** 我的开票搜索 */
export const formOptions: VbenFormProps = {
  collapsed: false,
  schema: [
    {
      component: 'VbenInput',
      componentProps: { placeholder: '订单号' },
      fieldName: 'order_no',
      label: '订单号',
    },
    {
      component: 'Select',
      componentProps: {
        allowClear: true,
        options: [
          { label: '待受理', value: 0 },
          { label: '待开票', value: 1 },
          { label: '已开票', value: 2 },
        ],
        placeholder: '本方状态',
      },
      fieldName: 'status',
      label: '状态',
    },
  ],
  showCollapseButton: false,
  submitButtonOptions: { content: '查询' },
};
