Had the PLAAF ordered the jet, it would have turned out very differently because the PLAAF have very different priorities and operating environments in mind compared to the PAF.
The JF17 is a little hard to sell internationally because it has been tailor made for Pakistan.
That was probably the trade-off, where Pakistan dropped the original demand that the PLAAF buy a similar number of the jet, in exchange for them getting complete say on how the programme is run and what areas to priorities, while the Chinese still paid half the development costs.
Without that flexibility and practicality, the JF17 might well have ended up like a mini-F35, with conflicting demands from different services resulting in a compromised and unsatisfactory design for all parties involved.
The PAF love the JF17 because it was designed to perfectly meet their needs.
I believe that is a first for Pakistan, whereby instead of buying off-the-shelf fighter models and adapting them to Pakistan's needs, the JF17 was designed from the start for Pakistan's needs.
It is a privilege enjoyed only by the US, Russia, China, France and Sweden. Not even the UK or Germany have that luxury any more on account of needing to pool their resources to afford the Eurofighter, and thus having to accept some compromises to accommodate the other partners.
Going forwards, CAC might be a little too successful to be able to repeat that collaboration with the J10, J20, rumoured single engined 5th gen and various UAV programmes.
OTOH, SAC has fallen out of favour big time with the PLAAF, so it may be more practical for China to rent out the services of SAC to Pakistan.
However, there is understandable reluctance on the part of both the PAF and CAC to end such a successful and longstanding relationship, not to mention the fact that no-one likes to get stuck with the second string team after having played with the first team.
However, with CAC stretched and SAC desperately looking for a buyer for their J31, a repetition of the JF17 deal, but with a 5th gen airframe, may be too tempting an offer to pass up for Pakistan. And the Chinese government will also be keen to keep SAC in the fighter game to maintain competition and ensure CAC doesn't turn into a LockMart and become too big to fail and loose its way.