<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: $Date: 2014-8-4 下午01:58:31 $Revision: 1.0 $Purpose: 商业伙伴查询 --> <a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" trace="true"> <a:init-procedure> <a:model-query model="acr.ACR516.acr_vat_import_batch_id" rootPath="batch_id"/> </a:init-procedure> <a:view> <a:link id="con_contract_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/> <a:link id="pageLink_bpQueryScreen_welcome" url="${/request/@context_path}/welcome.lview"/> <a:link id="pageLink_request_details" url="${/request/@context_path}/modules/ebank/EBANK100/ebk_ws_request_details.lview"/> <a:link id="pageLink_ws_details" url="${/request/@context_path}/modules/ebank/EBANK100/ebk_ws_details.lview"/> <script type="text/javascript"><![CDATA[ function open_bp_modify_win(ds_id, record_id) { var record = $(ds_id).findById(record_id); var param = record.data; /* param['function_code'] = 'EBANK101'; param['function_usage'] = 'QUERY'; param['url_title'] = '报文明细'; param['master_type']='EBANK'; param['master_id'] = param['request_id']; hls_doc_get_layout_code('con_contract_get_layout_code_link_id',param,'pageLink_request_details',ds_id); */ // hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_modify_link', ds_id); new Leaf.Window({ id:'ws_detail_window', url:$('pageLink_ws_details').getUrl()+'?request_id='+param['request_id'], title:'报文明细', width:850,height:460 }); } window['${/parameter/@layout_code}_dynamic_link_renderer'] = function(value, record, name, config_record) { if (name == 'req_rep_xml') { return '<a href="javascript:open_bp_modify_win(\'' + record.ds.id + '\',\'' + record.id + '\')">' + '报文明细' + '</a>'; } return ''; }; //前进按钮 /* window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() { history.go(1); }; //后退按钮 window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() { history.go(-1); }; */ //导入 window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() { new Leaf.Window({ id:'upload_window', url:$('ins_import_upload_link').getUrl()+'?batch_id=${/model/batch_id/record/@batch_id}', title:'导入保单号', width:420,height:280 }); }; //批单下载 window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() { }; window['${/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'], 'hls_ebank_xml_vlaues'); if(ds==$(ds_id)){ aut_authority_list_validate_query(ds, qpara); } }; ]]></script> <a:screen-include screen="modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=EBANK&function_code=EBANK100"/> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> </a:view> </a:screen>