<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: qwm $Date: 2013-8-19 下午2:20:39 $Revision: 1.0 $Purpose: 提前结清工作流页面 --> <a:screen xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" trace="true"> <a:view package="leaf.ui.std" template="default"> <script type="text/javascript"><![CDATA[ ]]></script> <a:dataSets> <a:dataSet id="deposit_deduction_ds" lookupCode="YES_OR_NO"/> <a:dataSet id="early_terminationDs" model="cont.CON701.con_contract_et_hd"> <a:fields> <a:field name="deposit_deduction_flag"/> <a:field name="deposit_deduction_flag_desc" displayField="code_value_name" options="deposit_deduction_ds" returnField="deposit_deduction_flag" valueField="code_value"/> </a:fields> </a:dataSet> <a:dataSet id="cashflowPlanDs" autoPageSize="true" model="cont.CON701.contract_et_cashflow_ln"> <a:fields> <a:field name="due_date" datatype="date"/> </a:fields> </a:dataSet> </a:dataSets> <a:screenBody> <a:form title="结清信息"> <a:form column="4" labelWidth="110" marginWidth="30"> <a:textField name="contract_number" bindTarget="early_terminationDs" prompt="合同编号" readOnly="true"/> <a:textField name="bp_name" bindTarget="early_terminationDs" prompt="承租人名称" readOnly="true"/> <a:textField name="bp_agent" bindTarget="early_terminationDs" prompt="代理商名称" readOnly="true"/> <a:datePicker name="termination_date" bindTarget="early_terminationDs" prompt="中途偿还日期" readOnly="true"/> <a:numberField name="undue_principal" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="未到期本金" readOnly="true"/> <a:numberField name="ref_n01" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="逾期本金" readOnly="true"/> <a:numberField name="ref_n02" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="逾期分期手续费" readOnly="true"/> <a:comboBox name="deposit_deduction_flag_desc" bindTarget="early_terminationDs" prompt="保证金是否抵扣" readOnly="true"/> <a:numberField name="ref_n03" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="期间利息" readOnly="true"/> <a:numberField name="ref_n06" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="逾期利息" readOnly="true"/> <a:numberField name="ref_n07" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="未到期分期手续费" readOnly="true"/> <a:numberField name="ref_n08" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="预付金额" readOnly="true"/> <a:numberField name="et_fee" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="中途偿还手续费" readOnly="true"/> <a:numberField name="penalty" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="罚息" readOnly="true"/> <a:numberField name="residual_value" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="留购金" readOnly="true"/> <a:numberField name="et_total_amount" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="中途偿还结清总金额" readOnly="true"/> <a:numberField name="ref_n05" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="中途偿还手续费减免金额" readOnly="true"/> <a:numberField name="ref_n04" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="罚息减免金额" readOnly="true"/> <a:numberField name="deposit" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="客户保证金" readOnly="true"/> <a:numberField name="reduce_period_interest" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="期间利息减免金额" readOnly="true"/> <a:numberField name="reduce_residual_value" allowDecimals="true" allowFormat="true" bindTarget="early_terminationDs" decimalPrecision="2" prompt="留购金减免金额" readOnly="true"/> </a:form> </a:form> </a:screenBody> <script type="text/javascript"><![CDATA[ Leaf.onReady(init); function init() { var et_agreement_id = '${/parameter/@et_agreement_id}'; $('cashflowPlanDs').setQueryParameter('et_agreement_id', et_agreement_id); $('cashflowPlanDs').query(); $('early_terminationDs').setQueryParameter('et_agreement_id', et_agreement_id); $('early_terminationDs').query(); } ]]></script> </a:view> </a:screen>