context.ts 595 B

123456789101112131415161718
  1. import {createPageContext, createSearchContext, createTableSearchContext} from '@hooks';
  2. import {GetFinishProductOutListStreamParams, OriginalListParams} from '@models';
  3. export const pageContext = createPageContext();
  4. export const searchContext = createSearchContext();
  5. export const contextState: OriginalListParams<GetFinishProductOutListStreamParams> = {
  6. wllbCode: '',
  7. startTime: '',
  8. endTime: '',
  9. storageCode: '',
  10. companyCode: '',
  11. customerCode: '',
  12. userName: '',
  13. wbs: '',
  14. deliveryId: '',
  15. materialName: '',
  16. };
  17. export const context = createTableSearchContext(contextState);