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
ceaa43f9
Commit
ceaa43f9
authored
Jan 31, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产管理费代理店
parent
d2f89b6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
bp_agent_create.lview
src/main/webapp/modules/hls/HLS303/bp_agent_create.lview
+23
-0
bp_agent_modify.lview
src/main/webapp/modules/hls/HLS303/bp_agent_modify.lview
+1
-1
No files found.
src/main/webapp/modules/hls/HLS303/bp_agent_create.lview
View file @
ceaa43f9
...
...
@@ -341,12 +341,32 @@
}
}
//资产管理费
function open_asset_management(record_id, ds_id) {
debugger;
var record = $(ds_id).findById(record_id);
if(record.get('bp_id') == undefined || record.get('agent_division_id')==undefined){
$L.showMessage('提示','请先保存!');
return;
}
var param = {};
param['bp_id'] = record.get('bp_id');
param['agent_division_id'] = record.get('agent_division_id');
param['division'] = record.get('division');
param['function_code'] = 'HLS303_ASSET';
param['function_usage'] = 'MODIFY';
param['maintain_type'] = 'UPDATE';
param['winid'] = 'open_asset_create_window';
param['url_title'] = '资产管理费明细页面';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}asset_management_link',ds_id);
}
//超链接渲染
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function(value, record, name, config_record) {
debugger;
//
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if (name == 'attachment') {
...
...
@@ -391,6 +411,9 @@
} else {
return '
<a
href=
"javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + config_record.get('query_only') + '\');"
>
' + config_record.get('prompt') + '(' + record.get('attach_count') + ')' + '
</a>
';
}
}else if(name == 'management_flag'){
link_function = 'open_asset_management';
return '
<a
href=
"javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + record.ds.id + '\')"
>
' + '明细' + '
</a>
';
}
};
...
...
src/main/webapp/modules/hls/HLS303/bp_agent_modify.lview
View file @
ceaa43f9
...
...
@@ -293,7 +293,7 @@
function open_asset_management(record_id, ds_id) {
debugger;
var record = $(ds_id).findById(record_id);
if(record.get('bp_id') ==
'undefined'
){
if(record.get('bp_id') ==
undefined || record.get('agent_division_id')==undefined
){
$L.showMessage('提示','请先保存!');
return;
}
...
...
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