Commit 7aec2342 authored by 陆正友's avatar 陆正友

授信维护增加供应商

parent c9c78842
......@@ -48,6 +48,8 @@ $Purpose: 商业伙伴授信维护
link_function = 'on_business_tenant_detail_window';
}else if ( record.get('bp_category')=='AGENT'){
link_function = 'on_business_agent_detail_window';
}else if(record.get('bp_category')=='VENDER'){
link_function = 'on_business_tenant_detail_window';
}
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\');">' + value + '</a>';
}
......@@ -198,6 +200,17 @@ $Purpose: 商业伙伴授信维护
param['url_title'] = '商业伙伴授信详细';
hls_doc_get_layout_code('hn1150_get_layout_code_link_id', param, 'hls361_hls_bp_master_credit_agent_detail_link', null);
}
// //--供应商的详细信息
// function on_business_agent_detail_window(id, name) {
// //获得该条record的所有数据
// var record = window['${/parameter/@layout_code}_hls_link_render_record'][id + '---' + name];
// var param = record.data;
// param['function_code'] = 'HLS36103';
// param['function_usage'] = 'MODIFY';
// param['maintain_type'] = 'UPDATE';
// param['url_title'] = '商业伙伴授信详细';
// hls_doc_get_layout_code('hn1150_get_layout_code_link_id', param, 'hls361_hls_bp_master_credit_agent_detail_link', null);
// }
// //变更履历按钮
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment