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
df41606a
Commit
df41606a
authored
Jan 25, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产管理费报表开发
parent
88bbdf30
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
100 additions
and
1 deletion
+100
-1
csh_asset_fee_asset_grid_queryfields.js
...ript/layoutconfig/csh_asset_fee_asset_grid_queryfields.js
+11
-0
layout_config.js
...ebapp/WEB-INF/server-script/layoutconfig/layout_config.js
+2
-1
con_asset_fee.lview
src/main/webapp/modules/cont/CON1370/con_asset_fee.lview
+69
-0
con_asset_fee_detail.lview
...in/webapp/modules/cont/CON1370/con_asset_fee_detail.lview
+18
-0
No files found.
src/main/webapp/WEB-INF/server-script/layoutconfig/csh_asset_fee_asset_grid_queryfields.js
0 → 100644
View file @
df41606a
var
override_queryfields
=
[
{
name
:
'rent_date_from'
,
queryexpression
:
"t1.rent_date between to_date(${@rent_date_from},'yyyy-mm-dd') and nvl(to_date(${@rent_date_to},'yyyy-mm-dd'),t1.rent_date)"
},
{
name
:
'rent_date_to'
,
queryexpression
:
"t1.rent_date between nvl(to_date(${@rent_date_from},'yyyy-mm-dd'),t1.rent_date) and to_date(${@rent_date_to},'yyyy-mm-dd')"
}
];
override
();
\ No newline at end of file
src/main/webapp/WEB-INF/server-script/layoutconfig/layout_config.js
View file @
df41606a
...
...
@@ -348,5 +348,6 @@ var enableLayoutConfig = {
'modules/hls/HLS303/bp_asset_create.lview'
:
true
,
'modules/csh/CSH1500/csh_asset_reconciliation.lview'
:
true
,
'modules/csh/CSH501C/csh_payment_asset_create_entrance.lview'
:
true
,
'modules/csh/CSH501C/csh_payment_asset_req.lview'
:
true
'modules/csh/CSH501C/csh_payment_asset_req.lview'
:
true
,
'modules/cont/CON1370/con_asset_fee_detail.lview'
:
true
};
\ No newline at end of file
src/main/webapp/modules/cont/CON1370/con_asset_fee.lview
0 → 100644
View file @
df41606a
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 38823
$Date: 2023-01-23
$Revision: 1.0
$purpose: 资产管理费报表
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
</a:init-procedure>
<a:view>
<a:link
id=
"con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"csh_downloadFile_id"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<a:link
id=
"${/parameter/@layout_code}asset_fee_detail_link"
url=
"${/request/@context_path}/modules/cont/CON1370/con_asset_fee_detail.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function open_asset_fee_detail(record_id, ds_id) {
debugger;
var record = $(ds_id).findById(record_id);
var param = {};
param['function_code'] = 'CON1370N';
param['function_usage'] = 'QUERY';
param['contract_id'] = record.get('contract_id')
param['maintain_type'] = 'QUERY';
param['url_title'] = '明细';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}asset_fee_detail_link',ds_id);
}
//上传附件
function upload_csh_file(id,record_id) {
debugger;
var record = window['${/parameter/@layout_code}_hls_link_render_record'][id + '---' + name];
if(record_id == "undefined"){
var url = $('csh_downloadFile_id').getUrl();
}else {
url = $('csh_downloadFile_id').getUrl() + '?table_name=CSH_PAYMENT_REQ_ASSET_HD&header_id=' + record_id;
}
var win = new Leaf.Window({
url: url,
title: '${l:HLS.SUPPORTING_DOCUMENT}',
id: 'csh_attachment_uploadFile_id',
width: 850,
height: 400
});
win.on('close', function () {
//record.ds.query();
});
}
//超链接渲染
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record) {
debugger;
var link_function = '';
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if(name == 'have_payment'){
link_function = 'open_asset_fee_detail';
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + record.ds.id + '\')">
' + value + '
</a>
';
}
if(name == 'asset_file'){
link_function = 'upload_csh_file';
return '
<a
href=
"javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + record.get('payment_req_id') + '\')"
>
' + '附件' + '
</a>
';
}
};
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:screen>
src/main/webapp/modules/cont/CON1370/con_asset_fee_detail.lview
0 → 100644
View file @
df41606a
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 38823
$Date: 2023-01-24
$Revision: 1.0
$purpose: 资产管理费报表明细
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
</a:init-procedure>
<a:view>
<script
type=
"text/javascript"
>
<![CDATA[
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</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