Commit ef1b9e84 authored by stone's avatar stone

【fix】修改付款申请书格式

parent 680398b4
......@@ -5,18 +5,18 @@
</settings>
<body>
<p align="center" line="400" >
<p align="center" line="200" >
<t bold="true" fontFamily="宋体" fontSize="40" fontColor="000000" >付款请求书</t>
</p>
<p line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >宏菱融资租赁(上海)有限公司:
<p line="200" >
<t fontFamily="宋体" fontSize="12" fontColor="000000" >宏菱融资租赁(上海)有限公司:
</t>
</p>
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >非常感谢贵司长期以来的支持与帮助!</t>
<p indFirstLine="1" line="200" >
<t fontFamily="宋体" fontSize="12" fontColor="000000" >非常感谢贵司长期以来的支持与帮助!</t>
</p>
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >我司在${model.getObject('/model/static_data/record/@purchase_date')!''}向贵司销售${model.getObject('/model/static_data/record/@total_number')!''}台机器,具体委托明细如下:</t>
<p indFirstLine="1" line="200" >
<t fontFamily="宋体" fontSize="12" fontColor="000000" >我司在${model.getObject('/model/static_data/record/@purchase_date')!''}向贵司销售${model.getObject('/model/static_data/record/@total_number')!''}台机器,具体委托明细如下:</t>
</p>
<!--插入表单数据-->
<tbl indLeft="1" border="true">
......@@ -39,104 +39,104 @@
-->
<border type="bottom" color="000000" style="single"/>
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">序号</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">序号</t>
</p>
</tc>
<tc width="5">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">买卖合同号</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">买卖合同号</t>
</p>
</tc>
<tc width="2">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">机型</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">机型</t>
</p>
</tc>
<tc width="2">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">机号</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">机号</t>
</p>
</tc>
<tc width="6">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">付款预定日期</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">付款预定日期</t>
</p>
</tc>
<tc width="4">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">合同金额</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">合同金额</t>
</p>
</tc>
<tc width="6">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">委托付款金额</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">委托付款金额</t>
</p>
</tc>
<tc width="6">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">应付我司金额</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">应付我司金额</t>
</p>
</tc>
<tc width="4">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">客户名称</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">客户名称</t>
</p>
</tc>
<tc width="8">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">我司应付hcs金额</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">我司应付${model.getObject('/model/bank_info/record/@vender_name')!''}金额</t>
</p>
</tc>
<tc width="5">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">付款日期</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">付款日期</t>
</p>
</tc>
</tr>
<!--循环获取数据-->
<#if model.getObject("/model/payment_details").getChilds()??>
<#list model.getObject('/model/payment_details').getChilds() as detail_item_l>
<tr height="0.7">
<tr height="0.3">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('rownum')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('rownum')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('contract_number')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('contract_number')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('pattern')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('pattern')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('machine_number')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('machine_number')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('apply_pay_date')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('apply_pay_date')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('lease_item_amount')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('lease_item_amount')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('amount_vender')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('amount_vender')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('amount_agent')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('amount_agent')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('bp_id_tenant_n')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('bp_id_tenant_n')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${detail_item_l.getString('other_payment2')!''}</t></p>
<p align="center"><t fontSize="12" fontFamily="宋体">${detail_item_l.getString('other_payment2')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体"></t></p>
<p align="center"><t fontSize="12" fontFamily="宋体"></t></p>
</tc>
</tr>
</#list>
......@@ -150,49 +150,49 @@
style: 边框style,默认single
-->
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000"></t>
<t fontFamily="宋体" fontSize="12" fontColor="000000"></t>
</p>
</tc>
<tc span="3">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000">合计</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">合计</t>
</p>
</tc>
<tc width="2">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000"></t>
<t fontFamily="宋体" fontSize="12" fontColor="000000"></t>
</p>
</tc>
<!--合同金额-->
<tc width="2">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000">${model.getObject('/model/static_data/record/@sum_amount')!''}</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">${model.getObject('/model/static_data/record/@sum_amount')!''}</t>
</p>
</tc>
<tc width="6">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000">${model.getObject('/model/static_data/record/@sum_amount_vender')!''}</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">${model.getObject('/model/static_data/record/@sum_amount_vender')!''}</t>
</p>
</tc>
<tc width="4">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000">${model.getObject('/model/static_data/record/@sum_amount_agent')!''}</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">${model.getObject('/model/static_data/record/@sum_amount_agent')!''}</t>
</p>
</tc>
<!--客户名称-->
<tc width="6">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000"></t>
<t fontFamily="宋体" fontSize="12" fontColor="000000"></t>
</p>
</tc>
<tc width="6">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000">${model.getObject('/model/static_data/record/@sum_other_payment')!''}</t>
<t fontFamily="宋体" fontSize="12" fontColor="000000">${model.getObject('/model/static_data/record/@sum_other_payment')!''}</t>
</p>
</tc>
<tc width="4">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000"></t>
<t fontFamily="宋体" fontSize="12" fontColor="000000"></t>
</p>
</tc>
......@@ -200,82 +200,92 @@
</tbl>
<p line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >备注:以上款项如核对无误,烦请贵司向我司付款${model.getObject('/model/static_data/record/@sum_amount_agent')!''}元,向${model.getObject('/model/bank_info/record/@vender_name')!''}付款${model.getObject('/model/static_data/record/@sum_amount_vender')!''}元。特此申请! </t>
<p line="200" >
<t fontFamily="宋体" fontSize="12" fontColor="000000" >备注:以上款项如核对无误,烦请贵司向我司付款${model.getObject('/model/static_data/record/@sum_amount_agent')!''}元,向${model.getObject('/model/bank_info/record/@vender_name')!''}付款${model.getObject('/model/static_data/record/@sum_amount_vender')!''}元。特此申请! </t>
</p>
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >本公司和${model.getObject('/model/bank_info/record/@vender_name')!''}的一切债权债务关系由本公司和${model.getObject('/model/bank_info/record/@vender_name')!''}自行解决和宏菱融资租赁(上海)有限公司无关。</t>
<p indFirstLine="1" line="200" >
<t fontFamily="宋体" fontSize="12" fontColor="000000" >本公司和${model.getObject('/model/bank_info/record/@vender_name')!''}的一切债权债务关系由本公司和${model.getObject('/model/bank_info/record/@vender_name')!''}自行解决和宏菱融资租赁(上海)有限公司无关。</t>
</p>
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >烦请贵司将款项汇至以下账号:</t>
<p indFirstLine="1" line="200" >
<t fontFamily="宋体" fontSize="12" fontColor="000000" >烦请贵司将款项汇至以下账号:</t>
</p>
<p line="50"/>
<tbl indLeft="1" border="false">
<tr height="0.7">
<tr height="0.3">
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">开户名:${model.getObject('/model/bank_info/record/@agent_account_name')!''}</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体">开户名:${model.getObject('/model/bank_info/record/@agent_account_name')!''}</t></p>
</tc>
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">开户名:${model.getObject('/model/bank_info/record/@vender_account_name')!''}</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体">开户名:${model.getObject('/model/bank_info/record/@vender_account_name')!''}</t></p>
</tc>
</tr>
<tr height="0.7">
<tr height="0.3">
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">开户行:${model.getObject('/model/bank_info/record/@agent_bank_name')!''}</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体">开户行:${model.getObject('/model/bank_info/record/@agent_bank_name')!''}</t></p>
</tc>
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">开户行:${model.getObject('/model/bank_info/record/@vender_bank_name')!''}</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体">开户行:${model.getObject('/model/bank_info/record/@vender_bank_name')!''}</t></p>
</tc>
</tr>
<tr height="0.7">
<tr height="0.3">
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">账号:${model.getObject('/model/bank_info/record/@agent_bank_num')!''}</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体">账号:${model.getObject('/model/bank_info/record/@agent_bank_num')!''}</t></p>
</tc>
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">账号:${model.getObject('/model/bank_info/record/@vender_bank_num')!''}</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体">账号:${model.getObject('/model/bank_info/record/@vender_bank_num')!''}</t></p>
</tc>
</tr>
<tr height="0.7">
<tr height="0.3">
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">委托收款人确认金额无误</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体"></t></p>
</tc>
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">委托公司名称:${model.getObject('/model/bank_info/record/@agent_name')!''}</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体"></t></p>
</tc>
</tr>
<tr height="0.3">
<tc width="10">
<p align="left"><t fontSize="12" fontFamily="宋体">委托收款人确认金额无误</t></p>
</tc>
<tc width="10">
<p align="left"><t fontSize="12" fontFamily="宋体">委托公司名称:${model.getObject('/model/bank_info/record/@agent_name')!''}</t></p>
</tc>
</tr>
<tr height="0.7">
<tr height="0.3">
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">收款人:${model.getObject('/model/bank_info/record/@vender_name')!''}</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体">收款人:${model.getObject('/model/bank_info/record/@vender_name')!''}</t></p>
</tc>
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体">申请日期:${model.getObject('/model/bank_info/record/@current_date')!''}</t></p>
<p align="left"><t fontSize="12" fontFamily="宋体">申请日期:${model.getObject('/model/bank_info/record/@current_date')!''}</t></p>
</tc>
</tr>
<tr height="0.7">
<tr height="0.3">
<tc width="10">
<p indFirstLine="1"><t fontSize="20" fontFamily="宋体">确认日期:</t></p>
<p indFirstLine="1"><t fontSize="12" fontFamily="宋体">确认日期:</t></p>
</tc>
<tc width="10">
<p align="left"><t fontSize="20" fontFamily="宋体"></t></p>
<p align="left"><t fontSize="12" fontFamily="宋体"></t></p>
</tc>
</tr>
</tbl>
<!-- <p indFirstLine="1" line="400" >-->
<!-- <t fontFamily="宋体" fontSize="20" fontColor="000000" >开户名:${model.getObject('/model/bank_info/record/@agent_account_name')!''} 开户名:${model.getObject('/model/bank_info/record/@vender_account_name')!''} </t>-->
<!-- <p indFirstLine="1" line="200" >-->
<!-- <t fontFamily="宋体" fontSize="12" fontColor="000000" >开户名:${model.getObject('/model/bank_info/record/@agent_account_name')!''} 开户名:${model.getObject('/model/bank_info/record/@vender_account_name')!''} </t>-->
<!-- </p>-->
<!-- <p indFirstLine="1" line="400" >-->
<!-- <t fontFamily="宋体" fontSize="20" fontColor="000000" >开户行:${model.getObject('/model/bank_info/record/@agent_bank_name')!''} 开户行:${model.getObject('/model/bank_info/record/@vender_bank_name')!''} </t>-->
<!-- <p indFirstLine="1" line="200" >-->
<!-- <t fontFamily="宋体" fontSize="12" fontColor="000000" >开户行:${model.getObject('/model/bank_info/record/@agent_bank_name')!''} 开户行:${model.getObject('/model/bank_info/record/@vender_bank_name')!''} </t>-->
<!-- </p>-->
<!-- <p indFirstLine="1" line="400">-->
<!-- <t fontFamily="宋体" fontSize="20" fontColor="000000" >账号:${model.getObject('/model/bank_info/record/@agent_bank_num')!''} 账号:${model.getObject('/model/bank_info/record/@vender_bank_num')!''}</t>-->
<!-- <p indFirstLine="1" line="200">-->
<!-- <t fontFamily="宋体" fontSize="12" fontColor="000000" >账号:${model.getObject('/model/bank_info/record/@agent_bank_num')!''} 账号:${model.getObject('/model/bank_info/record/@vender_bank_num')!''}</t>-->
<!-- </p>-->
<!-- <p indFirstLine="1" line="400" >-->
<!-- <t fontFamily="宋体" fontSize="20" fontColor="000000" >委托收款人确认金额无误 委托公司名称:${model.getObject('/model/bank_info/record/@agent_name')!''}</t>-->
<!-- <p indFirstLine="1" line="200" >-->
<!-- <t fontFamily="宋体" fontSize="12" fontColor="000000" >委托收款人确认金额无误 委托公司名称:${model.getObject('/model/bank_info/record/@agent_name')!''}</t>-->
<!-- </p>-->
<!-- <p indFirstLine="1" line="400" >-->
<!-- <t fontFamily="宋体" fontSize="20" fontColor="000000" >收款人:${model.getObject('/model/bank_info/record/@vender_name')!''} 申请日期:${model.getObject('/model/bank_info/record/@current_date')!''}</t>-->
<!-- <p indFirstLine="1" line="200" >-->
<!-- <t fontFamily="宋体" fontSize="12" fontColor="000000" >收款人:${model.getObject('/model/bank_info/record/@vender_name')!''} 申请日期:${model.getObject('/model/bank_info/record/@current_date')!''}</t>-->
<!-- </p>-->
<!-- <p indFirstLine="9" line="400">-->
<!-- <t fontFamily="宋体" fontSize="20" fontColor="000000"> 确认日期:</t>-->
<!-- <p indFirstLine="9" line="200">-->
<!-- <t fontFamily="宋体" fontSize="12" fontColor="000000"> 确认日期:</t>-->
<!-- </p>-->
<p orientation="landscape">
</p>
......
......@@ -420,7 +420,7 @@
var sale_code = record[0].get('sale_code');*/
var template_name = 'payment_apply_content.xml';
// var template_name = '1.xml';
var file_name = '付款申请书.doc';
var file_name = '付款请求书打印.doc';
var url = $('cont811_con_sale_contract_info_print_link').getUrl() + '?template_name=' + template_name + '&payment_req_id=' + hd_record.get('payment_req_id') + '&file_name=' + encodeURI(file_name);
window.location.href =url;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment