Commit aeb253a0 authored by stone's avatar stone

[fix] 修改付款申请书内容

parent bd1e68df
......@@ -9,29 +9,35 @@
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT
SELECT
--应付我司开户名
(SELECT BP_NAME
FROM HLS_BP_MASTER HBM, HLS_BP_MASTER_BANK_ACCOUNT HBBC
WHERE HBBC.BANK_ACCOUNT_ID = V.BP_BANK_ACCOUNT_ID
AND HBBC.BP_ID = HBM.BP_ID) AGENT_NAME,
(SELECT hbbc.bank_branch_name
FROM hls_bp_master_bank_account hbbc
WHERE hbbc.bank_account_id=V.bp_bank_account_id
) agent_bank_name,
--应付我司开户行
(SELECT HBBC.BANK_BRANCH_NAME
(SELECT HBBc.bank_account_name
FROM HLS_BP_MASTER_BANK_ACCOUNT HBBC
WHERE HBBC.BANK_ACCOUNT_ID = V.BP_BANK_ACCOUNT_ID) AGENT_BANK_NAME,
WHERE HBBC.BANK_ACCOUNT_ID = V.BP_BANK_ACCOUNT_ID) agent_account_name,
--应付我司开户账号
(SELECT HBBC.BANK_ACCOUNT_NUM
FROM HLS_BP_MASTER_BANK_ACCOUNT HBBC
WHERE HBBC.BANK_ACCOUNT_ID = V.BP_BANK_ACCOUNT_ID) AGENT_BANK_NUM,
--应付我司开户名
(SELECT BP_NAME
FROM HLS_BP_MASTER HBM, HLS_BP_MASTER_BANK_ACCOUNT HBBC
WHERE HBBC.BANK_ACCOUNT_ID = V.VENDER_BANK_ACCOUNT_ID
AND HBBC.BP_ID = HBM.BP_ID) VENDER_NAME,
--应付我司开户行
(SELECT HBBC.BANK_BRANCH_NAME
FROM HLS_BP_MASTER_BANK_ACCOUNT HBBC
WHERE HBBC.BANK_ACCOUNT_ID = V.VENDER_BANK_ACCOUNT_ID) VENDER_BANK_NAME,
--厂商开户名
(SELECT hbbc.bank_account_name
FROM hls_bp_master_bank_account hbbc
WHERE hbbc.bank_account_id=v.vender_bank_account_id
) vender_account_name,
--厂商开户行
(SELECT hbbc.bank_branch_name
FROM hls_bp_master_bank_account hbbc
WHERE hbbc.bank_account_id=v.vender_bank_account_id
) vender_bank_name,
--厂商名称
(SELECT bp_name
FROM hls_bp_master hbm,hls_bp_master_bank_account hbbc
WHERE hbm.bp_id=hbbc.bp_id
AND hbbc.bank_account_id=V.vender_bank_account_id) vender_name,
--应付我司开户账号
(SELECT HBBC.BANK_ACCOUNT_NUM
FROM HLS_BP_MASTER_BANK_ACCOUNT HBBC
......
......@@ -18,7 +18,7 @@
from con_contract_lease_item ccli, hls_lease_item hli
where ccli.lease_item_id = hli.lease_item_id
and ccli.contract_id = c.contract_id) pattern,
(select hli.machine_number
(select ccli.machine_number
from con_contract_lease_item ccli, hls_lease_item hli
where ccli.lease_item_id = hli.lease_item_id
and ccli.contract_id = c.contract_id) machine_number,
......
......@@ -201,31 +201,33 @@
</tbl>
<p line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >备注:以上款项如核对无误,烦请贵司向我司付款${model.getObject('/model/static_data/record/@sum_amount_agent')!''}元,向日立建机付款${model.getObject('/model/static_data/record/@sum_amount_vender')!''}元。特此申请! </t>
<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>
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >本公司和日立建机(上海)有限公司的一切债权债务关系由本公司和日立建机(上海)有限公司自行解决和宏菱融资租赁(上海)有限公司无关。</t>
<t fontFamily="宋体" fontSize="20" fontColor="000000" >本公司和${model.getObject('/model/bank_info/record/@vender_name')!''}的一切债权债务关系由本公司和${model.getObject('/model/bank_info/record/@vender_name')!''}自行解决和宏菱融资租赁(上海)有限公司无关。</t>
</p>
<p line="400" >
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >烦请贵司将款项汇至以下账号:</t>
</p>
<p line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >开户名:${model.getObject('/model/bank_info/record/@agent_name')!''} 开户名:${model.getObject('/model/bank_info/record/@vender_name')!''} </t>
</p>
<p 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="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>
<p 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="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>
<p line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >委托收款人确认金额无误 委托公司名称:重庆日和东浦工程机械有限公司 </t>
<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>
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >收款人:日立建机(上海)有限公司(盖章) 申请日期:${model.getObject('/model/bank_info/record/@current_date')!''}</t>
<t fontFamily="宋体" fontSize="20" fontColor="000000" >委托收款人确认金额无误 委托公司名称:${model.getObject('/model/bank_info/record/@vender_name')!''}</t>
</p>
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >收款人:日立建机(上海)有限公司(盖章) 申请日期:${model.getObject('/model/bank_info/record/@current_date')!''}</t>
</p>
<p indFirstLine="9" line="400">
<t fontFamily="宋体" fontSize="20" fontColor="000000"> 确认日期:</t>
</p>
<p indFirstLine="8" line="400" orientation="landscape">
<t fontFamily="宋体" fontSize="20" fontColor="000000" > 确认日期:</t>
<p orientation="landscape">
</p>
</body>
</doc>
\ No newline at end of file
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