<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: Hongquan.Dai 代宏全 $Date: 2018-1-25 下午8:28:05 $Revision: 1.0 $Purpose: --> <a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true"> <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="hls_calc_estimate_link" url="${/request/@context_path}/modules/prj/PRJ507/hls_calc_estimate.lview"/> <script type="text/javascript"><![CDATA[ window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() { var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project'); var record = $(ds_id).getCurrentRecord(); if ($(ds_id).validate()) { record.set('function_code', 'PRJ507D'); record.set('function_usage', 'CREATE'); record.set('default_value_dsid', ds_id); record.data['url_title'] = '产品试算'; var param = record.data; hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_calc_estimate_link'); } } ]]></script> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> </a:view> </a:screen>