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
f05e7d9c
Commit
f05e7d9c
authored
Oct 18, 2023
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
授信页面更改
parent
60744bc4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
7 deletions
+26
-7
hls_bp_master_credit.lview
...ain/webapp/modules/hls/HLS361N/hls_bp_master_credit.lview
+26
-7
No files found.
src/main/webapp/modules/hls/HLS361N/hls_bp_master_credit.lview
View file @
f05e7d9c
...
@@ -44,10 +44,14 @@ $Purpose: 商业伙伴授信维护
...
@@ -44,10 +44,14 @@ $Purpose: 商业伙伴授信维护
var link_function = '';
var link_function = '';
window['${/parameter/@bp_seq}${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
window['${/parameter/@bp_seq}${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if (name == 'bp_code' && value) {
if (name == 'bp_code' && value) {
if (record.get('bp_category')=='TENANT'){
if (record.get('bp_category')=='AGENT'){
link_function = 'on_business_tenant_detail_window';
}else if ( record.get('bp_category')=='AGENT'){
link_function = 'on_business_agent_detail_window';
link_function = 'on_business_agent_detail_window';
}else if ( record.get('bp_category')=='TENANT'){
link_function = 'on_business_tenant_detail_window';
}else if ( record.get('bp_category')=='VENDER'){
link_function = 'on_business_tenant_detail_window';
}else if ( record.get('bp_category')=='RENTER'){
link_function = 'on_business_tenant_detail_window';
}
}
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\');">
' + value + '
</a>
';
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\');">
' + value + '
</a>
';
}
}
...
@@ -70,10 +74,25 @@ $Purpose: 商业伙伴授信维护
...
@@ -70,10 +74,25 @@ $Purpose: 商业伙伴授信维护
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
//授信额度变更
//授信额度变更
var param={};
var param={};
var credit_ds=get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master_credit_hd');
var credit_ds=get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_CREDIT_HD', 'hls_bp_master_credit_hd');
var datas=$(credit_ds).selected;
var op_credit_ds=get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_CREDIT_OP', 'hls_bp_master_credit_hd');
if(datas.length!=1){
var credit_datas = $(credit_ds).selected;
$L.showInfoMessage("提示",'请选择要变更的数据',null,null)
var op_credit_datas = $(op_credit_ds).selected;
if(credit_datas == ''){
var datas=$(op_credit_ds).selected;
}else {
datas = $(credit_ds).selected;
}
if(credit_datas!=''
&&
op_credit_datas!=''){
$L.showErrorMessage("提示",'请勾选同一业务类型的单据进行授信确认操作!');
return;
}
if(datas.length==0){
$L.showInfoMessage("提示",'请选择要维护的数据',null,null)
return;
}
if(datas.length>1){
$L.showErrorMessage("提示",'只能选择一条数据进行维护!');
return;
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