<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: LR $Date: 2013-7-18 上午09:34:43 $Revision: 1.0 $Purpose: --> <a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true"> <a:init-procedure><![CDATA[ ]]></a:init-procedure> <a:view> <script type="text/javascript"><![CDATA[ function billQueryDs_query() { $('billQueryDs').query(); } function para_billQueryDs_reset() { $('para_billQueryDs').reset(); } function billQueryDs_export() { $('billQueryDs_grid')._export(null,'待开票清单'); } ]]></script> <a:dataSets> <a:dataSet id="invoiceKindDs" lookupCode="ACR510_INVOICE_KIND"/> <a:dataSet id="para_billQueryDs" autoCreate="true" model="acr.ACR311.acr_invoice_bill_v"> <a:fields> <a:field name="invoice_kind_desc" displayField="code_value_name" options="invoiceKindDs" returnField="invoice_kind" valueField="code_value"/> <a:field name="cf_type_desc" lovGridHeight="340" lovHeight="500" lovService="hls.HLS005.hls_cashflow_type_v_lov" lovWidth="500" title="现金流类型"> <a:mapping> <a:map from="description" to="cf_type_desc"/> <a:map from="cf_type" to="cf_type"/> </a:mapping> </a:field> </a:fields> </a:dataSet> <a:dataSet id="billQueryDs" autoPageSize="true" model="acr.ACR311.acr_invoice_bill_v" queryDataSet="para_billQueryDs" selectable="true"/> </a:dataSets> <a:screenBody> <a:screenTopToolbar> <a:screenTitle/> <a:gridButton click="billQueryDs_query" text="HLS.QUERY"/> <a:gridButton click="para_billQueryDs_reset" text="HLS.RESET"/> <a:gridButton click="billQueryDs_export" text="HLS.EXPORT"/> </a:screenTopToolbar> <a:form column="4" marginWidth="30"> <a:textField name="contract_number" bindTarget="para_billQueryDs" prompt="合同编号"/> <a:datePicker name="due_date_from" bindTarget="para_billQueryDs" prompt="应收日期从"/> <a:datePicker name="due_date_to" bindTarget="para_billQueryDs" prompt="应收日期到"/> <a:textField name="project_number" bindTarget="para_billQueryDs" prompt="项目编号"/> <a:textField name="bp_name" bindTarget="para_billQueryDs" prompt="承租人"/> <a:lov name="cf_type_desc" bindTarget="para_billQueryDs" prompt="现金流类型"/> <a:comboBox name="invoice_kind_desc" bindTarget="para_billQueryDs" prompt="发票类型"/> </a:form> <a:grid id="billQueryDs_grid" bindTarget="billQueryDs" marginHeight="200" marginWidth="30" navBar="true"> <a:columns> <a:column name="contract_number" prompt="合同编号" width="120"/> <a:column name="contract_name" lock="true" prompt="合同名称" width="150"/> <a:column name="bp_name" width="150"/> <a:column name="times" width="50"/> <a:column name="cf_item_desc"/> <a:column name="due_date" renderer="Leaf.formatDate" width="80"/> <a:column name="full_write_off_date" renderer="Leaf.formatDate" width="80"/> <a:column name="invoice_kind_desc"/> <a:column name="due_amount" align="right" renderer="Leaf.formatMoney" width="110"/> <a:column name="billing_amount" align="right" renderer="Leaf.formatMoney" width="110"/> <a:column name="not_billing_amount" align="right" renderer="Leaf.formatMoney" width="110"/> <a:column name="taxpayer_type_desc"/> <a:column name="project_number" width="120"/> </a:columns> </a:grid> </a:screenBody> </a:view> </a:screen>