<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: 38823 $Date: 2023-01-23 $Revision: 1.0 $purpose: 资产管理费报表 --> <a:screen xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" customizationEnabled="true" dynamiccreateenabled="true" trace="true"> <a:init-procedure> </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="${/parameter/@layout_code}asset_fee_detail_link" url="${/request/@context_path}/modules/cont/CON1370/con_asset_fee_detail.lview"/> <script type="text/javascript"><![CDATA[ function open_asset_fee_detail(record_id, ds_id) { debugger; var record = $(ds_id).findById(record_id); var param = {}; param['function_code'] = 'CON1370N'; param['function_usage'] = 'QUERY'; param['contract_id'] = record.get('contract_id'); param['maintain_type'] = 'QUERY'; param['url_title'] = '明细'; hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}asset_fee_detail_link',ds_id); } function open_asset_detail(record_id, ds_id) { debugger; var record = $(ds_id).findById(record_id); var param = {}; param['function_code'] = 'CON1370N'; param['function_usage'] = 'QUERY'; param['contract_id'] = record.get('contract_id'); param['winid'] = 'open_asset_check_id'; param['maintain_type'] = 'QUERY'; param['url_title'] = '明细'; hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}asset_fee_detail_link',ds_id); } //超链接渲染 window['${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record) { var link_function = ''; window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record; if(name == 'have_payment'){ link_function = 'open_asset_fee_detail'; return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + record.ds.id + '\')">' + value + '</a>'; } if(name == 'asset_file'){ link_function = 'open_asset_detail'; return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + record.ds.id + '\')">' + '附件' + '</a>'; } }; ]]></script> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> </a:view> </a:screen>