import {
  createPageContext,
  createSearchContext,
  createTableSearchContext,
} from '@hooks';
import {OriginalListParams, GetRawOutListParams} from '@models';

export const pageContext = createPageContext();
export const searchContext = createSearchContext();

export const contextState: OriginalListParams<GetRawOutListParams> = {
  startTime: '',
  endTime: '',
  wllbCode: '',
  type: '',
  storageCode: '',
  userName: '',
  wbs: '',
  department: '',
  supplierId: '',
  storageLocationName: '',
  materialName: '',
  realName: '',
  askGoodsCode: '',
  accountSleeve: '',
};
export const context = createTableSearchContext(contextState);
