I can answer in general terms only. When I have a new enzyme, I look in papers or other sources for what buffer it is stored in and what buffer it is assayed in. Glucose 6-phosphate DH is often part of coupled enzyme assays, so there is probably an overwhelming amount of literature available. Those points noted, I don't see a problem with Tris. However, if the volume of enzyme solution is small, and the volume of assay buffer is large, then the assay buffer will be the major source of phosphate. It seems to me that if the degree of inhibition from phosphate is not too great, then you might be better off tolerating it. If phosphate inhibition is a severe problem, then you might have to change the assay buffer to Tris, HEPES, MOPS, BIS TRIS, or something else.