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
e79eefd2
Commit
e79eefd2
authored
Aug 17, 2023
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
授信管理(经租)
parent
0a033a7c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
97 additions
and
63 deletions
+97
-63
hls_bp_master_create_record.lwm
...B-INF/classes/hls/HLS361N/hls_bp_master_create_record.lwm
+38
-37
credit_credit.lview
src/main/webapp/modules/hls/HLS361N/credit_credit.lview
+14
-0
hls_bp_mster_credit_record.lview
...bapp/modules/hls/HLS361N/hls_bp_mster_credit_record.lview
+3
-0
hls_bp_master_credit_confirm.lview
...pp/modules/hls/HLS362N/hls_bp_master_credit_confirm.lview
+42
-26
No files found.
src/main/webapp/WEB-INF/classes/hls/HLS361N/hls_bp_master_create_record.lwm
View file @
e79eefd2
...
...
@@ -7,7 +7,8 @@
hls_bp_master_credit_pkg.check_create_record(
p_bp_credit_hd_id =>
${@bp_credit_hd_id}
);
end;]]>
</bm:update-sql>
end;]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
...
...
@@ -22,11 +23,6 @@
hbm.bp_name bp_id_n,
rd.credit_total_amount,
rd.credit_type,
(select v.code_value_name
from sys_code_values_v v
where v.code = 'DS_CREDIT_TYPE'
and v.code_value = rd.credit_type) credit_type_n,
to_char(rd.credit_date_from,'yyyy-mm-dd')credit_date_from,
rd.credit_status,
(select code_value_name
...
...
@@ -38,7 +34,11 @@
to_char(rd.last_update_date,'yyyy-mm-dd')last_update_date,
(select description from sys_user s where s.user_id= rd.created_by)last_updated_by_desc,
(select description from sys_user s where s.user_id= rd.temp_user)temp_user_desc,
(select v.unit_name from exp_emp_assign_e_v v where v.unit_id = hbm.unit_id and rownum = 1) agent_name
(select v.unit_name from exp_emp_assign_e_v v where v.unit_id = hbm.unit_id and rownum = 1) agent_name,
hd.amount_type,
(SELECT code_value_name FROM sys_code_values_v where code='AMOUNT_TYPE_S' and code_value =hd.amount_type ) amount_type_n,
hd.credit_type,
(select code_value_name from sys_code_values_v where code='CREDIT_TYPE_S' and code_value=hd.credit_type) credit_type_n
from HLS_BP_MASTER_CREDIT_HD hd,
hls_bp_master hbm,
...
...
@@ -46,7 +46,8 @@
where hd.bp_id = hbm.bp_id
and hd.bp_credit_hd_id = rd.bp_credit_hd_id)v
#WHERE_CLAUSE#
]]>
</bm:query-sql>
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:data-filters>
...
...
src/main/webapp/modules/hls/HLS361N/credit_credit.lview
View file @
e79eefd2
...
...
@@ -37,6 +37,20 @@ $Purpose: 商业伙伴授信创建
};
//更新时调用
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function(ds, record, name, value, old_value, bp_seq){
var f_bp_create_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master_credit_hd');
if(f_bp_create_ds_id==ds.id){
if(record.get('credit_type')=='CAPITAL_LOAN_CREDIT'){
record.set('amount_type','CIRCULATION');
record.set('amount_type_n','循环');
}else if(record.get('credit_type')=='ASSET_PROCUREMENT') {
record.set('amount_type','IMMOBILIZATION');
record.set('amount_type_n','固定');
}
}
};
//保存成功后刷新页面credit_ds
// window['${/parameter/@layout_code}_on_layout_dynamic_submitsuccess'] = function(ds, record, res, bp_seq) {
// Leaf.SideBar.show({
...
...
src/main/webapp/modules/hls/HLS361N/hls_bp_mster_credit_record.lview
View file @
e79eefd2
...
...
@@ -31,7 +31,10 @@
<a:columns>
<a:column
name=
"bp_code"
prompt=
"授信对象编码"
align=
"center"
width=
"120"
/>
<a:column
name=
"bp_name"
prompt=
"授信对象名称"
align=
"center"
width=
"170"
/>
<a:column
name=
"bp_category_n"
prompt=
"授信对象类型"
align=
"center"
width=
"170"
/>
<a:column
name=
"agent_name"
prompt=
"代理店名称"
align=
"center"
width=
"170"
/>
<a:column
name=
"credit_type_n"
prompt=
"授信类型"
align=
"center"
width=
"170"
/>
<a:column
name=
"amount_type_n"
prompt=
"额度类型"
align=
"center"
width=
"170"
/>
<a:column
name=
"credit_total_amount"
prompt=
"授信总额度"
align=
"center"
width=
"200"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"credit_date_from"
prompt=
"授信日期从"
align=
"center"
width=
"120"
/>
<a:column
name=
"credit_date_to"
prompt=
"授信日期到"
width=
"110"
align=
"center"
/>
...
...
src/main/webapp/modules/hls/HLS362N/hls_bp_master_credit_confirm.lview
View file @
e79eefd2
...
...
@@ -54,9 +54,17 @@ $Purpose: 商业伙伴授信维护
var saveData = [];
//角色判断
//002 营业本部长
for (var i = 0; i
< datas.length
;
i++){
if(
user_code=
=''||user_code==undefined){
$L.showInfoMessage("提示",'只有营业本部长才能操作数据!');
return;
}else
if
(
user_code =
='9065'
&&
datas[i].get('bp_category')!='RENTER'
){
$L.showInfoMessage("提示",'当前用户只能选择<font
color=
"red"
>
'+'租赁商'+'
</font>
类型进行授信操作');
return;
}else if (user_code =='003'
&&
datas[i].get('bp_category')=='RENTER'){
$L.showInfoMessage("提示",'当前用户只能选择
<font
color=
"red"
>
'+'非租赁商'+'
</font>
类型进行授信操作');
return;
}
}
if(datas.length
<1
){
$L.showInfoMessage("提示",'请选择数据',null,null)
...
...
@@ -108,10 +116,18 @@ $Purpose: 商业伙伴授信维护
var
param =
{};
var
saveData =
[];
//角色判断
//
002
营业本部长
//002
营业本部长
for
(var
i =
0;
i
<
datas.length;
i++){
if(
user_code=
=''||user_code==undefined){
$L.showInfoMessage("提示",'只有营业本部长才能操作数据!');
return;
}else
if
(
user_code =
='9065'
&&
datas[i].get('bp_category')!='RENTER'
){
$L.showInfoMessage("提示",'当前用户只能选择<font
color=
"red"
>
'+'租赁商'+'
</font>
类型进行授信操作');
return;
}else if (user_code =='003'
&&
datas[i].get('bp_category')=='RENTER'){
$L.showInfoMessage("提示",'当前用户只能选择
<font
color=
"red"
>
'+'非租赁商'+'
</font>
类型进行授信操作');
return;
}
}
if(datas.length
<1
){
$L.showInfoMessage("提示",'请选择一条数据',null,null)
...
...
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