Commit c5a010e9 authored by stone's avatar stone

[fix] 修改金税接口功能

parent 4069b188
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: LR
$Date: 2013-7-16 上午10:52:41
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.aurora-framework.org/schema/bm">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT
hdcbt.business_type,
hdcbt.document_category,
hbt.description business_type_desc
FROM
hls_doc_category_biz_type hdcbt,
hls_business_type hbt
WHERE
hdcbt.document_category = 'AR_INVOICE' AND
hbt.business_type = hdcbt.business_type
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="business_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BUSINESS_TYPE" required="true"/>
<bm:field name="document_category" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOCUMENT_CATEGORY" required="true"/>
<bm:field name="business_type_desc" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION"/>
</bm:fields>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.aurora-framework.org/schema/bm">
<bm:operations>
<bm:operation name="insert">
<bm:update-sql><![CDATA[
BEGIN
ACR515_INVOICE_VAT_PKG.create_vat_invoice(p_invoice_hd_id => ${@invoice_hd_id},
p_company_id => ${/session/@company_id},
p_user_id => ${/session/@user_id});
END;
]]></bm:update-sql>
</bm:operation>
<bm:operation name="delete">
<bm:update-sql><![CDATA[
BEGIN
ACR515_INVOICE_VAT_PKG.delete_vat_invoice(p_invoice_hd_id => ${@invoice_hd_id},
p_user_id => ${/session/@user_id});
END;
]]></bm:update-sql>
</bm:operation>
<bm:operation name="update">
<bm:update-sql><![CDATA[
BEGIN
ACR515_INVOICE_VAT_PKG.pause_handle(p_type => ${@type},
p_invoice_hd_id => ${@invoice_hd_id},
p_user_id => ${/session/@user_id});
END;
]]></bm:update-sql>
</bm:operation>
<bm:operation name="execute">
<bm:update-sql><![CDATA[
BEGIN
ACR515_INVOICE_VAT_PKG.receive_vat_invoice(p_user_id => ${/session/@user_id});
END;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: sf
$Date: 2019-10-20 下午03:50:31
$Revision: 1.0
$Purpose: 获得开户行相关信息
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
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_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_NUM
FROM HLS_BP_MASTER_BANK_ACCOUNT HBBC
WHERE HBBC.BANK_ACCOUNT_ID = V.VENDER_BANK_ACCOUNT_ID) VENDER_BANK_NUM,
( to_char(SYSDATE,'yyyy')||'年'||to_char(SYSDATE,'mm')||'月'||to_char(SYSDATE,'dd')||'日') current_date
FROM CSH_PAYMENT_REQ_LN V
#WHERE_CLAUSE#
-- WHERE V.PAYMENT_REQ_ID = 2512561 AND ROWNUM <= 1
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:data-filters>
<bm:data-filter enforceOperations="query" expression="v.payment_req_id =${@payment_req_id}"/>
</bm:data-filters>
<!-- <bm:query-fields>
<bm:query-field name="payment_req_id" queryOperator="="/>
</bm:query-fields>-->
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: qwm
$Date: 2013-5-24 下午03:50:31
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
select *
from (select c.contract_number,
c.contract_name,
hbm.bp_name,
cpr.apply_pay_date,
cpr.bp_bank_account_id,
(select cph.payment_req_number
from csh_payment_req_hd cph
where cpr.payment_req_id = cph.payment_req_id) payment_req_number,
cpr.ref_doc_line_id cashflow_id,
(select times
from con_contract_cashflow ccc
where ccc.cashflow_id = cpr.ref_doc_line_id) times,
(select ccc.due_amount
from con_contract_cashflow ccc
where ccc.cashflow_id = cpr.ref_doc_line_id) due_amount,
(select description
from hls_cashflow_item hci, con_contract_cashflow ccc
where hci.cf_item = ccc.cf_item
and hci.cf_type = ccc.cf_type
and ccc.cashflow_id = cpr.ref_doc_line_id) CF_DESCRIPTION,
/* (select c.transaction_num
from csh_transaction c
where c.source_doc_line_id = cpr.payment_req_ln_id
and c.source_doc_id = cpr.payment_req_id) transaction_num,
(select c.bank_slip_num
from csh_transaction c
where c.source_doc_line_id = cpr.payment_req_ln_id
and c.source_doc_id = cpr.payment_req_id
and c.transaction_type = 'PAYMENT') bank_slip_num,*/
(select bp_name
from hls_bp_master hbm
where hbm.bp_id = cpr.bp_id) BP_ID_AGENT_N,
(select hbm.bank_account_num
from hls_bp_master_bank_account hbm
where hbm.bank_account_id = cpr.bp_bank_account_id) BP_BANK_ACCOUNT_NUM,
(select hbm.bank_account_name
from hls_bp_master_bank_account hbm
where hbm.bank_account_id = cpr.bp_bank_account_id) BP_BANK_ACCOUNT_NAME,
--应付我司金额
cpr.amount_agent,
cpr.amount_vender,
--未付金额
(cpr.amount_agent - nvl(cpr.amount_agent_paid, 0)) residual_agent_amount,
(cpr.amount_vender - nvl(cpr.amount_vender_paid, 0)) residual_vender_amount,
(select bp_name
from hls_bp_master hbm
where hbm.bp_id =
(select ccli.vender_id
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)) vender_name,
(select hbm.bank_account_name
from hls_bp_master_bank_account hbm
where hbm.bank_account_id = cpr.vender_bank_account_id) VENDER_BANK_ACCOUNT_ID,
(select hbm.bank_account_num
from hls_bp_master_bank_account hbm
where hbm.bank_account_id = cpr.vender_bank_account_id) VENDER_BANK_ACCOUNT_number,
cpr.amount,
--首付款抵充金额
(select nvl(hd.other_payment2, 0)
from hls_fin_calculator_hd hd
where hd.calc_session_id =
(select PQ.CALC_SESSION_ID
from prj_quotation pq
where pq.document_id =
(select cc.project_id
from con_contract cc
where cc.contract_id = c.contract_id)
and pq.document_category = 'PROJECT')) other_payment2,
(SELECT gc.currency_name
FROM gld_currency_v gc
WHERE gc.currency_code = cpr.currency_code) currency_name,
cpr.payment_req_ln_id,
cpr.payment_req_id,
cpr.payment_req_ln_type,
cpr.ref_doc_id,
cpr.ref_doc_line_id,
cpr.ref_doc_category
from csh_payment_req_ln cpr, con_contract c, hls_bp_master hbm
where cpr.ref_doc_category = 'CONTRACT'
and c.contract_id = cpr.ref_doc_id
and hbm.bp_id = c.bp_id_tenant) v
#WHERE_CLAUSE#
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:data-filters>
<bm:data-filter enforceOperations="query" expression="v.payment_req_id =${@payment_req_id}"/>
</bm:data-filters>
<!-- <bm:query-fields>
<bm:query-field name="payment_req_id" queryOperator="="/>
</bm:query-fields>-->
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: sf
$Date: 2019-10-20 下午03:50:31
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
select *
from (select count(*) total_number,
sum(nvl(v.amount, 0)) sum_amount,
sum(nvl(v.amount_agent, 0)) sum_amount_agent,
sum(nvl(v.amount_vender, 0)) sum_amount_vender,
sum(nvl(v.other_payment2, 0)) sum_other_payment,
to_char(sysdate, 'yyyy') || '年' || to_char(sysdate, 'mm') || '月' purchase_date
from csh_payment_req_ln v
#WHERE_CLAUSE#
) v
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:data-filters>
<bm:data-filter enforceOperations="query" expression="v.payment_req_id =${@payment_req_id}"/>
</bm:data-filters>
<!-- <bm:query-fields>
<bm:query-field name="payment_req_id" queryOperator="="/>
</bm:query-fields>-->
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.aurora-framework.org/schema/bm" xmlns:f="aurora.database.features" alias="t1" baseTable="GLD_CURRENCY_VL" defaultOrderBy="currency_code">
<bm:fields>
<bm:field name="row_id" databaseType="ROWID" physicalName="ROW_ID"/>
<bm:field name="currency_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CURRENCY_CODE"/>
<bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG"/>
<bm:field name="currency_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CURRENCY_NAME"/>
<bm:field name="country_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COUNTRY_CODE"/>
<bm:field name="precision" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRECISION"/>
<bm:field name="transaction_precision" databaseType="NUMBER" datatype="java.lang.Double" physicalName="TRANSACTION_PRECISION"/>
<bm:field name="currency_symbol" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CURRENCY_SYMBOL"/>
</bm:fields>
<bm:features>
<f:standard-who/>
</bm:features>
<bm:data-filters>
<bm:data-filter enforceOperations="query" expression=" t1.ENABLED_FLAG =&apos;Y&apos;"/>
</bm:data-filters>
</bm:model>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<doc readOnly="true" pageSize="A4" header="1.5" footer="1.75" top="2.54" bottom="2.54" left="3.17" right="3.17" >
<body>
<p align="left" line="400" >
<t fontFamily="黑体" fontSize="24" fontColor="000000" >附件二</t>
</p>
<p align="center" line="400" >
<t fontFamily="宋体" fontSize="32" fontColor="000000" >实际租金支付表</t>
</p>
<p indFirstLine="1" line="400" >
<t fontFamily="仿宋" fontSize="24" fontColor="000000" >注:《租金支付概算表》与《实际租金支付表》不一致的,以本《实际租金支付表》为准。</t>
</p>
<p line="400" >
<t fontFamily="宋体" fontSize="24" fontColor="000000" >甲方(承租人):(盖章) 乙方(出租人): (盖章)</t>
</p>
<p line="400" >
<t fontFamily="宋体" fontSize="24" fontColor="000000" >法定代表人(负责人)或授权代表: 法定代表人(负责人)或授权代表:</t>
</p>
<p line="400" >
<t fontFamily="宋体" fontSize="24" fontColor="000000" >年 月 日 年 月 日 </t>
</p>
</body>
</doc>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<doc pageSize="A4" header="1.5" footer="1.75" top="3.18" bottom="3.18" left="5.32" right="5.32" docGridType="lines" docGridLinePitch="312" pgSzW="15000" pgSzH="16838" pgSzCode="9">
<settings characterSpacingControl="compressPunctuation" drawingGridHorizontalSpacing="105" drawingGridVerticalSpacing="156" displayHorizontalDrawingGridEvery="0"
displayVerticalDrawingGridEvery="2">
</settings>
<body>
<p align="center" line="400" >
<t bold="true" fontFamily="宋体" fontSize="40" fontColor="000000" >付款请求书</t>
</p>
<p line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >宏菱融资租赁(上海)有限公司:
</t>
</p>
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" 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>
<!--插入表单数据-->
<tbl indLeft="1" border="true">
<!--
height: 行高(单位厘米,默认0.67)
-->
<tr>
<!--
width:列宽(单位厘米)
span:夸列数
fill: 填充颜色
vMerge: 上下合并(restart,continue)
vAlign: 垂直布局(默认center)
-->
<tc width="2">
<!--
type:类型(top,bottom,left,right)
color:颜色 默认黑色
style: 边框style,默认single
-->
<border type="bottom" color="000000" style="single"/>
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">序号</t>
</p>
</tc>
<tc width="5">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">买卖合同号</t>
</p>
</tc>
<tc width="2">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">机型</t>
</p>
</tc>
<tc width="2">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">机号</t>
</p>
</tc>
<tc width="6">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">付款预定日期</t>
</p>
</tc>
<tc width="4">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">合同金额</t>
</p>
</tc>
<tc width="6">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">委托付款金额</t>
</p>
</tc>
<tc width="6">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">应付我司金额</t>
</p>
</tc>
<tc width="4">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">客户名称</t>
</p>
</tc>
<tc width="8">
<p align="left">
<t fontFamily="宋体" fontSize="20" fontColor="000000">我司应付hcs金额</t>
</p>
</tc>
<tc width="5">
<p align="left">
<t fontFamily="宋体" fontSize="20" 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">
<tc width="4">
<p align="center"><t fontSize="20" 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>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" 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>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" 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('amount')!''}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" 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>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" 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>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体"></t></p>
</tc>
</tr>
</#list>
</#if>
<!-- 合计数据-->
<tr>
<tc width="2">
<!--
type:类型(top,bottom,left,right)
color:颜色 默认黑色
style: 边框style,默认single
-->
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000"></t>
</p>
</tc>
<tc span="3">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000">合计</t>
</p>
</tc>
<tc width="2">
<p align="center">
<t fontFamily="宋体" fontSize="20" 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>
</p>
</tc>
<tc width="6">
<p align="center">
<t fontFamily="宋体" fontSize="20" 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>
</p>
</tc>
<!--客户名称-->
<tc width="6">
<p align="center">
<t fontFamily="宋体" fontSize="20" 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>
</p>
</tc>
<tc width="4">
<p align="center">
<t fontFamily="宋体" fontSize="20" fontColor="000000"></t>
</p>
</tc>
</tr>
</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>
</p>
<p indFirstLine="1" line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >本公司和日立建机(上海)有限公司的一切债权债务关系由本公司和日立建机(上海)有限公司自行解决和宏菱融资租赁(上海)有限公司无关。</t>
</p>
<p 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>
<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>
<p line="400" >
<t fontFamily="宋体" fontSize="20" fontColor="000000" >委托收款人确认金额无误 委托公司名称:重庆日和东浦工程机械有限公司 </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="8" line="400" orientation="landscape">
<t fontFamily="宋体" fontSize="20" fontColor="000000" > 确认日期:</t>
</p>
</body>
</doc>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.aurora-framework.org/application" xmlns:p="uncertain.proc" trace="true">
<a:init-procedure>
<a:model-delete model="acr.ACR515.acr_interface_tmp" trace="true"/>
<batch-apply sourcePath="/parameter/details">
<a:model-insert model="acr.ACR515.acr_interface_tmp" trace="true"/>
</batch-apply>
<a:model-execute model="acr.ACR515.update_transafer_invoice"/>
</a:init-procedure>
<a:service-output output="/parameter"/>
</a:service>
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:sel="www.shanghai-electric.com" xmlns:et="aurora.plugin.export.task" xmlns:task="aurora.application.task" xmlns:dr="aurora.plugin.excelreport" xmlns:mail="aurora.plugin.mail" xmlns:msg="aurora.application.features.msg" xmlns:p="uncertain.proc" xmlns:a="http://www.aurora-framework.org/application" trace="true">
<a:init-procedure>
<a:model-query fetchAll="true" model="acr.ACR515.acr_invoice_interface_ln" rootPath="/model/datasource"/>
<dr:excel-report enableTask="false" filename="invoice.xls">
<dr:styles>
<dr:cell-style name="cell1" align="ALIGN_CENTER" borderbottom="BORDER_THIN" borderleft="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" vertical="VERTICAL_BOTTOM">
<dr:font bold="false" fontName="宋体" height="10"/>
</dr:cell-style>
<dr:cell-style name="cell2" align="ALIGN_RIGHT" borderbottom="BORDER_THIN" borderleft="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" vertical="VERTICAL_BOTTOM">
<dr:font bold="false" fontName="Arial" height="10"/>
</dr:cell-style>
<dr:cell-style name="cell3" align="ALIGN_LEFT" borderbottom="BORDER_THIN" borderleft="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" vertical="VERTICAL_BOTTOM">
<dr:font bold="false" fontName="宋体" height="10"/>
</dr:cell-style>
<dr:cell-style name="cell4" align="ALIGN_CENTER" borderbottom="BORDER_THIN" borderleft="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" vertical="VERTICAL_BOTTOM">
<dr:font bold="false" fontName="Arial" height="10"/>
</dr:cell-style>
<dr:cell-style name="header" align="ALIGN_CENTER" borderbottom="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" cell_style_id="2" foregroundcolor="BLACK" vertical="VERTICAL_BOTTOM">
<dr:font bold="true" cell_style_id="2" fontname="宋体" height="10"/>
</dr:cell-style>
</dr:styles>
<dr:sheets>
<dr:sheet name="收入确认" autoSizeColumns="0,1,2,3,4,5,6,7,8,9,10,11" displayGridlines="true">
<dr:dynamic-content cell="A" dataModel="/model/datasource">
<dr:columns>
<dr:table-column cellStyle="cell4" field="invoice_kind_n" title="发票种类" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="document_number" title="单据号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="invoice_date" title="单据日期" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell3" field="bp_code" title="客户编号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell3" field="bp_name" title="客户名称" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="bp_tax_registry_num" title="客户税号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="bp_address_phone_num" title="客户地址电话" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell3" field="bp_bank_account" title="客户银行及账号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="description" title="备注" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="vat_red_notice_num" title="专用发票红票通知单号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="ref_vat_invoice_code" title="普通发票红票对应正数发票代码" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="ref_invoice_number" title="普通发票红票对应正数发票号码" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="created_by_name" title="开票人" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="confirmed_by_name" title="复核人" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="received_by_name" title="收款人" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="invoice_title" title="销方银行及帐号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="invoice_bp_address_phone_num" title="销方地址电话" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="product_code" title="商品编号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="product_name" title="商品名称" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="specification" title="规格型号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="uom" title="计量单位" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell4" field="quantity" title="数量" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="total_amount" title="含税金额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="tax_type_rate" title="税率" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="tax_amount" title="税额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="discount_amount" title="折扣金额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="dicount_tax_amount" title="折扣税额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="price" title="无税单价" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="discount_rate" title="折扣率" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="rec_man" title="收货人" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="rec_man_tax_num" title="收货人纳税人识别号" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="del_man" title="发货人" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="del_man_tax_num" title="发货人纳税人识别号" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="place_of_sending" title="起运地、经由、到达地" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="car_type_num" title="车种车号" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="car_ship_tonnage" title="车船吨位" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="product_info" title="运输货物信息" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="code_version" title="编码版本号" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="tax_type_code" title="税收分类编码" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="preferential_policy_flag" title="是否享受优惠政策" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="preferential_policy_content" title="享受税收优惠政策内容" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="zero_tax_rate_flag" title="零税率标识" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="reduce_amount" title="扣除额" titlestyle="header" type="Number"/>
<!-- <dr:table-column cellStyle="cell1" field="total_amount" title="开票金额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="product_item" title="商品税目" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="discount" title="折扣金额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="discount_rate" title="折扣率" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="discount_tax" title="折扣税额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="line_name" title="清单行商品名称" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="rec_man" title="收款人" titlestyle="header" type="content"/> -->
</dr:columns>
</dr:dynamic-content>
</dr:sheet>
</dr:sheets>
</dr:excel-report>
</a:init-procedure>
</a:service>
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.aurora-framework.org/application" xmlns:dr="aurora.plugin.excelreport" trace="true">
<a:init-procedure>
<a:model-query fetchAll="true" model="acr.ACR515.acr_invoice_interface_ln" rootPath="/model/datasource"/>
<dr:excel-report enableTask="false" filename="invoice.xls">
<dr:styles>
<dr:cell-style name="cell1" align="ALIGN_CENTER" borderbottom="BORDER_THIN" borderleft="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="宋体" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell2" align="ALIGN_RIGHT" borderbottom="BORDER_THIN" borderleft="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell3" align="ALIGN_LEFT" borderbottom="BORDER_THIN" borderleft="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="宋体" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell4" align="ALIGN_CENTER" borderbottom="BORDER_THIN" borderleft="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="header" align="ALIGN_LEFT" borderbottom="BORDER_THIN" borderright="BORDER_THIN" bordertop="BORDER_THIN" cell_style_id="2" foregroundcolor="BLACK">
<dr:font bold="true" cell_style_id="2" fontname="宋体" height="10"/>
</dr:cell-style>
</dr:styles>
<dr:sheets>
<dr:sheet name="收入确认" autoSizeColumns="0,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" displayGridlines="true">
<dr:dynamic-content cell="A" dataModel="/model/datasource" row="1">
<dr:columns>
<dr:table-column cellStyle="cell4" field="invoice_kind_n" title="发票类型" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="document_number" title="单据号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="invoice_date" title="单据日期" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell3" field="bp_name" title="发票抬头" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="bp_tax_registry_num" title="纳税人税号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="bp_address_phone_num" title="客户地址电话" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell3" field="bp_bank_account" title="客户开户行账号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="product_name" title="性质" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="specification" title="规格" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="uom" title="计量单位" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell4" field="quantity" title="数量" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="price" title="单价" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="tax_type_rate" title="税率" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="tax_amount" title="税额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="total_amount" title="开票金额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="product_item" title="商品税目" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="discount" title="折扣金额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="discount_rate" title="折扣率" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="discount_tax" title="折扣税额" titlestyle="header" type="Number"/>
<dr:table-column cellStyle="cell1" field="line_name" title="清单行商品名称" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="rec_man" title="收款人" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="check_man" title="复核人" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="notes" title="备注" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="blue_number" title="对应蓝字发票号码" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="blue_code" title="对应蓝字发票代码" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="tax_number" title="税收分类编码" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="benefit" title="是否享受税收优惠" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="benefit_notes" title="享受税收优惠内容" titlestyle="header" type="content"/>
</dr:columns>
</dr:dynamic-content>
</dr:sheet>
</dr:sheets>
</dr:excel-report>
</a:init-procedure>
</a:service>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.aurora-framework.org/application">
<a:view>
<a:link id="hls_acr_vat_upload_link" url="${/request/@context_path}/modules/acr/ACR515/hls_acr_vat_import_upload.screen"/>
<a:link id="hls_acr_vat_trans_upload_link" url="${/request/@context_path}/modules/acr/ACR515/hls_acr_vat_import_trans_upload.screen"/>
<a:link id="hls_acr_vat_import_shw_err_link" url="${/request/@context_path}/modules/acr/ACR515/hls_acr_vat_import_showerrors.screen"/>
<a:link id="acr515_check_import_link" model="acr.ACR515.check_vat_tmp" modelaction="execute"/>
<a:link id="acr515_confirm_import_link" model="acr.ACR515.hls_vat_confirm" modelaction="execute"/>
<script><![CDATA[
//$('submitbtn').disable();
function importbtn() {
new Aurora.Window({
id: 'upload_window',
url: $('hls_acr_vat_upload_link').getUrl()+'?kind=${/parameter/@kind}',
prompt: '${l:PROMPT.LOADDATA}',
width: 420,
height: 280
});
}
function checkbtn() {
Aurora.request({
url: $('acr515_check_import_link').getUrl(),
success: function(args) {
$('submitbtn_id').enable();
},
scopr: this
});
}
function submitbtn() {
var detail_mask = Ext.getBody();
Aurora.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
Aurora.request({
url: $('acr515_confirm_import_link').getUrl(),
success: function(args) {
Aurora.showMessage('提示信息', '操作成功', $('import_data_ds').query());
Aurora.Masker.unmask(detail_mask, '${l:HLS.EXECUTING}');
},
failure: function() {
Aurora.Masker.unmask(detail_mask, '${l:HLS.EXECUTING}');
},
error: function() {
Aurora.Masker.unmask(detail_mask, '${l:HLS.EXECUTING}');
}
});
}
function showerrorbtn() {
new Aurora.Window({
id: 'show_error_window',
url: $('hls_acr_vat_import_shw_err_link').getUrl(),
prompt: '错误数据',
width: 900,
height: 470
});
}
]]></script>
<a:dataSets>
<a:dataSet id="import_data_ds" autoQuery="true" fetchAll="true" model="acr.ACR515.hls_vat_import_tmp"/>
</a:dataSets>
<a:screenBody>
<a:hBox>
<a:button click="importbtn" text="导入"/>
<a:button click="checkbtn" text="校验"/>
<a:button id="submitbtn_id" click="submitbtn" text="确定"/>
<a:button click="showerrorbtn" text="显示错误信息"/>
</a:hBox>
<a:grid bindTarget="import_data_ds" height="500" marginWidth="30">
<a:columns>
<a:column name="segment1" prompt="作废标志" width="150"/>
<a:column name="segment2" prompt="发票种类" width="150"/>
<a:column name="vat_doc_number" prompt="单据号" width="150"/>
<a:column name="vat_code" prompt="发票代码" width="150"/>
<a:column name="vat_number" prompt="发票号码" width="150"/>
<a:column name="segment3" prompt="客户编号" width="150"/>
<a:column name="segment4" prompt="客户名称" width="150"/>
<a:column name="segment5" prompt="客户税号" width="150"/>
<a:column name="segment6" prompt="客户地址电话" width="150"/>
<a:column name="segment7" prompt="客户银行及帐号" width="150"/>
<a:column name="vat_date_str" prompt="开票日期" width="150"/>
<a:column name="segment8" prompt="备注" width="150"/>
<a:column name="segment9" prompt="开票人" width="150"/>
<a:column name="segment10" prompt="收款人" width="150"/>
<a:column name="segment11" prompt="复核人" width="150"/>
<a:column name="segment12" prompt="销方银行及帐号" width="150"/>
<a:column name="segment13" prompt="销方地址电话" width="150"/>
<a:column name="segment14" prompt="商品编号" width="150"/>
<a:column name="segment15" prompt="商品名称" width="150"/>
<a:column name="segment16" prompt="规格型号" width="150"/>
<a:column name="segment17" prompt="计量单位" width="150"/>
<a:column name="segment18" prompt="数量" width="150"/>
<a:column name="segment19" prompt="金额(含税)" width="150"/>
<a:column name="segment20" prompt="税率" width="150"/>
<a:column name="segment21" prompt="税额" width="150"/>
<a:column name="segment22" prompt="收货人" width="150"/>
<a:column name="segment23" prompt="收货人纳税人识别号" width="150"/>
<a:column name="segment24" prompt="发货人" width="150"/>
<a:column name="segment25" prompt="发货人纳税人识别号" width="150"/>
<a:column name="segment26" prompt="起运地、经由、到达地" width="150"/>
<a:column name="segment27" prompt="车种车号" width="150"/>
<a:column name="segment28" prompt="车船吨位" width="150"/>
<a:column name="segment29" prompt="运输货物信息" width="150"/>
<a:column name="segment30" prompt="编码版本号" width="150"/>
<a:column name="segment31" prompt="税收分类编码" width="150"/>
<a:column name="segment32" prompt="是否享受优惠政策" width="150"/>
<a:column name="segment33" prompt="享受税收优惠政策内容" width="150"/>
<a:column name="segment34" prompt="零税率标识" width="150"/>
<a:column name="segment35" prompt="扣除额" width="150"/>
</a:columns>
</a:grid>
</a:screenBody>
<script><![CDATA[
$('submitbtn_id').disable();
]]></script>
</a:view>
</a:screen>
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.aurora-framework.org/application">
<a:view>
<a:dataSets>
<a:dataSet id="hls_vat_import_error_ds" autoQuery="true" model="acr.ACR515.hls_vat_import_logs"/>
</a:dataSets>
<a:screenBody>
<a:grid bindTarget="hls_vat_import_error_ds" height="370" width="880">
<a:columns>
<a:column name="batch_line_id" prompt="序号" width="100"/>
<a:column name="vat_doc_number" prompt="单据号" width="150"/>
<a:column name="message" prompt="错误信息" width="630"/>
</a:columns>
</a:grid>
</a:screenBody>
</a:view>
</a:screen>
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.aurora-framework.org/application" trace="true">
<a:init-procedure>
<a:model-execute model="acr.ACR515.delete_vat_tmp"/>
<a:import-excel header_id="${/session/@session_id}" separator="," status_field="/parameter/@ImportSuccess" template_code="HLS_ACR_VAT_IMPORT" user_id="${/session/@user_id}"/>
<a:model-execute model="acr.ACR515.insert_vat_tmp"/>
</a:init-procedure>
<a:view>
<a:link id="hls_acr_vat_import_link" url="${/request/@context_path}/modules/acr/ACR515/hls_acr_vat_import_data.screen"/>
<script><![CDATA[
window.location.href = $('hls_acr_vat_import_link').getUrl();
]]></script>
</a:view>
</a:screen>
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.aurora-framework.org/application">
<a:init-procedure/>
<a:view>
<script><![CDATA[
function saveClick() {
if (document.getElementById('importFile').value) {
var fileName = document.getElementById('importFile').value;
var fileType = fileName.substr(fileName.lastIndexOf("."));
/*if (fileType != '.xls') {
alert('请选择正确的导入文件!');
} else {*/
document.getElementById('importForm').submit();
/*}*/
}
}
]]></script>
<a:dataSets>
<a:dataSet id="label_ds" autoCreate="true">
<a:fields>
<a:field name="label2" defaultValue="1、 严格按照导入模板整理数据,检查必输事项是否缺少数据。"/>
<a:field name="label3" defaultValue="2、 关闭Excel文件后,方可进行产品主数据导入。"/>
<a:field name="label4" defaultValue="3、 本导入程序只支持Office Excel。"/>
<a:field name="label5" defaultValue="仔细阅读上述事项,并检查确认无误。"/>
<a:field name="label6" defaultValue="导入完毕后,请在系统内核实数据是否导入成功。"/>
</a:fields>
</a:dataSet>
</a:dataSets>
<a:fieldSet style="margin-left:10px;margin-top:10px;" title="导入注意事项" width="400">
<a:label name="label2" bindTarget="label_ds" style="margin-left:10px;" width="380"/>
<a:label name="label3" bindTarget="label_ds" style="margin-left:10px;" width="380"/>
<a:label name="label4" bindTarget="label_ds" style="margin-left:10px;" width="380"/>
<a:label name="label5" bindTarget="label_ds" style="color:#055A78;font-weight:bold;margin-left:10px;" width="380"/>
<a:label name="label6" bindTarget="label_ds" style="color:#055A78;font-weight:bold;margin-left:10px;" width="380"/>
</a:fieldSet>
<a:fieldSet style="margin-left:10px;margin-top:10px;" title="导入文件" width="400">
<form name="upload" id="importForm" action="hls_acr_vat_import_trans_upload.screen?kind=${/parameter/@kind}" enctype="multipart/form-data" method="post">
<label style="margin-left:10px;margin-top:10px;"><![CDATA[请选择文件:]]></label>
<input name="CONTENT" id="importFile" style="margin-bottom:4px;width:160px;height:22px;" type="file"/>
<input onclick="saveClick()" style="margin-left:10px;margin-top:10px;width:60px;" type="button" value="导入"/>
</form>
</a:fieldSet>
</a:view>
</a:screen>
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" xmlns:dr="leaf.plugin.excelreport" trace="true">
<a:init-procedure>
<a:model-query defaultWhereClause="payment_req_id=${/parameter/@payment_req_id}" fetchAll="true" model="csh.CSH501.csh_payment_req_ln_query_after_save" rootPath="/model/pay_export_info"/>
<a:model-query defaultWhereClause="payment_req_id=${/parameter/@payment_req_id}" fetchAll="true" model="csh.CSH501.csh_payment_req_excel_report_static" rootPath="/model/static_data"/>
<s:server-script><![CDATA[
function getdate() {
var now = new Date()
y = now.getFullYear()
m = now.getMonth() + 1
d = now.getDate()
m = m < 10 ? "0" + m : m
d = d < 10 ? "0" + d : d
return y + "" + m + "" + d
}
$ctx.parameter.excel_name = '支付申请书'+getdate()+'.xlsx';
]]></s:server-script>
<dr:excel-report enableTask="false" fileName="${/parameter/@excel_name}">
<styles>
<dr:cell-style name="title" align="ALIGN_CENTER">
<dr:font fontName="宋体" height="14" italic="false"/>
</dr:cell-style>
<dr:cell-style name="left" align="ALIGN_LEFT">
<dr:font fontName="宋体" height="12" italic="false"/>
</dr:cell-style>
<dr:cell-style name="cell_right" align="ALIGN_RIGHT">
<dr:font fontName="宋体" height="12" italic="false"/>
</dr:cell-style>
<dr:cell-style name="cell_center" align="ALIGN_CENTER" borderbottom="BORDER_THIN" borderleft="BORDER_THIN" borderTop="BORDER_THIN" borderRight="BORDER_THIN">
<dr:font fontName="宋体" height="12" italic="false"/>
</dr:cell-style>
<dr:cell-style name="header" align="ALIGN_CENTER">
<dr:font bold="false" fontName="宋体" height="12"/>
</dr:cell-style>
<dr:cell-style name="foot">
<dr:font bold="false" fontName="宋体" height="12"/>
</dr:cell-style>
<dr:cell-style name="footNumber" dataFormat="#,##0.000">
<dr:font bold="false" fontName="宋体" height="12"/>
</dr:cell-style>
<dr:cell-style name="dateFormat" dataFormat="YYYY-MM-DD">
<dr:font bold="false" fontName="宋体" height="12"/>
</dr:cell-style>
<dr:cell-style name="group">
<dr:font bold="false" fontName="宋体" height="12"/>
</dr:cell-style>
</styles>
<sheets>
<dr:sheet name="支付申请书清单" autoSizeColumns="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20" displayGridlines="true">
<dr:static-content>
<dr:cell-data cell="A" range="$A$1:$I$1" row="1" stylename="title" type="content" value="付款申请书"/>
<dr:cell-data cell="A" range="$A$2:$k$2" row="2" stylename="left" type="content" value="宏菱融资租赁(上海)有限公司:"/>
<dr:cell-data cell="A" range="$A$3:$k$3" row="3" stylename="left" type="content" value="非常感谢贵司长期以来的支持与帮助!"/>
<dr:cell-data cell="A" range="$A$4:$k$4" row="4" stylename="left" type="content" value="我司在${/model/static_data/record/@purchase_date}向贵司销售${/model/static_data/record/@total_number}台机器,具体委托明细如下:"/>
<dr:cell-data cell="A" range="$A$11:$k$11" row="11" stylename="left" type="content" value="备注:以上款项如核对无误,烦请贵司向我司付款1017548.9元,向日立建机付款6333366.1元。特此申请!"/>
<dr:cell-data cell="B" range="$B$12:$k$12" row="12" stylename="left" type="content" value="本公司和日立建机(上海)有限公司的一切债权债务关系由本公司和日立建机(上海)有限公司自行解决和宏菱融资租赁(上海)有限公司无关。"/>
<dr:cell-data cell="A" range="$A$13:$k$13" row="13" stylename="left" type="content" value="烦请贵司将款项汇至以下账号:"/>
<dr:cell-data cell="A" range="$A$14:$D$14" row="14" stylename="left" type="content" value="开户名:重庆日和东浦工程机械有限公司"/>
<dr:cell-data cell="A" range="$A$15:$D$15" row="15" stylename="left" type="content" value="开户行:重庆农商行北碚支行蔡家分理处"/>
<dr:cell-data cell="A" range="$A$16:$D$16" row="16" stylename="left" type="content" value="账号:0707 0101 2001 0002503"/>
<dr:cell-data cell="A" range="$G$14:$I$14" row="14" stylename="left" type="content" value="开户名:日立建机(上海)有限公司"/>
<dr:cell-data cell="A" range="$G$15:$I$15" row="15" stylename="left" type="content" value="开户行:三菱东京日联银行(中国)有限公司"/>
<dr:cell-data cell="A" range="$G$16:$I$16" row="16" stylename="left" type="content" value="账号:404029-00000322512"/>
<dr:cell-data cell="A" range="$A$18:$D$18" row="18" stylename="left" type="content" value="账号:404029-00000322512"/>
<dr:cell-data cell="A" range="$G$19:$I$19" row="18" stylename="left" type="content" value="账号:404029-00000322512"/>
</dr:static-content>
<dr:dynamic-content cell="A" datamodel="/model/pay_export_info" row="5">
<dr:columns>
<dr:table-column cellStyle="cell_center" column_id="439" field="rownum" title="序号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell_center" column_id="440" field="contract_number" title="买卖合同号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell_center" column_id="441" field="pattern" title="机型" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell_center" column_id="448" field="machine_number" title="机号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell_center" column_id="442" field="apply_pay_date" title="付款预定日期" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell_center" column_id="443" field="amount" title="合同金额" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell_center" column_id="444" field="amount_vender" title="委托付款金额" titlestyle="header" type="content" />
<dr:table-column cellStyle="cell_center" column_id="445" field="amount_agent" title="应付我司金额" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell_center" column_id="446" field="bp_id_tenant_n" title="客户名称" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell_center" column_id="447" field="other_payment2" title="我司应付HCS金额" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell_center" column_id="447" field="currency_code" title="付款日期" titlestyle="header" type="content"/>
</dr:columns>
</dr:dynamic-content>
</dr:sheet>
</sheets>
</dr:excel-report>
</a:init-procedure>
</a:service>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: lijingjing
$Date:
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:c="leaf.application.action" xmlns:w="leaf.plugin.export.word" xmlns:p="uncertain.proc" xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" customizationEnabled="true" trace="true">
<a:init-procedure>
<a:model-query defaultWhereClause="payment_req_id=${/parameter/@payment_req_id}" fetchAll="true" model="csh.CSH501.csh_payment_req_excel_report_static" rootPath="static_data"/>
<a:model-query defaultWhereClause="payment_req_id=${/parameter/@payment_req_id}" fetchAll="true" model="csh.CSH501.csh_payment_req_excel_bank_info" rootPath="bank_info"/>
<a:model-query defaultWhereClause="payment_req_id=${/parameter/@payment_req_id}" fetchAll="true" model="csh.CSH501.csh_payment_req_ln_query_after_save" rootPath="payment_details"/>
<!-- <a:model-query defaultWhereClause="=${/parameter/@payment_req_id}" fetchAll="true" model="cont.CON811.con_sale_contract_info_print" rootPath="con_sale_contract_info"/>-->
<w:word-export name="${/parameter/@file_name}" template="leaf.plugin.export.word/${/parameter/@template_name}">
<w:replaces><![CDATA[
<w:replace name="total_number" path="/model/static_data/record/@total_number"/>
<w:replace name="purchase_date" path="/model/static_data/record/@purchase_date"/>
]]></w:replaces>
</w:word-export>
</a:init-procedure>
</a:screen>
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