grid.on("rowclick",function(grid,rowIndex,e){ dwr.engine.beginBatch(); var record = grid.getStore().getAt(rowIndex); _sessionParam['saleChargeId']= record.get('saleChargeId'); _sessionParam['billNo']= record.get('billNo'); _sessionParam['bussinessYear']= Session_businessYear; _sessionParam['orgCdi']= Session_orgCode; awSaleChargeAdd.detailGrid1.onSearch({params:[_sessionParam]}); dwr.engine.endBatch(); }); //后台 public List getAwSaleOutById(Map mapd){ String awSaleChargeId =mapd.get("saleChargeId").toString(); String billNo=mapd.get("billNo").toString(); String orgCd=mapd.get("orgCdi").toString(); //dwr.xml配置 awSaleChargeManager.getAwSaleOutById(Map<String,String>);