<?xml version="1.0" encoding="UTF-8"?> <!-- &author:zhangyu $date:2016/05/09 $purpose:资金预约工作流页面 --> <a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true"> <a:init-procedure> <a:model-query model="tre.tre510.tre_funds_reservation_wfl" rootPath="tre_funds_path"/> </a:init-procedure> <a:view> <a:link id="tre510_detail_attach_download_link" url="${/request/@context_path}/downloadFile.lview"/> <script type="text/javascript"><![CDATA[ function winOpen_downloadDetailInfo() { var ds=$('tre_funds_reservation_wfl_ds'); var reservation_id=ds.getAt(0).get('reservation_id'); var url = $('tre510_detail_attach_download_link').getUrl() + '?table_name=TRE_FUNDS_RESERVATION&header_id=' + reservation_id; new Leaf.Window({ url: url, title: '附件查看', width: 850, height: 400 }); } ]]></script> <a:dataSets> <a:dataSet id="tre_funds_reservation_wfl_ds" autoCreate="true"> <a:datas dataSource="/model/tre_funds_path"/> </a:dataSet> </a:dataSets> <a:screenBody> <a:form marginWidth="100" title="基本信息"> <a:hBox labelWidth="120"> <a:textField name="unit_name" bindTarget="tre_funds_reservation_wfl_ds" prompt="申请部门" readOnly="true"/> <a:textField name="creation_date" bindTarget="tre_funds_reservation_wfl_ds" prompt="申请日期" readOnly="true"/> <a:textField name="document_number" bindTarget="tre_funds_reservation_wfl_ds" prompt="单据编号" readOnly="true"/> <a:numberField name="finance_amount" bindTarget="tre_funds_reservation_wfl_ds" prompt="合同金额" readOnly="true" renderer="Leaf.formatMoney"/> </a:hBox> <a:hBox labelWidth="120"> <a:textField name="document_name" bindTarget="tre_funds_reservation_wfl_ds" prompt="单据名称" readOnly="true" width="427"/> <a:textField name="bp_name" bindTarget="tre_funds_reservation_wfl_ds" prompt="收款单位" readOnly="true" width="427"/> </a:hBox> <a:hBox labelWidth="120"> <a:textField name="paid_date" bindTarget="tre_funds_reservation_wfl_ds" prompt="用款日期" readOnly="true"/> <a:numberField name="reserve_amount" bindTarget="tre_funds_reservation_wfl_ds" prompt="用款金额" readOnly="true" renderer="Leaf.formatMoney"/> <a href="javascript:winOpen_downloadDetailInfo();" style="margin-left:120px;text-decoration:underline"><![CDATA[<font color="red">附件查看</font>]]></a> </a:hBox> <a:hBox labelWidth="120"> <a:textArea name="reserve_note" bindTarget="tre_funds_reservation_wfl_ds" prompt="用款事由" readOnly="true" width="985"/> </a:hBox> <a:hBox labelWidth="120"> <a:textArea name="description" bindTarget="tre_funds_reservation_wfl_ds" prompt="说明" readOnly="true" width="985"/> </a:hBox> </a:form> </a:screenBody> </a:view> </a:screen>