import type { VbenFormProps } from '@vben/common-ui';

export const formOptions: VbenFormProps = {
  layout: 'inline',
  showResetButton: true,
  showSubmitButton: true,
  schemas: [
    {
      fieldName: 'store_id',
      component: 'Input',
      label: '门店ID',
      componentProps: { placeholder: '门店ID', allowClear: true },
    },
    {
      fieldName: 'level_code',
      component: 'Input',
      label: '等级编码',
      componentProps: { placeholder: '如 V5', allowClear: true },
    },
    {
      fieldName: 'open_type',
      component: 'Select',
      label: '开通方式',
      componentProps: {
        allowClear: true,
        options: [
          { label: '管理员开通', value: 1 },
          { label: '门店自购', value: 2 },
        ],
      },
    },
  ],
};
