map.put(ApplicationConsts.FUNCTION_CODE_SYS06,frame.getFormPanel().getFunctionId());
map.put(ApplicationConsts.EXPORT_PARAMS,params);
res = ClientUtils.getData("getJasperReport",map);
if (!res.isError()) {
JasperPrint print = (JasperPrint)((VOResponse)res).getVo();
JRViewer viewer = new JRViewer(print);
JFrame frame = new JFrame();
frame.setSize(MDIFrame.getInstance().getSize());
frame.setContentPane(viewer);
frame.setTitle(ClientSettings.getInstance().getResources().getResource("billofmaterial"));
frame.setIconImage(MDIFrame.getInstance().getIconImage());