<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: hp $Date: 2014-1-9 上午10:08:56 $Revision: 1.0 $Purpose: --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:init-procedure><![CDATA[ ]]></a:init-procedure> <a:view> <script type="text/javascript"><![CDATA[ ]]></script> <a:dataSets> <a:dataSet id="book3cDetailDs" autoQuery="true" fetchAll="true" model="gld.GLD320.gld_3c_book_vl" queryUrl="${/request/@context_path}/autocrud/gld.GLD320.gld_3c_book_vl/query?report_id=${/parameter/@report_id}&account_id=${/parameter/@account_id}"><![CDATA[ ]]></a:dataSet> </a:dataSets> <a:screenBody> <a:switch test="/parameter/@functional_currency_flag"> <a:case value="Y"> <a:grid bindTarget="book3cDetailDs" marginHeight="80" marginWidth="30" navBar="true"> <a:columns> <a:column name="journal_date" prompt="凭证日期" renderer="Leaf.formatDate" sortable="true" width="80"/> <a:column name="journal_num" prompt="凭证编号" width="110"/> <a:column name="description" autoAdjust="false" prompt="摘要" showTitle="true" width="500"/> <a:column name="currency_desc" prompt="币种" width="70"/> <a:column name="amount_fuc_dr" align="right" prompt="借方" renderer="Leaf.formatMoney" sortable="true" width="110"/> <a:column name="amount_fuc_cr" align="right" prompt="贷方" renderer="Leaf.formatMoney" sortable="true" width="110"/> <a:column name="fuc_dir" align="center" prompt="借/贷" sortable="true" width="40"/> <a:column name="fuc_balance" align="right" prompt="余额" renderer="Leaf.formatMoney" sortable="true" width="110"/> </a:columns> </a:grid> </a:case> <a:case value="*"> <a:grid bindTarget="book3cDetailDs" marginHeight="80" marginWidth="30" navBar="true"> <a:columns> <a:column name="journal_date" prompt="凭证日期" renderer="Leaf.formatDate" width="80"/> <a:column name="journal_num" prompt="凭证编号" width="110"/> <a:column name="description" autoAdjust="false" prompt="摘要" showTitle="true" width="250"/> <a:column name="currency_desc" prompt="币种" width="50"/> <a:column name="amount_dr" align="right" prompt="原币借方" renderer="Leaf.formatMoney" sortable="true" width="110"/> <a:column name="amount_cr" align="right" prompt="原币贷方" renderer="Leaf.formatMoney" sortable="true" width="110"/> <a:column name="dir" align="center" prompt="借/贷" width="35"/> <a:column name="balance" align="right" prompt="原币余额" renderer="Leaf.formatMoney" sortable="true" width="110"/> <a:column name="amount_fuc_dr" align="right" prompt="本币借方" renderer="Leaf.formatMoney" sortable="true" width="110"/> <a:column name="amount_fuc_cr" align="right" prompt="本币贷方" renderer="Leaf.formatMoney" sortable="true" width="110"/> <a:column name="fuc_dir" align="center" prompt="借/贷" width="35"/> <a:column name="fuc_balance" align="right" prompt="本币余额" renderer="Leaf.formatMoney" sortable="true" width="110"/> </a:columns> </a:grid> </a:case> </a:switch> </a:screenBody> <script type="text/javascript"><![CDATA[ ]]></script> </a:view> </a:screen>