Each batch in Payroll Data Entry can only be assigned one pay cycle in v2018. Therefore, turn on batch processing in Payroll Options to allow for multiple batches and set up one batch for weekly and one for bi-weekly. But, you would need to process each batch separately, since each batch would have a different pay cycle, and therefore the tax calculation would be different.