<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: zhangxing5129 $Date: 2014-8-1 下午02:44:52 $Revision: 1.0 $Purpose: 科目明细查询(按凭证创建日期) --> <a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" trace="true"> <a:view> <a:link id="con_contract_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/> <script type="text/javascript"><![CDATA[ Leaf.onReady(function(){ //Leaf.center('loginForm'); //window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'](); }); window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function(ds, qpara, bp_seq) { var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'gld_accounts'); if (ds == $(ds_id)) { qpara.account_id = '${/parameter/@account_id}'; qpara.period_from = '${/parameter/@period_from}'; qpara.period_to = '${/parameter/@period_to}'; qpara.account_type = '${/parameter/@account_type}'; //$(ds_id).setQueryParameter('contract_id', '${/parameter/@contract_id}'); } }; window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() { $('ACCOUNT_CREATION_QUERY_RESULT_gld_accounts_layout_grid_id')._export('xls','科目明细查询报表(按凭证创建日期)'); }; ]]></script> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> </a:view> </a:screen>