改成比如
location="pdResult.htm?pdResult=" + "right" + "&zcmc=" + encodeURI(document.getElementById('zcmc').value);