csh_payment_doc_print.lview 2.93 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.leaf-framework.org/application" cache="false" default-dispatch="${/model/url/@URL}" dispatch-style="redirect" trace="true">
    <a:init-procedure>
        <a:model-query model="cont.CON509.con_csh_payment_print" rootPath="payment_req_path"/>
        <!--  <a:model-query model="csh.CSH502.csh_payment_req_ln_upd_query" rootPath="payment_req_ln_path"/>
        <a:model-query model="csh.CSH502.csh_payment_req_approved" rootPath="approved_info_path"/>
        <a:model-execute model="csh.CSH502.update_csh_payment_req_hd_print"/> -->
    </a:init-procedure>
    <a:view>
        <style media="print"><![CDATA[
	        .PageNext
	        {
	            page-break-after: always;
	        }
		]]></style>
        <style type="text/css"><![CDATA[
			table
			{
			border-collapse:collapse;
			border:none;
			};
			td{
			    height:50px;
			}
    	]]></style>
        <ajax-init/>
        <a:freeMarker><![CDATA[
        <#if  model.getObject('/model/payment_req_path').getChilds()??>
		<#list  model.getObject("/model/payment_req_path").getChilds() as payment_req_rec>
		 <#if payment_req_rec_index+1!=1> 
		 <div class="PageNext">
            </div>
         </#if>
		 <P align="center">
            <B>
                <FONT face="楷体" size="7" style="border-bottom:4px double black;"></FONT>
                <br/>
            </B>
        </P>
       <table border="1" width="300"  style="margin-left:10px;margin-top:-63px;">
            <tr>
             <td width="5%">合同编号</td>
             <td width="3%">${payment_req_rec.getString('contract_number')!''}</td> 
             </tr>
             <tr>
             <td width="5%">档案编号</td>
             <td width="3%">${payment_req_rec.getString('docu_number')!''}</td> 
             </tr>
             <tr>
             <td width="5%">承租人</td>
             <td width="3%">${payment_req_rec.getString('bp_id_tenant_name')!''}</td> 
             </tr>
             <tr>
             <td width="5%">入库日期</td>
             <td width="3%">${payment_req_rec.getString('storage_date')!''}</td> 
             </tr>
             <tr>
             <td width="5%">年份</td>
             <td width="3%">${payment_req_rec.getString('lease_term')!''}</td> 
             </tr>
              <tr>
             <td width="5%">经销商</td>
             <td width="3%">${payment_req_rec.getString('invoice_agent_id_n')!''}</td> 
             </tr>
             <tr>
             <td width="5%">归档人员</td>
             <td width="3%">${payment_req_rec.getString('user_name')!''}</td> 
             </tr>
              <tr>
             <td width="5%">省市</td>
             <td width="3%">${payment_req_rec.getString('city_sp')!''}</td> 
             </tr>
      </table>
		</#list>
		</#if>

		 ]]></a:freeMarker>
        <script type="text/javascript"><![CDATA[
            window.onload = window.print();
        ]]></script>
    </a:view>
</a:screen>