This differs from the counrty you are in and the types of flying. For military filying, LASIK is not acceptable. But I guess commercial filying would be acceptable. If you are weak in night vision or even nightblindness, you are not qualitifed to any flying.
Lasik surgery is quite safe now.If you take good care of your eyes after the lasik surgery, I think it won't affect your flying career.However, you'd better check the actual requirements for the flying before you start to do lasik surgery because different country may have different rules.
Lasik surgery is acceptable in some Commercial and private airline company,but for military flying,it may be prohibited. You can have a look at this https://ecfr.gpoaccess.gov/cgi/t/text/text-idx c=ecfr&sid=37165cf9cfad5bf261aacb9fd804c5e9&rgn=div8&view=text&node=14:126.96.36.199.188.8.131.52&idno=14 Hope it can be useful for you.