A pair (𝜇, Λ) formed by a Borel probability measure 𝜇 and a countable set Λ ⊂ ℝ is called a spectral pair if there exists an exponential orthonormal basis {e2πiλx}λ∈Λ in the Hilbert space L2(𝜇). Let t ∈ ℤ with t ≥ 2, and let D = 𝜀p ⊕ (pq)𝑙-1p𝜀q be a product-form digit set where 𝑙 ≥ 1 and p, q are primes. Here 𝜀p = {0, 1, . . . , p - 1}. In this paper, we consider the complete number problem for the spectral pair (𝜇t,D, Λt,t1C), where $C{\subset}[0,\,{\frac{t-2}{t_1}}]\,{\cap}\,{\mathbb{Z}}$, 𝜇t,D is a self-similar measure and $${\wedge}_{t,t_1C}=\{{\sum_{j=1}^{n}t^{j-1}c_j\,:\,c_j\,{\in}\,t_1C,\,n{\geq}1\,\}$$. Specifically, for distinct primes q1, q2, . . . , qr and arbitrary nonnegative integers N1, N2, . . . , Nr, by using the properties of finite groups and congruences in number theory, we present some sufficient conditions such that (𝜇t,D, ∏ri=1 qiNi Λt,t1C) is also a spectral pair. Then, we provide examples to verify the obtained results.