Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
c5a010e9
Commit
c5a010e9
authored
Oct 23, 2019
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 修改金税接口功能
parent
4069b188
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
2047 additions
and
0 deletions
+2047
-0
acr_invoice_business_type_list.bm
...-INF/classes/acr/ACR512/acr_invoice_business_type_list.bm
+30
-0
acr_invoice_vat.bm
...main/webapp/WEB-INF/classes/acr/ACR515/acr_invoice_vat.bm
+38
-0
csh_payment_req_excel_bank_info.lwm
...NF/classes/csh/CSH501/csh_payment_req_excel_bank_info.lwm
+58
-0
csh_payment_req_excel_report.lwm
...B-INF/classes/csh/CSH501/csh_payment_req_excel_report.lwm
+114
-0
csh_payment_req_excel_report_static.lwm
...lasses/csh/CSH501/csh_payment_req_excel_report_static.lwm
+34
-0
gld_currency_vl.bm
src/main/webapp/WEB-INF/classes/gld/gld_currency_vl.bm
+19
-0
1.xml
src/main/webapp/WEB-INF/leaf.plugin.export.word/1.xml
+23
-0
payment_apply_content.xml
...WEB-INF/leaf.plugin.export.word/payment_apply_content.xml
+232
-0
acr_invoice_insert_tmp.svc
...main/webapp/modules/acr/ACR515/acr_invoice_insert_tmp.svc
+11
-0
acr_invoice_interface_excel_sheets.svc
...modules/acr/ACR515/acr_invoice_interface_excel_sheets.svc
+83
-0
acr_invoice_interface_network_sheets.svc
...dules/acr/ACR515/acr_invoice_interface_network_sheets.svc
+61
-0
acr_invoice_vat.screen
src/main/webapp/modules/acr/ACR515/acr_invoice_vat.screen
+443
-0
hls_acr_vat_import_data.screen
.../webapp/modules/acr/ACR515/hls_acr_vat_import_data.screen
+118
-0
hls_acr_vat_import_showerrors.screen
...p/modules/acr/ACR515/hls_acr_vat_import_showerrors.screen
+17
-0
hls_acr_vat_import_trans_upload.screen
...modules/acr/ACR515/hls_acr_vat_import_trans_upload.screen
+14
-0
hls_acr_vat_import_upload.screen
...ebapp/modules/acr/ACR515/hls_acr_vat_import_upload.screen
+44
-0
csh_payment_contract_export.lsc
...webapp/modules/csh/CSH501/csh_payment_contract_export.lsc
+88
-0
payment_apply_content.xml
src/main/webapp/modules/csh/CSH501/payment_apply_content.xml
+598
-0
payment_req_apply_print.lview
...n/webapp/modules/csh/CSH501/payment_req_apply_print.lview
+22
-0
No files found.
src/main/webapp/WEB-INF/classes/acr/ACR512/acr_invoice_business_type_list.bm
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/WEB-INF/classes/acr/ACR515/acr_invoice_vat.bm
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_payment_req_excel_bank_info.lwm
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_payment_req_excel_report.lwm
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_payment_req_excel_report_static.lwm
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/WEB-INF/classes/gld/gld_currency_vl.bm
0 → 100644
View file @
c5a010e9
<?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 ='Y'"
/>
</bm:data-filters>
</bm:model>
src/main/webapp/WEB-INF/leaf.plugin.export.word/1.xml
0 → 100644
View file @
c5a010e9
<?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
src/main/webapp/WEB-INF/leaf.plugin.export.word/payment_apply_content.xml
0 → 100644
View file @
c5a010e9
<?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
src/main/webapp/modules/acr/ACR515/acr_invoice_insert_tmp.svc
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/modules/acr/ACR515/acr_invoice_interface_excel_sheets.svc
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/modules/acr/ACR515/acr_invoice_interface_network_sheets.svc
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/modules/acr/ACR515/acr_invoice_vat.screen
0 → 100644
View file @
c5a010e9
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: LR
$Date: 2013-7-18 上午09:34:43
$Revision: 1.0
$Purpose:
-->
<a:screen
xmlns:a=
"http://www.aurora-framework.org/application"
customizationEnabled=
"true"
>
<a:init-procedure>
<a:model-query
fetchAll=
"true"
model=
"gld.gld_currency_vl"
rootPath=
"acr515_currency_list"
/>
<a:model-query
fetchAll=
"true"
model=
"acr.ACR512.acr_invoice_business_type_list"
rootPath=
"acr515_business_type_list"
/>
</a:init-procedure>
<a:view>
<a:link
id=
"bmLink_vat_pause_or_submit"
model=
"acr.ACR515.acr_invoice_vat"
modelaction=
"batch_update"
/>
<a:link
id=
"bmLink_vat_receive"
model=
"acr.ACR515.acr_invoice_vat"
modelaction=
"execute"
/>
<a:link
id=
"acr515_update_post_link"
url=
"${/request/@context_path}/modules/acr/ACR515/acr_invoice_insert_tmp.svc"
/>
<a:link
id=
"acr515_interface_excel_link"
url=
"${/request/@context_path}/modules/acr/ACR515/acr_invoice_interface_excel_sheets.svc"
/>
<a:link
id=
"acr515_interface_network_link"
url=
"${/request/@context_path}/modules/acr/ACR515/acr_invoice_interface_network_sheets.svc"
/>
<a:link
id=
"acr515_interface_import_link"
url=
"${/request/@context_path}/modules/acr/ACR515/hls_acr_vat_import_data.screen"
/>
<a:screen-include
screen=
"modules/hls/hls_common_javascript.screen"
/>
<script>
<![CDATA[
function acr515_invoice_query() {
$('acr515_invoiceVatDs').query();
}
function acr515_invoice_refresh() {
var ds = $('acr515_invoiceVatDs');
ds.query(ds.currentPage);
}
function acr515_invoice_reset() {
$('acr515_invoiceVatParaDs').reset();
}
function onUpdate_acr515_invoiceVatParaDs(ds, record, name, value, oldVlaue) {
if (name == 'document_number_f') {
if (Aurora.isEmpty(record.get('document_number_t'))) {
record.set('document_number_t', value);
}
} else if (name == 'project_number_f') {
if (Aurora.isEmpty(record.get('project_number_t'))) {
record.set('project_number_t', value);
}
} else if (name == 'invoice_number_f') {
if (Aurora.isEmpty(record.get('invoice_number_t'))) {
record.set('invoice_number_t', value);
}
} else if (name == 'contract_number_f') {
if (Aurora.isEmpty(record.get('contract_number_t'))) {
record.set('contract_number_t', value);
}
} else if (name == 'invoice_bp_code_f') {
if (Aurora.isEmpty(record.get('invoice_bp_code_t'))) {
record.set('invoice_bp_code_t', value);
}
} else if (name == 'total_amount_f') {
if (Aurora.isEmpty(record.get('total_amount_t'))) {
record.set('total_amount_t', value);
}
}
// if(Ext.isEmpty(record.get('project_number_f'))&&Ext.isEmpty(record.get('project_number_t')))
// {
// record.set('query_project_number','');
// }
// else
// {
// record.set('query_project_number','Y');
// }
// if(Ext.isEmpty(record.get('contract_number_f'))&&Ext.isEmpty(record.get('contract_number_t')))
// {
// record.set('query_contract_number','');
// }
// else
// {
// record.set('query_contract_number','Y');
// }
}
function onSubmitSuccess_acr515_invoiceVatDs(ds) {
acr515_invoice_refresh();
}
function invoiceVat_submitHandle(datas) {
Aurora.request({
url: $('bmLink_vat_pause_or_submit').getUrl(),
para: datas,
success: function(res) {
f_hls.winNoMask();
Aurora.SideBar.show({
msg: '${l:HLS.SUBMIT_SUCCESS}',
duration: 2000
});
acr515_invoice_refresh();
},
failure: function() {
f_hls.winNoMask();
},
error: function() {
f_hls.winNoMask();
},
scope: this
});
}
function acr515_vat_receive() {
Aurora.request({
url: $('bmLink_vat_receive').getUrl(),
para: {},
success: function(res) {
f_hls.winNoMask();
Aurora.SideBar.show({
msg: '${l:HLS.SUBMIT_SUCCESS}',
duration: 2000
});
acr515_invoice_refresh();
},
failure: function() {
f_hls.winNoMask();
},
error: function() {
f_hls.winNoMask();
},
scope: this
});
}
function acr515_vat_create() {
f_hls.winMask();
var ds = $('acr515_invoiceVatDs');
var records = ds.getSelected();
if (records.length == 0) {
f_hls.winNoMask();
return;
}
var datas = [];
for (var i = 0;i < records.length;i++) {
var obj = {};
obj['invoice_hd_id'] = records[i].get('invoice_hd_id');
obj['_status'] = 'insert';
datas[i] = obj;
}
invoiceVat_submitHandle(datas);
}
function acr515_vat_handle_pause(type) {
f_hls.winMask();
var ds = $('acr515_invoiceVatDs');
var records = ds.getSelected();
if (records.length == 0) {
f_hls.winNoMask();
return;
}
var datas = [];
for (var i = 0;i < records.length;i++) {
var obj = {};
obj['invoice_hd_id'] = records[i].get('invoice_hd_id');
obj['type'] = type;
obj['_status'] = 'update';
datas[i] = obj;
}
invoiceVat_submitHandle(datas);
}
function acr515_vat_pause() {
acr515_vat_handle_pause('PAUSE');
}
function acr515_vat_cancel_pause() {
acr515_vat_handle_pause('CANCEL');
}
function acr515_vat_delete() {
var ds = $('acr515_invoiceVatDs');
var records = ds.getSelected();
if (records.length == 0) {
return;
}
var datas = [];
for (var i = 0;i < records.length;i++) {
var obj = {};
obj['invoice_hd_id'] = records[i].get('invoice_hd_id');
obj['_status'] = 'delete';
datas[i] = obj;
}
invoiceVat_submitHandle(datas);
}
function acr515_invoice_post() {
debugger;
var ds = $('acr515_invoiceVatDs');
var records = ds.getSelected();
if (records.length == 0) {
Aurora.showMessage('提示', '请选择要开票的数据');
return;
}
var param = {};
var saveData = [];
//var kind = $('acr515_invoiceVatParaDs').getAt(0).get('invoice_kind');
// if (kind=='0') { //如果是转票弹出 正常金税发票
// url = $('acr515_interface_excel_link').getUrl();
// } else {//否则弹出电子发票
// url = $('acr515_interface_network_link').getUrl();
// }
var detail_mask = Ext.getBody();
Aurora.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
for (var i = 0;i < records.length;i++) {
saveData.push({
'invoice_hd_id': records[i].get('invoice_hd_id'),
'_status': 'insert'
});
}
param['details'] = saveData;
Aurora.request({
url: $('acr515_update_post_link').getUrl(),
para: param,
success: function() {
Aurora.Masker.unmask(detail_mask);
var _url=$('acr515_interface_excel_link').getUrl();
window.open(_url);
ds.query();
},
failure: function() {
Aurora.Masker.unmask(detail_mask);
},
error: function() {
Aurora.Masker.unmask(detail_mask);
},
scope: this
});
}
function acr515_invoice_import(){
var kind = $('acr515_invoiceVatParaDs').getAt(0).get('invoice_kind');
window.location.href = $('acr515_interface_import_link').getUrl()+'?kind='+kind;
}
function summaryRenderer(datas, name) {
var sum=0;
var sum1=0;
var sum2=0;
if(name=="invoice_title"){
return '合计:<font color="red">
</font>
';
}
if(name=="total_amount"){
for(var i=0;i
<datas.length
;i++){
var
record=
datas[i];
var
payment_amount_vl=
record.get("total_amount");
var
payment_amount=
parseFloat(payment_amount_vl);
if(!isNaN(payment_amount)){
sum+=payment_amount;
}
}
return
'<font
color=
"red"
>
' + Aurora.formatNumber(sum ,2)+ '
</font>
';
}
if(name=="tax_amount"){
for(var j=0;j
<datas.length
;j++){
var
record1=
datas[j];
var
payment_amount_vl1=
record1.get("tax_amount");
var
payment_amount1=
parseFloat(payment_amount_vl1);
if(!isNaN(payment_amount1)){
sum1+=payment_amount1;
}
}
return
'<font
color=
"red"
>
' + Aurora.formatNumber(sum1 ,2)+ '
</font>
';
}
if(name=="net_amount"){
for(var k=0;k
<datas.length
;k++){
var
record2=
datas[k];
var
payment_amount_vl2=
record2.get("net_amount");
var
payment_amount2=
parseFloat(payment_amount_vl2);
if(!isNaN(payment_amount2)){
sum2+=payment_amount2;
}
}
return
'<font
color=
"red"
>
' + Aurora.formatNumber(sum2 ,2)+ '
</font>
';
}
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"acr515_businessTypeDs"
>
<a:datas
dataSource=
"/model/acr515_business_type_list"
/>
</a:dataSet>
<a:dataSet
id=
"acr515_currencyDs"
>
<a:datas
dataSource=
"/model/acr515_currency_list"
/>
</a:dataSet>
<a:dataSet
id=
"acr515_invoiceKindDs"
lookupCode=
"ACR510_INVOICE_KIND"
/>
<a:dataSet
id=
"acr515_invoiceStatusDs"
lookupCode=
"ACR510_AR_INVOICE_STATUS"
/>
<a:dataSet
id=
"acr515_express_status_ds"
lookupCode=
"ACR518_EXPRESS_STATUS"
/>
<a:dataSet
id=
"acr515_vat_interface_status_ds"
lookupCode=
"ACR515_VAT_INTERFACE_STATUS"
/>
<a:dataSet
id=
"acr515_invoiceVatParaDs"
autoCreate=
"true"
model=
"acr.acr_invoice_hd_v"
>
<a:fields>
<a:field
name=
"currency_desc"
displayField=
"currency_name"
options=
"acr515_currencyDs"
returnField=
"currency"
valueField=
"currency_code"
/>
<a:field
name=
"invoice_kind"
defaultValue=
"2"
/>
<a:field
name=
"invoice_kind_desc"
defaultValue=
"普通发票"
displayField=
"code_value_name"
options=
"acr515_invoiceKindDs"
required=
"true"
returnField=
"invoice_kind"
valueField=
"code_value"
/>
<a:field
name=
"invoice_status_desc"
displayField=
"code_value_name"
options=
"acr515_invoiceStatusDs"
returnField=
"invoice_status"
valueField=
"code_value"
/>
<a:field
name=
"vat_interface_status"
defaultValue=
"UNTRANSFERED"
/>
<a:field
name=
"vat_interface_status_desc"
defaultValue=
"未传金税"
displayField=
"code_value_name"
options=
"acr515_vat_interface_status_ds"
returnField=
"vat_interface_status"
valueField=
"code_value"
/>
<a:field
name=
"business_type_desc"
displayField=
"business_type_desc"
options=
"acr515_businessTypeDs"
returnField=
"business_type"
valueField=
"business_type"
/>
<a:field
name=
"created_by_name"
lovGridHeight=
"320"
lovHeight=
"500"
lovService=
"acr.ACR512.acr_invoice_sys_user_lov"
lovWidth=
"500"
title=
"ACR.CREATED_BY_NAME"
>
<a:mapping>
<a:map
from=
"user_id"
to=
"created_by"
/>
<a:map
from=
"description"
to=
"created_by_name"
/>
</a:mapping>
</a:field>
<a:field
name=
"confirmed_by_name"
lovGridHeight=
"320"
lovHeight=
"500"
lovService=
"acr.ACR512.acr_invoice_sys_user_lov"
lovWidth=
"500"
title=
"ACR.CONFIRMED_BY_NAME"
>
<a:mapping>
<a:map
from=
"user_id"
to=
"confirmed_by"
/>
<a:map
from=
"description"
to=
"confirmed_by_name"
/>
</a:mapping>
</a:field>
<a:field
name=
"invoice_bp_code_f"
lovGridHeight=
"320"
lovHeight=
"480"
lovService=
"acr.ACR512.acr_invoice_bp_master_list"
lovWidth=
"500"
title=
"ACR.INVOICE_BP_CODE"
>
<a:mapping>
<a:map
from=
"bp_code"
to=
"invoice_bp_code_f"
/>
</a:mapping>
</a:field>
<a:field
name=
"invoice_bp_code_t"
lovGridHeight=
"320"
lovHeight=
"480"
lovService=
"acr.ACR512.acr_invoice_bp_master_list"
lovWidth=
"500"
title=
"ACR.INVOICE_BP_CODE"
>
<a:mapping>
<a:map
from=
"bp_code"
to=
"invoice_bp_code_t"
/>
</a:mapping>
</a:field>
<a:field
name=
"project_number_f"
lovGridHeight=
"320"
lovHeight=
"480"
lovService=
"acr.ACR512.acr_invoice_project_list"
lovWidth=
"500"
title=
"HLS.PROJECT_NUMBER_FROM"
>
<a:mapping>
<a:map
from=
"project_number"
to=
"project_number_f"
/>
</a:mapping>
</a:field>
<a:field
name=
"project_number_t"
lovGridHeight=
"320"
lovHeight=
"480"
lovService=
"acr.ACR512.acr_invoice_project_list"
lovWidth=
"500"
title=
"HLS.PROJECT_NUMBER_FROM"
>
<a:mapping>
<a:map
from=
"project_number"
to=
"project_number_t"
/>
</a:mapping>
</a:field>
<a:field
name=
"contract_number_f"
lovGridHeight=
"320"
lovHeight=
"480"
lovService=
"acr.ACR512.acr_invoice_contract_list"
lovWidth=
"500"
title=
"HLS.CONTRACT_NUMBER_FROM"
>
<a:mapping>
<a:map
from=
"contract_number"
to=
"contract_number_f"
/>
</a:mapping>
</a:field>
<a:field
name=
"contract_number_t"
lovGridHeight=
"320"
lovHeight=
"480"
lovService=
"acr.ACR512.acr_invoice_contract_list"
lovWidth=
"500"
title=
"HLS.CONTRACT_NUMBER_FROM"
>
<a:mapping>
<a:map
from=
"contract_number"
to=
"contract_number_t"
/>
</a:mapping>
</a:field>
<a:field
name=
"received_flag"
checkedValue=
"Y"
defaultValue=
"N"
uncheckedValue=
"N"
/>
<a:field
name=
"express_status_name"
displayField=
"code_value_name"
options=
"acr515_express_status_ds"
returnField=
"express_status"
valueField=
"code_value"
/>
</a:fields>
<a:events>
<a:event
name=
"update"
handler=
"onUpdate_acr515_invoiceVatParaDs"
/>
</a:events>
</a:dataSet>
<a:dataSet
id=
"acr515_invoiceVatDs"
autoPageSize=
"true"
maxPageSize=
"10000"
model=
"acr.acr_invoice_hd_v"
queryDataSet=
"acr515_invoiceVatParaDs"
selectable=
"true"
>
<a:fields>
<![CDATA[
]]>
</a:fields>
<a:events>
<a:event
name=
"submitsuccess"
handler=
"onSubmitSuccess_acr515_invoiceVatDs"
/>
</a:events>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:screenTitle/>
<a:gridButton
click=
"acr515_invoice_query"
text=
"HLS.QUERY"
/>
<a:gridButton
click=
"acr515_invoice_reset"
text=
"HLS.RESET"
/>
<a:gridButton
click=
"acr515_invoice_post"
text=
"开票"
/>
<a:gridButton
click=
"acr515_invoice_import"
text=
"导入开票结果"
/>
<!-- <a:gridButton click="acr515_vat_pause" text="暂挂"/>
<a:gridButton click="acr515_vat_cancel_pause" text="取消暂挂"/>
<a:gridButton click="acr515_vat_create" text="传入接口"/>
<a:gridButton click="acr515_vat_delete" text="删除接口"/>
<a:gridButton click="acr515_vat_receive" text="更新开票信息"/> -->
</a:screenTopToolbar>
<a:form
column=
"1"
marginWidth=
"30"
padding=
"0"
>
<a:hBox
labelSeparator=
" "
>
<a:textField
name=
"document_number_f"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
"HLS.DOCUMENT_NUMBER_FROM"
width=
"135"
/>
<div>
<![CDATA[${l:HLS.DOCUMENT_NUMBER_TO}]]>
</div>
<a:textField
name=
"document_number_t"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
""
width=
"135"
/>
<a:lov
name=
"project_number_f"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
"HLS.PROJECT_NUMBER_FROM"
width=
"135"
/>
<div>
<![CDATA[${l:HLS.DOCUMENT_NUMBER_TO}]]>
</div>
<a:lov
name=
"project_number_t"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
""
width=
"135"
/>
<a:comboBox
name=
"business_type_desc"
bindTarget=
"acr515_invoiceVatParaDs"
width=
"135"
/>
<a:comboBox
name=
"currency_desc"
bindTarget=
"acr515_invoiceVatParaDs"
width=
"135"
/>
</a:hBox>
<a:hBox
labelSeparator=
" "
>
<a:textField
name=
"invoice_number_f"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
"ACR.INVOICE_NUMBER_FROM"
width=
"135"
/>
<div>
<![CDATA[${l:ACR.INVOICE_NUMBER_TO}]]>
</div>
<a:textField
name=
"invoice_number_t"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
""
width=
"135"
/>
<a:lov
name=
"contract_number_f"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
"HLS.CONTRACT_NUMBER_FROM"
width=
"135"
/>
<div>
<![CDATA[${l:HLS.CONTRACT_NUMBER_TO}]]>
</div>
<a:lov
name=
"contract_number_t"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
""
width=
"135"
/>
<a:comboBox
name=
"invoice_kind_desc"
bindTarget=
"acr515_invoiceVatParaDs"
width=
"135"
/>
<a:lov
name=
"created_by_name"
bindTarget=
"acr515_invoiceVatParaDs"
width=
"135"
/>
</a:hBox>
<a:hBox
labelSeparator=
" "
>
<a:datePicker
name=
"invoice_date_f"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
"ACR.INVOICE_DATE_FROM"
width=
"135"
/>
<div>
<![CDATA[${l:ACR.INVOICE_DATE_TO}]]>
</div>
<a:datePicker
name=
"invoice_date_t"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
""
width=
"135"
/>
<a:lov
name=
"invoice_bp_code_f"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
"HLS.CUSTOMER_NUMBER_FROM"
width=
"135"
/>
<div>
<![CDATA[${l:HLS.CUSTOMER_NUMBER_TO}]]>
</div>
<a:lov
name=
"invoice_bp_code_t"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
""
width=
"135"
/>
<a:textField
name=
"invoice_title"
bindTarget=
"acr515_invoiceVatParaDs"
width=
"135"
/>
<a:lov
name=
"confirmed_by_name"
bindTarget=
"acr515_invoiceVatParaDs"
width=
"135"
/>
</a:hBox>
<a:hBox
labelSeparator=
" "
>
<a:datePicker
name=
"accounting_date_f"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
"HLS.ACCOUNT_DATE_FROM"
width=
"135"
/>
<div>
<![CDATA[${l:HLS.ACCOUNT_DATE_TO}]]>
</div>
<a:datePicker
name=
"accounting_date_t"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
""
width=
"135"
/>
<a:numberField
name=
"total_amount_f"
allowFormat=
"true"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
"ACR.TOTAL_AMOUNT_FROM"
width=
"135"
/>
<div>
<![CDATA[${l:ACR.TOTAL_AMOUNT_TO}]]>
</div>
<a:numberField
name=
"total_amount_t"
allowFormat=
"true"
bindTarget=
"acr515_invoiceVatParaDs"
prompt=
""
width=
"135"
/>
<a:comboBox
name=
"invoice_status_desc"
bindTarget=
"acr515_invoiceVatParaDs"
width=
"135"
/>
<a:comboBox
name=
"vat_interface_status_desc"
bindTarget=
"acr515_invoiceVatParaDs"
width=
"135"
/>
</a:hBox>
</a:form>
<a:grid
id=
"acr515_invoiceVatDs_grid"
bindTarget=
"acr515_invoiceVatDs"
marginHeight=
"240"
marginWidth=
"30"
navBar=
"true"
>
<a:columns>
<a:column
name=
"contract_number"
width=
"120"
/>
<a:column
name=
"document_number"
lock=
"true"
width=
"120"
/>
<a:column
name=
"business_type_desc"
width=
"80"
/>
<a:column
name=
"invoice_kind_desc"
width=
"100"
/>
<a:column
name=
"invoice_number"
width=
"120"
/>
<a:column
name=
"invoice_date"
renderer=
"Aurora.formatDate"
width=
"100"
/>
<a:column
name=
"invoice_bp_code"
width=
"100"
/>
<a:column
name=
"invoice_bp_name"
autoAdjust=
"false"
showTitle=
"true"
width=
"150"
/>
<a:column
name=
"invoice_title"
autoAdjust=
"false"
footerRenderer=
"summaryRenderer"
showTitle=
"true"
width=
"150"
/>
<a:column
name=
"total_amount"
align=
"right"
footerRenderer=
"summaryRenderer"
renderer=
"Aurora.formatMoney"
width=
"100"
/>
<a:column
name=
"tax_amount"
align=
"right"
footerRenderer=
"summaryRenderer"
renderer=
"Aurora.formatMoney"
width=
"100"
/>
<a:column
name=
"net_amount"
align=
"right"
footerRenderer=
"summaryRenderer"
renderer=
"Aurora.formatMoney"
width=
"100"
/>
<a:column
name=
"currency"
width=
"80"
/>
<a:column
name=
"created_by_name"
autoAdjust=
"false"
showTitle=
"true"
width=
"150"
/>
<a:column
name=
"confirmed_by_name"
autoAdjust=
"false"
showTitle=
"true"
width=
"150"
/>
<a:column
name=
"invoice_status_desc"
width=
"100"
/>
<a:column
name=
"vat_interface_status_desc"
width=
"100"
/>
<a:column
name=
"accounting_date"
renderer=
"Aurora.formatDate"
width=
"100"
/>
<!-- <a:column name="create_je_flag" width="60"/> -->
</a:columns>
</a:grid>
</a:screenBody>
</a:view>
</a:screen>
src/main/webapp/modules/acr/ACR515/hls_acr_vat_import_data.screen
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/modules/acr/ACR515/hls_acr_vat_import_showerrors.screen
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/modules/acr/ACR515/hls_acr_vat_import_trans_upload.screen
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/modules/acr/ACR515/hls_acr_vat_import_upload.screen
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/modules/csh/CSH501/csh_payment_contract_export.lsc
0 → 100644
View file @
c5a010e9
<?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>
src/main/webapp/modules/csh/CSH501/payment_apply_content.xml
0 → 100644
View file @
c5a010e9
<doc
top=
"1"
bottom=
"0"
left=
"3"
right=
"3"
header=
"1"
footer=
"1"
docGridType=
"lines"
docGridLinePitch=
"312"
pgSzW=
"15000"
pgSzH=
"16838"
pgSzCode=
"9"
>
<settings
characterSpacingControl=
"compressPunctuation"
drawingGridHorizontalSpacing=
"105"
drawingGridVerticalSpacing=
"156"
displayHorizontalDrawingGridEvery=
"0"
displayVerticalDrawingGridEvery=
"2"
>
</settings>
<header>
<p
align=
"left"
>
<pbdr>
<bottom
/>
</pbdr>
<t
fontSize=
"28"
fontFamily=
"仿宋_GB2312"
>
立项编号:${chance_number!}
</t>
</p>
</header>
<footer>
<p
align=
"center"
line=
"200"
after=
"0"
>
<t
fontSize=
"18"
fontFamily=
"Times New Roman"
fldCharType=
"true"
>
PAGE \* MERGEFORMAT
</t>
</p>
</footer>
<body>
<p
align=
"center"
line=
"400"
>
<t
bold=
"true"
fontFamily=
"宋体"
fontSize=
"20"
fontColor=
"000000"
>
付款请求书
</t>
</p>
<p
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
宏菱融资租赁(上海)有限公司:
</t>
</p>
<p
indFirstLine=
"2"
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
非常感谢贵司长期以来的支持与帮助!
</t>
</p>
<p
indFirstLine=
"2"
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
我司在2019年7月向贵司销售6台机器,具体委托明细如下:
</t>
</p>
<p
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
备注:以上款项如核对无误,烦请贵司向我司付款1017548.9元,向日立建机付款6333366.1元。特此申请!
</t>
</p>
<p
indFirstLine=
"2"
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
本公司和日立建机(上海)有限公司的一切债权债务关系由本公司和日立建机(上海)有限公司自行解决和宏菱融资租赁(上海)有限公司无关。
</t>
</p>
<p
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
烦请贵司将款项汇至以下账号:
</t>
</p>
<p
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
开户名:重庆日和东浦工程机械有限公司 开户名:日立建机(上海)有限公司
</t>
</p>
<p
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
开户行:重庆农商行北碚支行蔡家分理处 开户行:三菱东京日联银行(中国)有限公司
</t>
</p>
<p
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
账号:0707 0101 2001 0002503 账号:404029-00000322512
</t>
</p>
<p
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
委托收款人确认金额无误 委托公司名称:重庆日和东浦工程机械有限公司
</t>
</p>
<p
indFirstLine=
"1"
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
收款人:日立建机(上海)有限公司(盖章) 申请日期:2019年8月2日
</t>
</p>
<p
indFirstLine=
"8"
line=
"400"
>
<t
fontFamily=
"宋体"
fontSize=
"10"
fontColor=
"000000"
>
确认日期:
</t>
</p>
</body>
<!--<body>
<p align="center" indFirstLine="1"><t bold="true" fontFamily="宋体" fontSize="36">北京国资融资租赁股份有限公司 </t></p>
<p align="center" indFirstLine="1"><t bold="true" fontFamily="宋体" fontSize="36">融资租赁项目立项审批表</t></p>
<p/>
<p align="left" indFirstLine="0"><t bold="true" fontFamily="宋体" fontSize="28">一、项目基本信息 </t></p>
<tbl>
<tr height="1.2" >
<tc width="4"><p align="center"><t fontSize="20" fontFamily="宋体">项目名称</t></p></tc>
<tc width="12" span="3"><p algin="left"><t fontSize="20" fontFamily="宋体">${project_name!}</t></p></tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">业务种类</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${business_type_n!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">项目类型</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${project_type_n!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">项目来源</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${chance_source_n!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">所属行业(大类)</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${industry_big_n!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">所属部门</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${lease_organization_n!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">所属行业(中类)</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${industry_medium_n!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">项目经理</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${employee_id_n!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">所属行业(小类)</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${industry_small_n!}</t></p>
</tc>
</tr>
</tbl>
<#if model.getObject('/model/bp_master').getChilds()??>
<#list model.getObject("/model/bp_master").getChilds() as bp>
<tbl>
<tr height="1.2">
<tc width="16" span="4">
<p align="center"><t fontSize="20" fontFamily="宋体">承租人信息</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">法人代表姓名</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.legal_person!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">实际控制人</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.actual_controller!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">营业执照号码</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.business_license_num!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">组织机构代码</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.organization_code!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">注册资本(万元)</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.registered_capital!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">实收资本(万元)</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.paid_up_capital!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">成立日期</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.founded_date!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">企业性质</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.company_nature_n!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">职工人数</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.workers_number!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">是否老客户</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.regular_customer_n!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">中高级技术人员占比</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.technical_person_rate!}%</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体"></t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体"></t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">经营范围</t></p>
</tc>
<tc width="12" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.bussiness_scope!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">主营业务</t></p>
</tc>
<tc width="12" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.primary_business!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">注册地址</t></p>
</tc>
<tc width="12" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp.registered_place!}</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="16" span="4">
<p align="center"><t fontSize="20" fontFamily="宋体">联系人信息</t></p>
</tc>
</tr>
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">姓名</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">职务</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">任职年限</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">联系方式</t></p>
</tc>
</tr>
<#if model.getObject('/model/cont').getChilds()??>
<#list model.getObject("/model/cont").getChilds() as contact_r>
<#if "${contact_r.getString('bp_id')!''}" == "${bp.getString('bp_id')!''}" >
<tr height="1.2">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${contact_r.contact_person!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${contact_r.position_n!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${contact_r.working_years!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">${contact_r.cell_phone!}</t></p>
</tc>
</tr>
</#if>
</#list>
</#if>
</tbl>
</#list>
</#if>
<p/>
<br/>
<p align="left" indFirstLine="0"><t bold="true" fontFamily="宋体" fontSize="28">二、项目概况</t></p>
<tbl>
<tr height="3.6">
<tc width="1.5">
<p align="center"><t fontSize="20" fontFamily="宋体">承租企业所处行业概述</t></p>
</tc>
<tc width="14.5">
<p align="left"><t fontSize="20" fontFamily="宋体">${tenant_industy_desc!}</t></p>
</tc>
</tr>
<tr height="3.6">
<tc width="1.5">
<p align="center"><t fontSize="20" fontFamily="宋体">承租人概况</t></p>
</tc>
<tc width="14.5">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp_tenant_desc!}</t></p>
</tc>
</tr>
<tr height="3.6">
<tc width="1.5">
<p align="center"><t fontSize="20" fontFamily="宋体">相关建设项目简介</t></p>
</tc>
<tc width="14.5">
<p align="left"><t fontSize="20" fontFamily="宋体">${build_info_desc!}</t></p>
</tc>
</tr>
<tr height="3.6">
<tc width="1.5">
<p align="center"><t fontSize="20" fontFamily="宋体">还款来源</t></p>
</tc>
<tc width="14.5">
<p align="left"><t fontSize="20" fontFamily="宋体">${payment_source!}</t></p>
</tc>
</tr>
<tr height="3.6">
<tc width="1.5">
<p align="center"><t fontSize="20" fontFamily="宋体">项目主要风险和应对方案</t></p>
</tc>
<tc width="14.5">
<p align="left"><t fontSize="20" fontFamily="宋体">${risk_response_plan!}</t></p>
</tc>
</tr>
</tbl>
<p/>
<p align="left" indFirstLine="0"><t bold="true" fontFamily="宋体" fontSize="28">三、租赁方案</t></p>
<p/>
<p align="right" indFirstLine="0"><t bold="false" fontFamily="宋体" fontSize="20">元</t></p>
<tbl>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">租赁物件</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${lease_item_short_name!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">计息金额</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${finance_amount!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">租赁年限(年)</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${lease_term!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">租金支付方式</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${pay_type_n!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">保证金</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${deposit!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">租赁利率</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${int_rate!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">租赁手续费</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${lease_charge!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">每期租金</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${pmt!}(如租金计算方式为非等额本息,请在【租赁方案说明】中进行补充)</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">租金总额</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${contract_amount!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">IRR(预计)</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${irr!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">XIRR(预计)</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${xirr!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">优惠留购价款</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${residual_value!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">留购价款</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${hd_user_col_n03!}</t></p>
</tc>
</tr>
<tr height="4">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">租赁方案说明</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${lease_programme_description!}</t></p>
</tc>
</tr>
</tbl>
<p/>
<p align="left" indFirstLine="0"><t bold="true" fontFamily="宋体" fontSize="28">四、增信措施</t></p>
<p/>
<tbl>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">担保</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${grt_info!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">抵押</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${mortgage_info!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">质押</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${pledge_info!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="3">
<p align="center"><t fontSize="20" fontFamily="宋体">其他</t></p>
</tc>
<tc width="13" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${others_info!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="16" span="4">
<p align="left"><t fontSize="20" fontFamily="宋体">担保企业基本信息</t></p>
</tc>
</tr>
<#if model.getObject('/model/bp').getChilds()??>
<#list model.getObject("/model/bp").getChilds() as bp_d>
<tr height="0.7">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">企业名称</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp_d.bp_id_d_n!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">所属行业</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp_d.industry_small_d!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">成立日期</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp_d.setup_date!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">注册资本(万元)</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp_d.registered_capital_d!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">职工人数</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp_d.workers_number_d!}</t></p>
</tc>
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">是否老客户</t></p>
</tc>
<tc width="4">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp_d.regular_customer_n!}</t></p>
</tc>
</tr>
<tr height="0.7">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">主营业务</t></p>
</tc>
<tc width="12" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp_d.primary_business_d!}</t></p>
</tc>
</tr>
<tr height="2.1">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">企业介绍</t></p>
</tc>
<tc width="12" span="3">
<p align="left"><t fontSize="20" fontFamily="宋体">${bp_d.ref_v02!}</t></p>
</tc>
</tr>
</#list>
</#if>
</tbl>
<br/>
<tbl>
<tr height="5">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">部门负责人意见</t></p>
</tc>
<tc width="12" span="3">
<p line="2000"/>
<p align="left"><t fontSize="24" fontFamily="宋体"> 签名: 年 月 日</t></p>
</tc>
</tr>
<tr height="5">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">风险管理部经理意见</t></p>
</tc>
<tc width="12" span="3">
<p line="2000"/>
<p align="left"><t fontSize="24" fontFamily="宋体"> 签名: 年 月 日</t></p>
</tc>
</tr>
<tr height="5">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">金融市场部经理意见</t></p>
</tc>
<tc width="12" span="3">
<p line="2000"/>
<p align="left"><t fontSize="24" fontFamily="宋体"> 签名: 年 月 日</t></p>
</tc>
</tr>
<tr height="5">
<tc width="4">
<p align="center"><t fontSize="20" fontFamily="宋体">分管领导意见</t></p>
</tc>
<tc width="12" span="3">
<p line="2000"/>
<p align="left"><t fontSize="24" fontFamily="宋体"> 签名: 年 月 日</t></p>
</tc>
</tr>
</tbl>
</body>-->
</doc>
\ No newline at end of file
src/main/webapp/modules/csh/CSH501/payment_req_apply_print.lview
0 → 100644
View file @
c5a010e9
<?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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment