prj_project_base_info.lview 7.03 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: chenlingfeng  
    $Date: 2014-12-17 下午1:24:02  
    $Revision: 1.0  
    $Purpose: 
-->
<a:screen xmlns:c="leaf.application.action" xmlns:p="uncertain.proc" xmlns:a="http://www.leaf-framework.org/application">
    <a:init-procedure>
        <a:model-query fetchAll="true" model="prj.PRJ600.prj_project_info" rootPath="prj_basic_info"/>
    </a:init-procedure>
    <a:view>
        <a:link id="${/parameter/@project_id}prj_project_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/>
        <a:link id="${/parameter/@project_id}prj_project_modify_link" url="${/request/@context_path}/modules/prj/PRJ501N/prj_project_create_tree_n.lview"/>
        <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
        <script type="text/javascript"><![CDATA[
           function detail_go_to_project_info() {
                var maintain_type = 'READONLY';
                var record = $('${/parameter/@project_id}prj600_project_basic_info_ds').getAt(0);
                var param = record.data;
                param['document_id'] = '${/parameter/@project_id}';
                param['layout_code'] = '${/parameter/@layout_code}';
                param['calc_type'] = '${/parameter/@calc_type}';
                param['function_code'] = 'PRJ505';
                param['function_usage'] = 'QUERY';
                param['cond_para2'] = record.get('hn_industry_classification');
                param['maintain_type'] = maintain_type;
                param['url_title'] = '${l:HLS.PROJECT_MAITAIN}';
                param['prj_report_read_flag'] = 'Y';
                hls_doc_get_layout_code('${/parameter/@project_id}prj_project_get_layout_code_link_id', param, '${/parameter/@project_id}prj_project_modify_link');
            }
     ]]></script>
        <style><![CDATA[
        	.prompt{
        	    background-color:#E6E6FA;
        	    width:200px;
        	    text-align:right;
        	}
        	.valuefield{
        	    width:200px;
        	    text-align:right;
        	}
        	.prompt_calc{
        	    width:187.5px;
        	    text-align:right;
        	    background-color:#E6E6FA;
        	}
        	.valuefield_calc{
        	    width:157.5px;
        	    text-align:right;
        	}
        	.moneyfield{
        	    width:200px;
        	    text-align:right;
        	}
        	.trheight{
        	    height:25px;
        	}
        ]]></style>
        <a:dataSets>
            <a:dataSet id="${/parameter/@project_id}prj600_project_basic_info_ds" autoQuery="true" model="prj.PRJ600.prj_project_info" queryUrl="${/request/@context_path}/autocrud/prj.PRJ600.prj_project_info/query?project_id=${/parameter/@project_id}">
                <a:fields>
                    <a:field name="prj_project_detail_info"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:form marginWidth="180" prompt="基本信息" title=" ">
                <table border="1" bordercolor="#a0c6e5" style="border-collapse:collapse;">
                    <tr class="trheight">
                        <td class="prompt"><![CDATA[立项编号:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@chance_number}]]></td>
                        <td class="prompt"><![CDATA[项目编号:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@project_number}]]></td>
                        <td class="prompt"><![CDATA[项目名称:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@project_name}]]></td>
                    </tr>
                    <tr class="trheight">
                        <td class="prompt"><![CDATA[产品线:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@division_n}]]></td>
                        <td class="prompt"><![CDATA[业务类型:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@business_type_n}]]></td>
                        <td class="prompt"><![CDATA[租赁形式:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@lease_form_n}]]></td>
                    </tr>
                    <tr class="trheight">
                        <td class="prompt"><![CDATA[项目来源:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@chance_source_n}]]></td>
                        <td class="prompt"><![CDATA[租赁物件:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@lease_item_short_name}]]></td>
                        <td class="prompt"><![CDATA[租前期项目:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@pre_rental_business_n}]]></td>
                    </tr>
                    <tr class="trheight">
                        <td class="prompt"><![CDATA[所属部门:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@lease_organization_n}]]></td>
                        <td class="prompt"><![CDATA[项目经理:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@employee_id_n}]]></td>
                        <td class="prompt"><![CDATA[更多:]]></td>
                        <td class="valuefield">
                            <a href="javascript:detail_go_to_project_info()">
                                <font color="red"><![CDATA[点击查看明细]]></font>
                            </a>
                        </td>
                    </tr>
                    <tr class="trheight">
                        <td class="prompt"><![CDATA[融资额:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@finance_amount}]]></td>
                        <td class="prompt"><![CDATA[融资期限(年):]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@lease_term}]]></td>
                        <td class="prompt"><![CDATA[利率浮动方式:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@int_rate_fixing_way}]]></td>
                    </tr>
                    <tr class="trheight">
                        <td class="prompt"><![CDATA[浮动幅度:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@int_rate_fixing_range}]]></td>
                        <td class="prompt"><![CDATA[租赁利率:]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@int_rate}]]></td>
                        <td class="prompt"><![CDATA[XIRR(我司):]]></td>
                        <td class="valuefield"><![CDATA[${/model/prj_basic_info/record/@xirr}]]></td>
                    </tr>
                </table>
            </a:form>
        </a:screenBody>
    </a:view>
</a:screen>