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
bf06dfbe
Commit
bf06dfbe
authored
Nov 04, 2021
by
23459
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I-7715 【建机】汇联易上传材料批量打印优化
parent
5df3c0f4
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1399 additions
and
0 deletions
+1399
-0
csh_deposit_cashflow_query.lwm
...us_deposit/CUS_DEPOSIT106N/csh_deposit_cashflow_query.lwm
+79
-0
csh_get_detail_attachment.lwm
...cus_deposit/CUS_DEPOSIT106N/csh_get_detail_attachment.lwm
+48
-0
csh_return_detail_execute.lwm
...cus_deposit/CUS_DEPOSIT106N/csh_return_detail_execute.lwm
+48
-0
csh_return_system_parameter.lwm
...s_deposit/CUS_DEPOSIT106N/csh_return_system_parameter.lwm
+25
-0
csh_transaction_maintain_query.lwm
...eposit/CUS_DEPOSIT106N/csh_transaction_maintain_query.lwm
+187
-0
csh_transaction_return_query.lwm
..._deposit/CUS_DEPOSIT106N/csh_transaction_return_query.lwm
+72
-0
hls_doc_file_templet_get_atm.lwm
..._deposit/CUS_DEPOSIT106N/hls_doc_file_templet_get_atm.lwm
+151
-0
csh_return_detail_history_print.lsc
...posit/CUS_DEPOSIT106N/csh_return_detail_history_print.lsc
+231
-0
csh_transaction_return.lview
.../cus_deposit/CUS_DEPOSIT106N/csh_transaction_return.lview
+169
-0
csh_transaction_return_detail.lview
...posit/CUS_DEPOSIT106N/csh_transaction_return_detail.lview
+92
-0
cus_deposit_write_off_return_maintain.lview
...S_DEPOSIT106N/cus_deposit_write_off_return_maintain.lview
+297
-0
No files found.
src/main/webapp/WEB-INF/classes/cus_deposit/CUS_DEPOSIT106N/csh_deposit_cashflow_query.lwm
0 → 100644
View file @
bf06dfbe
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 26887cz
$Date: 2021-10-14 下午03:16:44
$Revision: 1.0
$Purpose: 保证金退款打印
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
baseTable=
"CSH_DEPOSIT_CASHFLOW"
alias=
"t"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select * from (select (select hb.bp_name
from hls_bp_master hb, con_contract cc
where cc.contract_id = ct.ref_contract_id
and hb.bp_id = cc.bp_id_agent_level1) AS bp_name_n,
(select cc.contract_number
from con_contract cc
where cc.contract_id = ct.ref_contract_id) AS contract_number,
(select hb.bp_code
from hls_bp_master hb, con_contract cc
where cc.contract_id = ct.ref_contract_id
and hb.bp_id = cc.bp_id_tenant) AS bp_id_telnet_code,
(select hb.bp_name
from hls_bp_master hb, con_contract cc
where cc.contract_id = ct.ref_contract_id
and hb.bp_id = cc.bp_id_tenant) AS bp_id_telnet_n,
cr.return_date,
to_char(cr.return_date,'yyyy-MM-dd') AS return_date_n,
cr.this_return_amount,
cr.left_amount,
cr.bp_bank_account_name,
cr.opposite_band_na,
(select a.bank_account_num
from csh_bank_account a
where a.bank_account_id = cr.csh_return_atm_id) AS bank_account_num,
(select su.description
from sys_user su
where su.user_id = cr.created_by) AS user_desc,
decode((select count(1)
from HLS_JOURNAL_HEADER hh, hls_journal_detail hd
where hh.journal_header_id = hd.journal_header_id
and hh.source_table = 'CSH_TRANSACTION'
and hh.source_id = cr.transaction_id
and hh.je_transaction_code = 'CSH_WRITE_OFF_CM'
and hd.amount_cr = cr.return_amount),
0,
'否',
'是') journal_flag,
cr.return_id,
cr.transaction_id,
cr.csh_return_atm_id
from csh_transaction_return cr, csh_transaction ct
where cr.status = 'APPROVED'
and cr.return_type = 'DEPOSIT'
and cr.transaction_id = ct.transaction_id
order by cr.return_date desc) t1
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:query-fields>
<bm:query-field
name=
"return_date_from"
queryExpression=
"t1.return_date >= to_date(${@return_date_from},'yyyy-mm-dd')"
/>
<bm:query-field
name=
"return_date_to"
queryExpression=
"t1.return_date <= to_date(${@return_date_to},'yyyy-mm-dd')"
/>
<bm:query-field
name=
"this_return_amount_from"
queryExpression=
"t1.this_return_amount >= ${@this_return_amount_from}"
/>
<bm:query-field
name=
"this_return_amount_to"
queryExpression=
"t1.this_return_amount <= ${@this_return_amount_to}"
/>
<bm:query-field
name=
"left_amount_from"
queryExpression=
"t1.left_amount >= ${@left_amount_from}"
/>
<bm:query-field
name=
"left_amount_to"
queryExpression=
"t1.left_amount <= ${@left_amount_to}"
/>
<bm:query-field
name=
"contract_number"
queryExpression=
"t1.contract_number like '%'||${@contract_number}||'%'"
/>
<bm:query-field
name=
"bp_id_telnet_n"
queryExpression=
"t1.bp_id_telnet_n like '%'||${@bp_id_telnet_n}||'%'"
/>
<bm:query-field
name=
"bp_name_n"
queryExpression=
"t1.bp_name_n like '%'||${@bp_name_n}||'%'"
/>
<bm:query-field
name=
"user_desc"
queryExpression=
"t1.user_desc like '%'||${@user_desc}||'%'"
/>
<bm:query-field
name=
"bp_bank_account_name"
queryExpression=
"t1.bp_bank_account_name like '%'||${@bp_bank_account_name}||'%'"
/>
<bm:query-field
name=
"opposite_band_na"
queryExpression=
"t1.opposite_band_na like '%'||${@opposite_band_na}||'%'"
/>
<bm:query-field
name=
"bank_account_num"
queryExpression=
"t1.bank_account_num like '%'||${@bank_account_num}||'%'"
/>
<bm:query-field
name=
"return_id"
queryExpression=
"t1.return_id in (${:@return_id})"
/>
</bm:query-fields>
</bm:model>
src/main/webapp/WEB-INF/classes/cus_deposit/CUS_DEPOSIT106N/csh_get_detail_attachment.lwm
0 → 100644
View file @
bf06dfbe
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 26887cz
$Date: 2021-10-14 下午03:16:44
$Revision: 1.0
$Purpose: 保证金退款打印
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:fields>
<bm:field
name=
"file_type"
/>
<bm:field
name=
"table_name"
/>
<bm:field
name=
"table_pk_value"
/>
<bm:field
name=
"attachment_id"
/>
<bm:field
name=
"file_name"
/>
<bm:field
name=
"file_size"
/>
<bm:field
name=
"file_path"
/>
</bm:fields>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
SELECT *
FROM (SELECT fa.attachment_id,
fa.file_name,
fa.file_size,
fa.file_path,
UPPER(fa.file_type_code) file_type,
fam.table_name,
fam.table_pk_value
FROM fnd_atm_attachment fa
LEFT OUTER JOIN fnd_atm_attachment_multi fam
ON fa.attachment_id = fam.attachment_id) fam
WHERE fam.table_name = ${@table_name}
and fam.table_pk_value = ${@table_pk_value}
ORDER BY file_name
]]>
</bm:query-sql>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
hls_doc_file_templet_pkg.init_hls_doc_file_content(
p_document_id =>
${@document_id},
p_document_table =>${@document_table},
p_user_id =>${/session/@user_id});
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/classes/cus_deposit/CUS_DEPOSIT106N/csh_return_detail_execute.lwm
0 → 100644
View file @
bf06dfbe
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 26887cz
$Date: 2021-10-14 下午03:16:44
$Revision: 1.0
$Purpose: 保证金退款打印
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
delete csh_transaction_detail_temp c where c.session_id = ${/session/@session_id};
for c_return_id in (select cr.return_id from csh_transaction_return cr
where cr.return_id in (${:@return_id})) loop
csh_transaction_return_pkg.csh_insert_return_info(
p_return_id =>
c_return_id.return_id,
p_session_id =>${/session/@session_id},
p_user_id =>${/session/@user_id}
);
end loop;
end;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"execute"
>
<bm:update-sql>
<![CDATA[
begin
csh_transaction_return_pkg.check_detail_sbo_num(
p_session_id =>
${/session/@session_id},
p_user_id =>${/session/@user_id}
);
end;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select ct.return_id,t.csh_return_atm_id
from csh_transaction_detail_temp ct, csh_transaction_return t
where t.return_id=ct.return_id and ct.session_id = ${/session/@session_id}
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field
name=
"return_id"
/>
<bm:field
name=
"csh_return_atm_id"
/>
</bm:fields>
</bm:model>
src/main/webapp/WEB-INF/classes/cus_deposit/CUS_DEPOSIT106N/csh_return_system_parameter.lwm
0 → 100644
View file @
bf06dfbe
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:fields>
<bm:field
name=
"return_file_path"
/>
<bm:field
name=
"year"
/>
<bm:field
name=
"month"
/>
<bm:field
name=
"hour"
/>
<bm:field
name=
"minute"
/>
<bm:field
name=
"second"
/>
</bm:fields>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select sys_parameter_pkg.value('CSH_RETURN_FILE_PATH') return_file_path,
to_char(sysdate,'yyyy') year,
to_char(sysdate,'mm') month,
to_char(sysdate,'hh') hour,
to_char(sysdate,'mi') minute,
to_char(sysdate,'ss') second
from dual
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/classes/cus_deposit/CUS_DEPOSIT106N/csh_transaction_maintain_query.lwm
0 → 100644
View file @
bf06dfbe
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/classes/cus_deposit/CUS_DEPOSIT106N/csh_transaction_return_query.lwm
0 → 100644
View file @
bf06dfbe
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 26887cz
$Date: 2021-10-14 下午03:16:44
$Revision: 1.0
$Purpose: 保证金退款打印
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select *
from (select
cr.return_id,
to_char(cr.return_date, 'yyyy-mm-dd') return_date,
cr.return_amount,
ct.period_name,
cr.opposite_band_na,
cr.bp_bank_account_num,
(select cp.description
from csh_payment_method cp
where cp.payment_method_id =
ct.payment_method_id) payment_method_display,
ct.exchange_rate,
ct.bank_slip_num,
(select gc.currency_name
from gld_currency_vl gc
where gc.currency_code = ct.currency_code),
(select tv.type_name
from gld_exchangerate_types_vl tv
where tv.type_code = ct.exchange_rate_type),
(select a.bank_account_code
from csh_bank_account a
where a.bank_account_id = ct.bank_account_id) bank_account_code,
(select a.bank_account_name
from csh_bank_account a
where a.bank_account_id = ct.bank_account_id) bank_account_name,
(select a.bank_account_num
from csh_bank_account a
where a.bank_account_id = ct.bank_account_id) bank_account_num,
(select a.bank_account_code
from hls_bp_master_bank_account a
where a.bank_account_id =
ct.bp_bank_account_id) bp_bank_account_code,
cr.bp_bank_account_name,
cr.notes description,
cr.csh_return_atm_id,
cr.csh_return_bp_id,
(select a.bp_name
from hls_bp_master a
where a.bp_id = cr.csh_return_bp_id) csh_return_bp_name,
(select hb.bp_code
from hls_bp_master hb, con_contract cc
where cc.contract_id = ct.ref_contract_id and hb.bp_id = cc.bp_id_tenant) bp_id_telnet_code,
(select hb.bp_name
from hls_bp_master hb, con_contract cc
where cc.contract_id = ct.ref_contract_id and hb.bp_id = cc.bp_id_tenant) bp_id_telnet_n,
(select cc.contract_number
from con_contract cc
where cc.contract_id = ct.ref_contract_id) contract_number,
(select a.bp_name
from hls_bp_master a
where a.bp_id = ct.bp_id) bp_agent_name,
nvl(cr.left_amount, 0) as left_amount
from csh_transaction ct, csh_transaction_return cr
where ct.transaction_id = cr.transaction_id
) v
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
</bm:model>
\ No newline at end of file
src/main/webapp/WEB-INF/classes/cus_deposit/CUS_DEPOSIT106N/hls_doc_file_templet_get_atm.lwm
0 → 100644
View file @
bf06dfbe
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: gaoyang
$Date: 2015-6-10 下午03:17:55
$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
faa.file_name,
faa.file_path,
faa.file_type_code,
(
CASE
WHEN document_table='CON_CONTRACT'
THEN
(SELECT
c.contract_number
FROM
con_contract c
WHERE
c.contract_id=to_number(${@document_id})
)
ELSE ''
END ) contract_number,
(
CASE
WHEN document_table='CON_CONTRACT'
THEN
(SELECT
c.bp_id_tenant_n
FROM
con_contract_lv c
WHERE
c.contract_id=to_number(${@document_id})
)
ELSE ''
END ) bp_id_tenant_n,
(
CASE
WHEN document_table='CON_CONTRACT'
THEN
(SELECT
p.project_number
FROM
con_contract c,
prj_project p
WHERE
p.project_id =c.project_id AND
c.contract_id=to_number(${@document_id})
)
ELSE ''
END ) project_number,
(SELECT
'Y'
FROM
fnd_atm_attachment_multi m1
WHERE
m1.table_name = 'HLS_DOC_FILE_CONTENT' AND
m1.table_pk_value = cc.content_id
) file_exists_flag,
(SELECT
faa.file_name
FROM
fnd_atm_attachment_multi m1,
fnd_atm_attachment faa
WHERE
m1.table_name = 'HLS_DOC_FILE_CONTENT' AND
m1.table_pk_value = cc.content_id AND
m1.attachment_id = faa.attachment_id
) download_file_name,
(SELECT
faa.file_path
FROM
fnd_atm_attachment_multi m1,
fnd_atm_attachment faa
WHERE
m1.table_name = 'HLS_DOC_FILE_CONTENT' AND
m1.table_pk_value = cc.content_id AND
m1.attachment_id = faa.attachment_id
) download_file_path,
(SELECT
m1.attachment_id
FROM
fnd_atm_attachment_multi m1
WHERE
m1.table_name = 'HLS_DOC_FILE_CONTENT' AND
m1.table_pk_value = cc.content_id
) download_attachment_id,
NVL(${/parameter/@to_file_name},faa.file_name) to_file_name,
lt.pwd,
cc.content_id,
(SELECT
cct.templet_code
FROM
con_clause_templet cct
WHERE
cct.templet_id=cc.templet_id
) templet_code,
faa.attachment_id
FROM
fnd_atm_attachment faa,
fnd_atm_attachment_multi m,
hls_doc_file_templet lt,
con_clause_templet t,
hls_doc_file_content cc
WHERE
faa.attachment_id = m.attachment_id AND
m.table_name = 'HLS_DOC_FILE_TEMPLET' AND
m.table_pk_value = lt.templet_id AND
lt.templet_id = t.doc_template_id AND
t.doc_plugin_flag = 'Y' AND
t.templet_id = cc.templet_id AND
(
cc.document_id =${@document_id} AND
cc.document_table =${@document_table} AND
${/parameter/@batch_flag}='Y'
) and rownum=1
]]>
</bm:query-sql>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
hls_doc_file_templet_pkg.init_hls_doc_file_content(
p_document_id =>
${/parameter/@document_id},
p_document_table =>${/parameter/@document_table},
p_user_id =>${/session/@user_id});
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field
name=
"file_name"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"FILE_NAME"
/>
<bm:field
name=
"file_path"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"FILE_PATH"
/>
<bm:field
name=
"file_type_code"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"FILE_TYPE_CODE"
/>
<bm:field
name=
"file_exists_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"FILE_EXISTS_FLAG"
/>
<bm:field
name=
"to_file_name"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"TO_FILE_NAME"
/>
<bm:field
name=
"pwd"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"PWD"
/>
<bm:field
name=
"content_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"CONTENT_ID"
/>
<bm:field
name=
"download_file_name"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"DOWNLOAD_FILE_NAME"
/>
<bm:field
name=
"download_file_path"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"DOWNLOAD_FILE_PATH"
/>
<bm:field
name=
"attachment_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
/>
<bm:field
name=
"download_attachment_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
/>
<bm:field
name=
"bp_id_tenant_n"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
<bm:field
name=
"contract_number"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
<bm:field
name=
"project_number"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
</bm:fields>
</bm:model>
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT106N/csh_return_detail_history_print.lsc
0 → 100644
View file @
bf06dfbe
This diff is collapsed.
Click to expand it.
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT106N/csh_transaction_return.lview
0 → 100644
View file @
bf06dfbe
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 26887cz
$Date: 2021-10-14 下午03:16:44
$Revision: 1.0
$Purpose: 保证金退款打印
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
trace=
"true"
>
<a:view>
<a:link
id=
"cus_deposit106_download_win_link"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<a:link
id=
"deposit_return_print_link"
url=
"${/request/@context_path}/modules/cus_deposit/CUS_DEPOSIT106N/csh_transaction_return_detail.lview"
/>
<a:link
id=
"insert_temp_info_link"
model=
"cus_deposit.CUS_DEPOSIT106N.csh_return_detail_execute"
modelaction=
"update"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function deposit_return_back() {
$('${/parameter/@winId}').close();
}
function deposit_return_query() {
$('csh_deposit_cashflow_grid_ds').query();
}
function deposit_return_print (){
var records = $('csh_deposit_cashflow_grid_ds').getSelected();
if (records.length == 0) {
Leaf.showMessage('提示', '请勾选需要打印的数据');
return;
}
var return_id = records[0].get('return_id');
for (var i = 1; i < records.length; i++) {
return_id = return_id+','+records[i].get('return_id');
}
Leaf.Masker.mask(Ext.getBody(), '执行中...');
Leaf.request({
url: $('insert_temp_info_link').getUrl(),
para: {
return_id: return_id
},
success: function (res) {
Leaf.Masker.unmask(Ext.getBody());
var url = $('deposit_return_print_link').getUrl();
new Leaf.Window({
id: 'deposit_return_print_link_winid',
params: {
winId: 'deposit_return_print_link_winid',
return_id: return_id
},
url: url,
title: '退款打印预览',
fullScreen: true
}).on('close',function(){
//deposit_return_query();
});
},
failure: function () {
Leaf.Masker.unmask(Ext.getBody());
},
error: function () {
Leaf.Masker.unmask(Ext.getBody());
},
scope: this
});
}
//附件上传
function upload_attachment_win(csh_return_atm_id) {
var win = new Leaf.Window({
id: 'cus_deposit106_download_win',
url: $('cus_deposit106_download_win_link').getUrl(),
params: {
winid: 'cus_deposit106_download_win',
table_name: 'CSH_TRANSACTION_RETURN',
header_id: csh_return_atm_id
},
width: 900,
hight: 400
}).on('close', function () {
//record.ds.query();
});
}
function attach_renderer(value) {
return '<a href="javascript:upload_attachment_win('+value+');">
' + '附件下载' + '
</a>
';
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"csh_transaction_deposit_return_maintain_ds"
autoCreate=
"true"
>
<a:fields>
<a:field
name=
"contract_number"
/>
<a:field
name=
"user_desc"
autoComplete=
"true"
lovGridHeight=
"300"
lovHeight=
"450"
lovService=
"basic.sys_user_for_lov"
lovWidth=
"500"
prompt=
"AUT_TRX_USER_AUTHORIZE.USER_ID"
title=
"员工选择"
>
<a:mapping>
<a:map
from=
"description"
to=
"user_desc"
/>
<a:map
from=
"user_id"
to=
"user_id"
/>
</a:mapping>
</a:field>
<a:field
name=
"return_date_from"
/>
<a:field
name=
"return_date_to"
/>
<a:field
name=
"this_return_amount_from"
/>
<a:field
name=
"this_return_amount_to"
/>
<a:field
name=
"left_amount_from"
/>
<a:field
name=
"left_amount_to"
/>
<a:field
name=
"bp_name_n"
/>
<a:field
name=
"bp_id_telnet_n"
/>
<a:field
name=
"bp_name"
lovGridHeight=
"350"
lovHeight=
"500"
lovService=
"basic.hls_bp_master_v_for_lov"
lovWidth=
"500"
title=
"HLS.BP_TITLE"
>
<a:mapping>
<a:map
from=
"bp_id"
to=
"bp_id"
/>
<a:map
from=
"bp_name"
to=
"bp_name"
/>
</a:mapping>
</a:field>
</a:fields>
</a:dataSet>
<a:dataSet
id=
"csh_deposit_cashflow_grid_ds"
fetchAll=
"true"
autoQuery=
"true"
model=
"cus_deposit.CUS_DEPOSIT106N.csh_deposit_cashflow_query"
queryDataSet=
"csh_transaction_deposit_return_maintain_ds"
queryUrl=
"${/request/@context_path}/autocrud/cus_deposit.CUS_DEPOSIT106N.csh_deposit_cashflow_query/query"
selectable=
"true"
selectionModel=
"multiple"
/>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:gridButton
id=
"deposit_return_back_id"
click=
"deposit_return_back"
text=
"HLS.EXIT"
/>
<a:gridButton
id=
"deposit_return_submit_id"
click=
"deposit_return_query"
text=
"HLS.QUERY"
/>
<a:gridButton
id=
"deposit_return_print_id"
click=
"deposit_return_print"
text=
"HLS.PRINT"
/>
</a:screenTopToolbar>
<a:form
labelWidth=
"120"
marginWidth=
"80"
title=
"HLS.QUERY_TITLE"
style=
"margin-left:20px"
>
<a:hBox>
<a:fieldSet
column=
"4"
labelWidth=
"150"
title=
"HLS.QUERY_TITLE"
>
<a:datePicker
name=
"return_date_from"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
prompt=
"经济业务发生日从"
/>
<a:datePicker
name=
"return_date_to"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
prompt=
"经济业务发生日到"
/>
<a:numberField
name=
"this_return_amount_from"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
prompt=
"CSH510.CSH_TRANSACTION.TRANSACTION_AMOUNT_FROM"
align=
"right"
/>
<a:numberField
name=
"this_return_amount_to"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
prompt=
"CSH510.CSH_TRANSACTION.TRANSACTION_AMOUNT_TO"
align=
"right"
/>
<a:numberField
name=
"left_amount_from"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
prompt=
"剩余可用金额从"
align=
"right"
/>
<a:numberField
name=
"left_amount_to"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
prompt=
"剩余可用金额到 "
align=
"right"
/>
<a:textField
name=
"bp_name_n"
prompt=
"退款用户"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
/>
<a:textField
name=
"bp_id_telnet_n"
prompt=
"承租人"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
/>
<!--对方账户户名-->
<a:textField
name=
"bp_bank_account_name"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
prompt=
"CSH510.CSH_TRANSACTION.YOUR_ACCOUNT_NAME"
/>
<!--对方银行名称-->
<a:textField
name=
"opposite_band_na"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
prompt=
"CSH510.CSH_TRANSACTION.YOUR_BANK_NAME"
/>
<!--对方账户账号-->
<a:textField
name=
"bank_account_num"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
prompt=
"CSH510.CSH_TRANSACTION.YOUR_ACCOUNT_USERNAME"
/>
<a:textField
name=
"contract_number"
prompt=
"合同编号"
bindTarget=
"csh_transaction_deposit_return_maintain_ds"
/>
</a:fieldSet>
</a:hBox>
</a:form>
<a:fieldSet
labelWidth=
"150"
title=
"退款信息"
style=
"margin-left:20px"
>
<a:grid
id=
"csh_deposit_cashflow_grid_ds_id"
bindTarget=
"csh_deposit_cashflow_grid_ds"
marginHeight=
"200"
marginWidth=
"80"
navBar=
"true"
>
<a:columns>
<a:column
name=
"bp_name_n"
prompt=
"退款用户"
width=
"200"
align=
"center"
/>
<a:column
name=
"contract_number"
prompt=
"合同编号"
width=
"110"
align=
"center"
/>
<a:column
name=
"bp_id_telnet_code"
prompt=
"承租人编码"
width=
"110"
align=
"center"
/>
<a:column
name=
"bp_id_telnet_n"
prompt=
"承租人名称"
width=
"110"
align=
"center"
/>
<a:column
name=
"return_date_n"
prompt=
"经济业务发生日"
align=
"center"
width=
"110"
/>
<a:column
name=
"this_return_amount"
prompt=
"退款金额"
width=
"100"
align=
"right"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"left_amount"
prompt=
"剩余可用金额"
width=
"100"
align=
"right"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"bp_bank_account_name"
prompt=
"对方账户户名"
width=
"150"
align=
"center"
/>
<a:column
name=
"opposite_band_na"
prompt=
"对方银行名称"
width=
"150"
align=
"center"
/>
<a:column
name=
"bank_account_num"
prompt=
"对方账户账号"
width=
"150"
align=
"center"
/>
<a:column
name=
"user_desc"
prompt=
"申请人"
width=
"110"
align=
"center"
/>
<a:column
name=
"journal_flag"
prompt=
"凭证是否生成"
width=
"100"
align=
"center"
/>
<a:column
name=
"csh_return_atm_id"
prompt=
"申请附件"
width=
"110"
align=
"center"
renderer=
"attach_renderer"
/>
</a:columns>
</a:grid>
</a:fieldSet>
</a:screenBody>
</a:view>
</a:screen>
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT106N/csh_transaction_return_detail.lview
0 → 100644
View file @
bf06dfbe
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 26887cz
$Date: 2021-10-14 下午03:16:44
$Revision: 1.0
$Purpose: 保证金退款打印
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
>
<a:view>
<a:link
id=
"check_csh_detail_sbo_id"
model=
"cus_deposit.CUS_DEPOSIT106N.csh_return_detail_execute"
modelaction=
"execute"
/>
<a:link
id=
"csh_return_detail_history_print_link_id"
url=
"${/request/@context_path}/modules/cus_deposit/CUS_DEPOSIT106N/csh_return_detail_history_print.lsc"
/>
<script>
<![CDATA[
function detail_exit() {
$('${/parameter/@winId}').close();
}
function sumFunction_foot(data,name){
var total=0;
var length=data.length;
var value=0;
for(var i=0;i<length;i++){
if(Ext.isEmpty(data[i].get(name))){
value=0;
}else{
value=data[i].get(name);
}
total=plus(total,value);
}
return '<font color=red>
' +Leaf.formatMoney(total)+ '
</font>
';
}
function detail_print() {
var return_id = '${/parameter/@return_id}';
Leaf.Masker.mask(Ext.getBody(), '检验sbo编号中...');
Leaf.request({
url: $('check_csh_detail_sbo_id').getUrl(),
para: {
document_id: return_id
},
success: function (res) {
var file_name = "保证金退款-";
debugger;
var url_l = $('csh_return_detail_history_print_link_id').getUrl() + '?file_name=' + encodeURI(file_name) + '
&document_table=CSH_DEPOSIT_TRANSACTION_RETURN&batch_flag=Y&source_type=common';
window.open(href = url_l, target = "_self");
Leaf.Masker.unmask(Ext.getBody());
},
failure: function () {
Leaf.Masker.unmask(Ext.getBody());
},
error: function () {
Leaf.Masker.unmask(Ext.getBody());
},
scope: this
});
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"csh_deposit_detail_grid_ds"
fetchAll=
"true"
autoQuery=
"true"
model=
"cus_deposit.CUS_DEPOSIT106N.csh_deposit_cashflow_query"
queryDataSet=
"csh_transaction_deposit_return_maintain_ds"
queryUrl=
"${/request/@context_path}/autocrud/cus_deposit.CUS_DEPOSIT106N.csh_deposit_cashflow_query/query?return_id=${/parameter/@return_id}"
/>
</a:dataSets>
<a:screenBody>
<a:hBox>
<a:button
click=
"detail_exit"
text=
"HLS.EXIT"
/>
<a:button
click=
"detail_print"
text=
"HLS.PRINT"
/>
</a:hBox>
<a:fieldSet
labelWidth=
"150"
title=
"退款信息"
style=
"margin-left:20px"
>
<a:grid
id=
"csh_deposit_detail_grid_ds_id"
bindTarget=
"csh_deposit_detail_grid_ds"
marginHeight=
"80"
marginWidth=
"80"
navBar=
"true"
>
<a:columns>
<a:column
name=
"bp_name_n"
prompt=
"退款用户"
width=
"200"
align=
"center"
/>
<a:column
name=
"contract_number"
prompt=
"合同编号"
width=
"110"
align=
"center"
/>
<a:column
name=
"bp_id_telnet_code"
prompt=
"承租人编码"
width=
"110"
align=
"center"
/>
<a:column
name=
"bp_id_telnet_n"
prompt=
"承租人名称"
width=
"110"
align=
"center"
/>
<a:column
name=
"return_date_n"
prompt=
"经济业务发生日"
align=
"center"
width=
"110"
/>
<a:column
name=
"this_return_amount"
prompt=
"退款金额"
width=
"100"
align=
"right"
footerRenderer=
"sumFunction_foot"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"left_amount"
prompt=
"剩余可用金额"
width=
"100"
align=
"right"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"bp_bank_account_name"
prompt=
"对方账户户名"
width=
"150"
align=
"center"
/>
<a:column
name=
"opposite_band_na"
prompt=
"对方银行名称"
width=
"150"
align=
"center"
/>
<a:column
name=
"bank_account_num"
prompt=
"对方账户账号"
width=
"150"
align=
"center"
/>
<a:column
name=
"user_desc"
prompt=
"申请人"
width=
"110"
align=
"center"
/>
<a:column
name=
"journal_flag"
prompt=
"凭证是否生成"
width=
"100"
align=
"center"
/>
<a:column
name=
"csh_return_atm_id"
prompt=
"申请附件"
width=
"110"
align=
"center"
renderer=
"attach_renderer"
/>
</a:columns>
</a:grid>
</a:fieldSet>
</a:screenBody>
</a:view>
</a:screen>
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT106N/cus_deposit_write_off_return_maintain.lview
0 → 100644
View file @
bf06dfbe
This diff is collapsed.
Click to expand it.
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