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
031939f2
Commit
031939f2
authored
Jun 03, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
授信管理(经租)工作流改造
parent
8c5ee931
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
hls_bp_master_credit_confirm.lview
...pp/modules/hls/HLS362N/hls_bp_master_credit_confirm.lview
+16
-10
No files found.
src/main/webapp/modules/hls/HLS362N/hls_bp_master_credit_confirm.lview
View file @
031939f2
...
@@ -133,21 +133,27 @@ $Purpose: 商业伙伴授信维护
...
@@ -133,21 +133,27 @@ $Purpose: 商业伙伴授信维护
//驳回单据.
//驳回单据.
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click']
=
function()
{
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click']
=
function()
{
var
credit_ds=
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'hls_bp_master_credit_hd');
debugger;
var
datas=
$(credit_ds).selected;
var
credit_ds=
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_CREDIT_HD',
'hls_bp_master_credit_hd');
var
op_credit_ds=
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_CREDIT_OP',
'hls_bp_master_credit_hd');
var
credit_datas =
$(credit_ds).selected;
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;
}
var
param =
{};
var
param =
{};
var
saveData =
[];
var
saveData =
[];
//角色判断
//角色判断
//002
营业本部长
//002
营业本部长
for
(var
i =
0;
i
<
datas.length;
i++){
for
(var
i =
0;
i
<
datas.length;
i++){
if(
user_code=
=''||user_code==undefined){
if(
user_code=
=''||user_code==undefined){
$L.showInfoMessage("提示",'只有营业本部长才能操作数据!');
$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;
return;
}
}
}
}
...
@@ -159,7 +165,7 @@ $Purpose: 商业伙伴授信维护
...
@@ -159,7 +165,7 @@ $Purpose: 商业伙伴授信维护
for
(var
i =
0;
i
<
datas.length;
i++)
{
for
(var
i =
0;
i
<
datas.length;
i++)
{
//审批冻结判断
//审批冻结判断
var
credit_status=
datas[i].data.credit_status;
var
credit_status=
datas[i].data.credit_status;
if(credit_status!='APPROVING'){
if(credit_status!='APPROVING'
&&
credit_status!='APPROVING_OP'
){
$L.showInfoMessage("提示",'请选择状态为审批中的数据!',null,null)
$L.showInfoMessage("提示",'请选择状态为审批中的数据!',null,null)
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