<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: Guoxuezhao $Date: 2013-5-27 下午3:43:19 $Revision: 1.0 $Purpose: 授信额度维护 --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:init-procedure> <a:model-query fetchAll="true" model="basic.hls_business_type_for_lov" rootPath="detail_business_type_path"/> </a:init-procedure> <a:view> <script type="text/javascript"><![CDATA[ function tre501_detail_query(){ $('credit_amt_detail_ds').query(); } function tre501_detail_return(){ $('tre_credit_amt_detail_winid').close(); } ]]></script> <a:dataSets> <a:dataSet id="detail_business_type_ds"> <a:datas dataSource="/model/detail_business_type_path"/> </a:dataSet> <a:dataSet id="other_loan_amount_type_ds" lookupCode="TRE502_OTHER_LOAN_AMOUNT_TYPE"/> <a:dataSet id="credit_amt_detail_query_ds" autoCreate="true"> <a:fields> <!-- <a:field name="bank_credit_contract_id" defaultValue="${/parameter/@credit_contract_id}"/> --> <a:field name="bank_credit_contract_number" defaultValue="${/parameter/@credit_contract_number}" readOnly="true"/> </a:fields> </a:dataSet> <a:dataSet id="credit_amt_detail_ds" autoQuery="true" model="tre.tre503.tre_loan_contract_overview" queryDataSet="credit_amt_detail_query_ds" queryUrl="${/request/@context_path}/autocrud/tre.tre503.tre_loan_contract_overview/query?loan_con_bp=${/parameter/@bp_id}&bank_credit_contract_id=${/parameter/@credit_contract_id}&loan_contract_status=COMPLETED"> <a:fields> <a:field name="loan_amount_type_desc" displayField="code_value_name" options="other_loan_amount_type_ds" required="true" returnField="loan_amount_type" valueField="code_value"/> <a:field name="business_type_desc" displayField="description" options="detail_business_type_ds" returnField="business_type" valueField="business_type"/> </a:fields> </a:dataSet> </a:dataSets> <a:screenBody> <a:screenTopToolbar> <a:gridButton click="tre501_detail_return" text="HLS.RETURN"/> <a:gridButton click="tre501_detail_query" text="HLS.QUERY"/> </a:screenTopToolbar> <a:form column="4" title="HLS.QUERY_TITLE"> <a:textField name="bank_credit_contract_number" bindTarget="credit_amt_detail_query_ds" prompt="TRE501.TRE_BANK_CREDIT_CONTRACT.CREDIT_CONTRACT_NUMBER"/> <a:textField name="loan_contract_number" bindTarget="credit_amt_detail_query_ds" prompt="TRE_LOAN_CONTRACT.LOAN_CONTRACT_NUMBER"/> <a:datePicker name="loan_date_from" bindTarget="credit_amt_detail_query_ds" prompt="TRE_LOAN_CONTRACT.LOAN_DATE_FROM"/> <a:datePicker name="loan_date_to" bindTarget="credit_amt_detail_query_ds" prompt="TRE_LOAN_CONTRACT.LOAN_DATE_TO"/> </a:form> <a:grid bindTarget="credit_amt_detail_ds" marginHeight="170" marginWidth="30" navBar="true"> <a:columns> <a:column name="loan_contract_number" prompt="TRE_LOAN_CONTRACT.LOAN_CONTRACT_NUMBER" width="150"/> <a:column name="loan_contract_name" prompt="融资合同名称" width="220"/> <a:column name="bank_credit_contract_number" prompt="授信合同号"/> <a:column name="bank_branch_name" prompt="HLS.BANK_NAME" width="200"/> <a:column name="loan_con_type_detail_n" align="center" prompt="融资方式" width="110"/> <a:column name="loan_amount" align="right" prompt="TRE_LOAN_CONTRACT.LOAN_AMOUNT" renderer="Leaf.formatMoney" width="110"/> <a:column name="withdraw_amount" align="right" prompt="TRE502.WITHDRAWAL_AMOUNT" renderer="Leaf.formatMoney"/> <!-- <a:column name="interest_payable" align="right" prompt="TRE502.INTEREST_PAYABLE" renderer="Leaf.formatMoney"/> --> <a:column name="repayment_principal" align="right" prompt="TRE502.REPAYMENT_PRINCIPAL" renderer="Leaf.formatMoney"/> <a:column name="repayment_interest" align="right" prompt="TRE502.REPAYMENT_INTEREST" renderer="Leaf.formatMoney"/> <a:column name="remaining_amount" align="right" prompt="TRE502.REMAINING_AMOUNT" renderer="Leaf.formatMoney"/> <!-- <a:column name="loan_amount_type_desc" align="right" prompt="TRE_LOAN_CONTRACT.AMOUNT_TYPE"/> --> <a:column name="loan_contract_status_display" align="center" prompt="HLS.STATUS"/> <a:column name="loan_date_from" align="center" prompt="TRE_LOAN_CONTRACT.LOAN_DATE_FROM" renderer="Leaf.formatDate"/> <a:column name="loan_date_to" align="center" prompt="TRE_LOAN_CONTRACT.LOAN_DATE_TO" renderer="Leaf.formatDate"/> </a:columns> </a:grid> </a:screenBody> </a:view> </a:screen>