Forget about collapse. It's not clearly defined what it is and it is not part of the mathematical formalism of quantum mechanics.
All you need to know is that an electron in the non-relativistic approximation can be described by a wave function ##\psi(t,\vec{x})## which obeys the Schrödinger equation,
$$\mathrm{i} \hbar \partial_t \psi(t,\vec{x})=\hat{H} \psi(t,\vec{x})$$
and that
$$P(t,\vec{x})=|\psi(t,\vec{x})|^2$$
is the probability distribution for the position of the electron when looking for it at time ##t##.
The slit is included in the Hamilton operator which describes the interaction between the electron and the material making up the slit, and that's how the slit indeed has an influence on the electron and on the behavior of its wave function.
In practice it's of course impossible to really write down the Hamiltinian in this case in all microscopic detail, but it's not necessary, because as an effective description you can say that the material is just absorbing any electron hitting it and only electrons get behind it if they go through one of the slits.
Then the math is very similar to the same calculation you do for this diffraction problem for electromagnetic waves. That's no surprise, because at the end you have to solve the same Helmholtz equation as in the electromagnetic case, and what comes out after some vector calculus is Huygens's principle, i.e., you get the wave behind the slits by superposition of spherical waves origining from each point in the openings, where the wave can be assumed to be an undisturbed free wave entering the slits. If the source of the electrons is very far from the screen you can assume a plane wave there and if you also observe the electrons behind the slits very far from the slits what finally results is that the interference pattern behind the screen is described as the Fourier transform of the slit openings (Fraunhofer refraction).
The only important difference between the picture for classical electromagnetic waves (light) and that for electrons (particles) is the meaning of the wave function: In the quantum case it's just the said position-probability distribution. You cannot think of the electron as a classical point particle, described by a specified position and momentum (or velocity) at any time nor as described as a classical field described by the Schrödinger wave function. All you know about the electron are the probabilities to find it at the detection screen given the setup with the double slits, and these probabilities you can compare with the experiment by letting go very many electrons through the slit, because indeed, each electron will just be registered as a point on the screen, not a smeared distribution described by the wave function, when (wrongly) interpreting it as a classical field. Only with very many electrons you'll get the predicted smooth probability distribution.
For any single electron you cannot predict where it will hit the screen, not even in principle, and it has nothing to do with some missing knowledge. It's just that electrons are quantum objects which cannot be described as a classical particle nor as a classical wave, and you have to accept the probabilistic nature of quantum objects as a fundamental fact that has been figured out 100 years ago by the founding fathers of quantum theory, in fact in three different formulations: matrix mechanics (Born, Jordan, Heisenberg 1925), wave mechanics (Schrödinger 1926), and "transformation theory" or operator formalism (Dirac 1926), but all these three formulations are nothing else than one and the same theory, quantum mechanics.