<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: Eugene Song $ $Date: 2018年11月2日10:19:17 $ $Revision: 1.1 $ $Purpose: 网银代扣管理 --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:view> <a:link id="import_upload_link" url="${/request/@context_path}/modules/ccb/CCB600/ccb_ebank_import_upload.lview"/> <script type="text/javascript"><![CDATA[ function upload_batch_detail() { new Leaf.Window({ id: 'upload_window_winid', url: $('import_upload_link').getUrl(), params: { hd_id:'${/parameter/@hd_id}', winid: 'upload_window_winid' }, title: '导入', width: 420, height: 300 }); } function return_batch_detail() { $('${/parameter/@winid}').close(); } function query_batch_detail() { $('hls_ccb_grid_detail_ds').query(); } ]]></script> <a:dataSets> <a:dataSet id="ebank_status_combobox_ds1" lookupCode="CCB600_EBANK_DETAIL_STATUS"/> <a:dataSet id="hls_ccb_batch_query_ds1"> <a:fields> <a:field name="status_desc" displayField="code_value_name" options="ebank_status_combobox_ds1" returnField="status" valueField="code_value"/> </a:fields> </a:dataSet> <a:dataSet id="hls_ccb_grid_detail_ds" autoQuery="true" queryDataSet="hls_ccb_batch_query_ds1" fetchAll="true" model="ccb.CCB600.hls_ebank_batch_group" pageSize="15" queryUrl="${/request/@context_path}/autocrud/ccb.CCB600.hls_ebank_batch_group/query?batch_id=${/parameter/@batch_id}" selectable="true"> </a:dataSet> </a:dataSets> <a:screenBody> <a:screenTopToolbar height="29"> <a:gridButton click="query_batch_detail" text="查询"/> <!-- <a:gridButton click="upload_batch_detail" text="导入"/>--> <a:gridButton click="return_batch_detail" text="返回"/> </a:screenTopToolbar> <a:form column="3"> <!-- <a:textField name="contract_number" bindTarget="hls_ccb_batch_query_ds1" prompt="合同编号"/>--> <a:textField name="bp_name" bindTarget="hls_ccb_batch_query_ds1" prompt="客户名称"/> </a:form> <a:grid id="hls_ccb_batch_detail_grid" bindTarget="hls_ccb_grid_detail_ds" height="500" width="850" navBar="true"> <a:toolBar> <a:button type="excel" text="导出"/> </a:toolBar> <a:columns> <!-- <a:column name="contract_number" align="left" prompt="合同编号" width="100"/>--> <a:column name="bp_name" align="left" prompt="客户名称" width="180"/> <a:column name="bank_account_num" align="left" prompt="扣款账号" width="180"/> <a:column name="apply_amount" align="right" prompt="应收金额" renderer="Leaf.formatMoney" width="150"/> <a:column name="actual_amount" align="right" prompt="扣款金额" renderer="Leaf.formatMoney" width="150"/> </a:columns> <a:editors> <a:numberField id="nf_grid"/> </a:editors> </a:grid> </a:screenBody> </a:view> </a:screen>